Class PoliticalSimulation
java.lang.Object
Simulation
PoliticalSimulation
- public class PoliticalSimulation
- extends Simulation
PoliticalSimulation -- using the Simulation class
Method Summary |
void |
endStep(int t)
EndStep, count the number of each |
String |
lineForFile()
lineForFile -- write out number of each party |
void |
setUp()
Fill the world with 60 persons |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoliticalSimulation
public PoliticalSimulation()
lineForFile
public String lineForFile()
- lineForFile -- write out number of each party
- Overrides:
lineForFile
in class Simulation
endStep
public void endStep(int t)
- EndStep, count the number of each
- Overrides:
endStep
in class Simulation
- Parameters:
t
- timestep count
setUp
public void setUp()
- Fill the world with 60 persons
- Overrides:
setUp
in class Simulation