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()
FSM
public void setParent(FSM fsm)
FSM
public StateEngine getStateEngine()
FSM
getStateEngine
in interface FSM
Copyright © 2017 Oracle. All rights reserved.