Package simulation
Interface Drawable
- All Known Implementing Classes:
FastPopulationMember
,Obstacle
,PopulationMember
,SlowPopulationMember
public interface Drawable
Interface specifying ability to draw.
-
Method Summary
Modifier and Type Method Description void
draw(javafx.scene.canvas.GraphicsContext gc)
Function required to draw spmething on the screen.
-
Method Details
-
draw
void draw(javafx.scene.canvas.GraphicsContext gc)Function required to draw spmething on the screen.- Parameters:
gc
- JavaFx object of class class used to issue draw calls to a Canvas using a buffer.
-