public class AntViewerExample extends DrawableUI<AntHillExample>
defaultSleep, params
Constructor and Description |
---|
AntViewerExample(AntHillExample _amas) |
Modifier and Type | Method and Description |
---|---|
protected void |
onDraw(java.awt.Graphics2D graphics2d)
This method is called when the canvas must be drawn again
|
protected void |
onInitialConfiguration()
This method is called at the very beginning of the DrawableUI creation.
|
cycle, getAmas, getHeight, getScheduler, getWidth, onClick, onMouseDragged, onSchedulingStarts, onSchedulingStops, setSize, start, stopCondition
public AntViewerExample(AntHillExample _amas)
protected void onInitialConfiguration()
DrawableUI
onInitialConfiguration
in class DrawableUI<AntHillExample>
protected void onDraw(java.awt.Graphics2D graphics2d)
DrawableUI
onDraw
in class DrawableUI<AntHillExample>
graphics2d
- Object used for drawing on the canvas