public interface FiniteStateMachineListener<S extends Enum<S>>
FiniteStateMachine.| Modifier and Type | Method and Description |
|---|---|
void |
onTransition(S stateFrom,
S stateTo)
Called during a state transition immediately before a
FiniteStateMachine
enters a particular state. |
void onTransition(S stateFrom, S stateTo)
FiniteStateMachine
enters a particular state.stateFrom - the state that the FiniteStateMachine is leavingstateTo - the state that the FiniteStateMachine is entering