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, stopConditionprotected AntHill antHill
protected void onDraw(java.awt.Graphics2D graphics2d)
DrawableUIonDraw in class DrawableUIgraphics2d - Object used for drawing on the canvas