|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uwcse.sim.WorldModel | +--uwcse.sim.OilSpill
OilSpill is the simulation driver. It seeds the world with a tanker, fish, and algae and then runs it for 600 cycles. Students can expiriment with smart fish, or bacteria that eats algae, and so on....
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 | |
OilSpill()
|
Method Summary | |
void |
init()
Seed the world with a tanker, algae, fish, and smart fish. |
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 OilSpill()
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 |