public class FSMImpl extends Object implements FSM
| Constructor and Description |
|---|
FSMImpl(StateEngine se,
State initialState) |
| Modifier and Type | Method and Description |
|---|---|
FSM |
getParent()
Get the parent state machine.
|
State |
getState()
Return the current state.
|
StateEngine |
getStateEngine()
Return the state engine used to create this FSM.
|
void |
setParent(FSM fsm)
Set the parent state machine.
|
void |
setState(State nextState)
Set the current state of this FSM.
|
public FSMImpl(StateEngine se, State initialState)
public FSM getParent()
FSMpublic void setParent(FSM fsm)
FSMpublic StateEngine getStateEngine()
FSMgetStateEngine in interface FSMCopyright © 2017 Oracle. All rights reserved.