Package com.prineside.tdi2.screens
Class SimulationScreen
java.lang.Object
com.prineside.tdi2.Screen
com.prineside.tdi2.screens.SimulationScreen
- All Implemented Interfaces:
Screen
,Disposable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HashMap<String,
SimTypeProvider> Map of simulation types. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSimulation
(Simulation simulation) void
dispose()
Called when this screen should release all resources.void
draw
(float delta) void
startNextSim
(Simulation after) void
void
-
Field Details
-
runningSimulations
-
SIM_TYPE_PROVIDERS
Map of simulation types. If you are writing your own sim, just put your sim provider here to make it visible on the simulation screen. -
simConfig
-
simTypeSelect
-
formTable
-
simCells
-
autoNextToggle
-
-
Constructor Details
-
SimulationScreen
public SimulationScreen()
-
-
Method Details
-
updateForm
public void updateForm() -
addSimulation
-
startNextSim
-
stopAllSimulations
public void stopAllSimulations() -
draw
public void draw(float delta) -
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.Screen
Called when this screen should release all resources.
-