Package event
Interface StateChangeListener
public interface StateChangeListener
Defines a state transition callback for notification purposes.
If defined, the FSM will callback a listener when state change is complete.
The listener should implement the
StateChangeListener interface.-
Method Summary
Modifier and TypeMethodDescriptionvoidstateChanged(StateChangeEvent event) The callback for the FSM.
-
Method Details
-
stateChanged
The callback for the FSM. When a state change is complete, this method is invoked. Override this method to have state changes in tandem without intervening actions.- Parameters:
event-
-