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 classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HashMap<String,SimTypeProvider> Map of simulation types. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSimulation(Simulation simulation) voiddispose()Called when this screen should release all resources.voiddraw(float delta) voidstartNextSim(Simulation after) voidvoid
-
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.ScreenCalled when this screen should release all resources.
-