|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.gisModel.GisBug
The Bugs that run about the RasterSpace. These bugs don't do anything but move.
| Constructor Summary | |
GisBug(RasterSpace space,
Object2DGrid world,
double x,
double y,
float randomMoveProb,
double maxDistance)
|
|
| Method Summary | |
void |
draw(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. |
void |
step()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GisBug(RasterSpace space,
Object2DGrid world,
double x,
double y,
float randomMoveProb,
double maxDistance)
| Method Detail |
public int getX()
Drawable
getX in interface Drawablepublic int getY()
Drawable
getY in interface Drawablepublic void step()
public void draw(SimGraphics g)
Drawable
draw in interface Drawable
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||