public class AntViewer extends DrawableUI
Modifier and Type | Field and Description |
---|---|
protected AntHill |
antHill |
defaultSleep
Constructor and Description |
---|
AntViewer() |
Modifier and Type | Method and Description |
---|---|
protected void |
onDraw(java.awt.Graphics2D graphics2d)
This method is called when the canvas must be drawn again
|
cycle, getScheduler, onClick, onInitialConfiguration, onMouseDragged, start, stopCondition
protected AntHill antHill
protected void onDraw(java.awt.Graphics2D graphics2d)
DrawableUI
onDraw
in class DrawableUI
graphics2d
- Object used for drawing on the canvas