|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
took Drawable interface and changed it to allow for drawing Type display needed to update Repast to allow for 2 drawable types Interface for those objects in 2D spaces that wish to be drawn on a DisplaySurface by a Displayable. Typically agents will be implement this interface and thus when added to a space can be drawn when the space is drawn. Integers and other Numbers can be mapped to colors and drawn that way, so this interface does not apply to them.
| Method Summary | |
void |
drawType(uchicago.src.sim.gui.SimGraphics g)
Invoked when the object should draw itself |
int |
getX()
Gets the x coordinate of this drawable. |
int |
getY()
Gets the y coordinate of the this drawable. |
| Method Detail |
public void drawType(uchicago.src.sim.gui.SimGraphics g)
public int getX()
public int getY()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||