View Source Ecspanse.Event.StateTransition (ECSpanse v0.10.0)
Special library event emitted upon a state change.
Examples
%Ecspanse.Event.StateTransition{
module: Demo.States.Game,
previous_state: :running,
current_state: :paused
}
Special library event emitted upon a state change.
%Ecspanse.Event.StateTransition{
module: Demo.States.Game,
previous_state: :running,
current_state: :paused
}