given_BaseTickLogic_BaseSimulationState

io.github.srs.model.logic.TimeLogic.given_BaseTickLogic_BaseSimulationState

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def tick(s: BaseSimulationState, delta: FiniteDuration): IO[BaseSimulationState]

Updates the simulation state by advancing the elapsed time by the given delta duration.

Updates the simulation state by advancing the elapsed time by the given delta duration.

Value parameters

delta

the duration to advance the elapsed time.

s

the current simulation state.

Attributes

Returns

an cats.effect.IO effect that produces the updated simulation state with the new elapsed time.