io.github.srs.model.SimulationState
See theSimulationState companion object
final case class SimulationState(simulationTime: Option[FiniteDuration], elapsedTime: FiniteDuration, dt: FiniteDuration, simulationSpeed: SimulationSpeed, simulationRNG: RNG, simulationStatus: SimulationStatus, environment: ValidEnvironment) extends State
Simulation state case class that holds the current state of the simulation.
Value parameters
- dt
-
the time step for each simulation update.
- elapsedTime
-
the elapsed time since the start of the simulation.
- environment
-
the current environment of the simulation.
- simulationRNG
-
the random number generator used in the simulation.
- simulationSpeed
-
the speed at which the simulation is running.
- simulationStatus
-
the current status of the simulation.
- simulationTime
-
the current simulation time, if applicable.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article