Package com.prineside.tdi2.screens
Class SimulationScreen
java.lang.Object
com.prineside.tdi2.Screen
com.prineside.tdi2.screens.SimulationScreen
- All Implemented Interfaces:
com.badlogic.gdx.Screen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.badlogic.gdx.scenes.scene2d.ui.Table
final com.badlogic.gdx.utils.DelayedRemovalArray<SimulationScreen.SimEntry>
com.badlogic.gdx.scenes.scene2d.ui.SelectBox.SelectBoxStyle
com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup
com.badlogic.gdx.scenes.scene2d.ui.SelectBox<String>
com.badlogic.gdx.scenes.scene2d.ui.TextField.TextFieldStyle
-
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
public final com.badlogic.gdx.utils.DelayedRemovalArray<SimulationScreen.SimEntry> runningSimulations -
simConfig
-
selectBoxStyle
public com.badlogic.gdx.scenes.scene2d.ui.SelectBox.SelectBoxStyle selectBoxStyle -
textFieldStyle
public com.badlogic.gdx.scenes.scene2d.ui.TextField.TextFieldStyle textFieldStyle -
simTypeSelect
-
formTable
public com.badlogic.gdx.scenes.scene2d.ui.Table formTable -
simCells
public com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup 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.
-