uwcse.sim
Class Fireworks

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

public class Fireworks
extends WorldModel

A subclass of WorldModel. Simply adds one canon to the simulation and a few views and then runs forever.

Version:
$Id: Fireworks.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
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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Fireworks

public Fireworks()
Method Detail

init

public void init()
Add a canon and 3 views: graphics histogram, text histogram, and map view.
Overrides:
init in class WorldModel

main

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