public interface StateListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
StateListener.Type
The type of state listener to specify the behavior on loop transition.
|
| Modifier and Type | Method and Description |
|---|---|
StateListener.Type |
getType()
Get the listener type.
|
void |
onStateEnter(State previous,
Event event,
State current)
The state was entered.
|
void |
onStateExit(State current,
Event event,
State next)
The state was exited.
|
StateListener.Type getType()
void onStateEnter(State previous, Event event, State current)
previous - the previous stateevent - the eventcurrent - the current stateCopyright 2012-2013 Michal Turek, AnotherFSM.