Class Simulation

java.lang.Object
  |
  +--Simulation

public class Simulation
extends java.lang.Object

Marine Biology Simulation: A Simulation object controls a simulation of fish movement in an Environment.

See Also:
Environment, EnvDisplay

Constructor Summary
Simulation(Environment env, EnvDisplay display)
          Constructs a Simulation object for a particular environment.
 
Method Summary
 void step()
          Runs through a single step of this simulation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simulation

public Simulation(Environment env,
                  EnvDisplay display)
Constructs a Simulation object for a particular environment.
Parameters:
env - the environment on which the simulation will run
display - an object that knows how to display the environment
Method Detail

step

public void step()
Runs through a single step of this simulation.