Class Simulation

java.lang.Object
  |
  +--Simulation

public class Simulation
extends java.lang.Object

Aquarium Lab Series: The Simulation class defines a simulation of fish in an Aquarium. (Not implemented yet.)

Author:
Your Name
See Also:
Aquarium, AquaFish, Display

Constructor Summary
Simulation(Aquarium aquarium, Display d, int numFish)
          Construct and initialize a Simulation object.
 
Method Summary
 void run(int numSteps)
          Run the simulation for the specified number of steps.
 void step()
          Runs through one step of the simulation (without display).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simulation

public Simulation(Aquarium aquarium,
                  Display d,
                  int numFish)
Construct and initialize a Simulation object. (Not implemented yet.)
Parameters:
aquarium - simulation will act on fish in this aquarium
d - a Display object that will display aquarium and all its fish
Method Detail

run

public void run(int numSteps)
Run the simulation for the specified number of steps. (Not implemented yet.)

step

public void step()
Runs through one step of the simulation (without display). (Not implemented yet.)