Class BirdSimulation
java.lang.Object
Simulation
BirdSimulation
- public class BirdSimulation
- extends Simulation
BirdSimulation
A flock of 10 birds investigate a mysterious egg,
which suddenly shows itself to be a monster!
Method Summary |
void |
endStep(int t)
End of step processing |
void |
setUp()
Set up the world with 10 birds and the mysterious egg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
egg
public EggAgent egg
myFrames
FrameSequence myFrames
BirdSimulation
public BirdSimulation()
setUp
public void setUp()
- Set up the world with 10 birds and the mysterious egg
- Overrides:
setUp
in class Simulation
endStep
public void endStep(int t)
- Description copied from class:
Simulation
- End of step processing
- Overrides:
endStep
in class Simulation
- Parameters:
t
- timestep count