public class Ecologia
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static Ecologia |
eco |
private GUI |
gui |
private static boolean |
noGUI |
private java.lang.Thread |
runningThread |
private Simulator |
simulator |
private EcoTest |
tester |
static java.lang.String |
version |
Modifier | Constructor and Description |
---|---|
private |
Ecologia()
Ecologia implements Singleton, so the constructor is private.
|
Modifier and Type | Method and Description |
---|---|
private void |
autorun()
Perform an automatic run.
|
static Ecologia |
getInstance()
The Singleton method.
|
void |
iterate()
Perform one iteration of the simulation.
|
static void |
main(java.lang.String[] args)
Launch the program.
|
private static void |
printHelp()
Print a short help text when invoked from the commandline
|
void |
reset()
Reset the simulator in order to start a new run.
|
void |
run()
Run the simulation.
|
void |
startThread()
Start the simulation.
|
public static Ecologia eco
public static final java.lang.String version
private static boolean noGUI
private GUI gui
private Simulator simulator
private EcoTest tester
private java.lang.Thread runningThread
private Ecologia()
public static void main(java.lang.String[] args)
public static Ecologia getInstance()
private void autorun()
public void reset()
public void startThread()
public void run()
run
in interface java.lang.Runnable
public void iterate()
private static void printHelp()