|
AP® Computer Science Marine Biology Simulation | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Simulation
AP® Computer Science Marine Biology Simulation:
A Simulation
object controls a simulation of fish
movement in an Environment
.
The Simulation
class is
copyright© 2002 College Entrance Examination Board
(www.collegeboard.com).
Environment
,
EnvDisplay
,
Fish
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 |
public Simulation(Environment env, EnvDisplay display)
Simulation
object for a particular
environment.env
- the environment on which the simulation will rundisplay
- an object that knows how to display the environmentMethod Detail |
public void step()
|
AP® Computer Science Marine Biology Simulation | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |