S - the generic type of the state objectpublic interface IStateMachine<S>
IStateMachine.| Modifier and Type | Method and Description |
|---|---|
S |
getCurrentState()
Gets the current state.
|
void |
next()
Go to the next
State object. |
void |
previous()
Go to the previous
State object. |
void |
setCurrentState(S currentState)
Sets the current state.
|
S getCurrentState()
void next()
State object.void previous()
State object.void setCurrentState(S currentState)
currentState - the new current stateCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.