uwcse.sim
Class OilSpill

java.lang.Object
  |
  +--uwcse.sim.WorldModel
        |
        +--uwcse.sim.OilSpill

public class OilSpill
extends WorldModel

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....

Version:
$Id: OilSpill.java,v 1.4 2001/10/01 03:12:00 chambers Exp $

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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OilSpill

public OilSpill()
Method Detail

init

public void init()
Seed the world with a tanker, algae, fish, and smart fish.
Overrides:
init in class WorldModel

main

public static void main(java.lang.String[] args)