|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uwcse.sim.WorldModel | +--uwcse.sim.Fireworks
A subclass of WorldModel. Simply adds one canon to the simulation and a few views and then runs forever.
Fields inherited from class uwcse.sim.WorldModel |
cells, cellSize, count, DEFAULT_CELL_SIZE, EAST, NORTH, NORTHEAST, NORTHWEST, nursery, sleepTime, SOUTH, SOUTHEAST, SOUTHWEST, views, WEST |
Constructor Summary | |
Fireworks()
|
Method Summary | |
void |
init()
Add a canon and 3 views: graphics histogram, text histogram, and map view. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class uwcse.sim.WorldModel |
add, addView, birth, doTurn, getThings, getThings, getThings, getThings, go, go, map, notifyViews, remove, setSleepTime, size, toString |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Fireworks()
Method Detail |
public void init()
init
in class WorldModel
public static void main(java.lang.String[] args)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |