public class ThreadTest.AgentPhaseDrawer extends DrawableUI<ThreadTest.MyAMAS>
params
DEFAULT_SLEEP
Constructor and Description |
---|
AgentPhaseDrawer(ThreadTest.MyAMAS 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
|
cycle, getAmas, getHeight, getScheduler, getWidth, onClick, onInitialConfiguration, onMouseDragged, onSchedulingStarts, onSchedulingStops, setSize, start, stopCondition
public AgentPhaseDrawer(ThreadTest.MyAMAS amas)
protected void onDraw(java.awt.Graphics2D graphics2d)
DrawableUI
onDraw
in class DrawableUI<ThreadTest.MyAMAS>
graphics2d
- Object used for drawing on the canvas