public class ThreadTest.AgentPhaseDrawer extends DrawableUI<ThreadTest.MyAMAS>
paramsDEFAULT_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, stopConditionpublic AgentPhaseDrawer(ThreadTest.MyAMAS amas)
protected void onDraw(java.awt.Graphics2D graphics2d)
DrawableUIonDraw in class DrawableUI<ThreadTest.MyAMAS>graphics2d - Object used for drawing on the canvas