public abstract class StateTransition extends Object
State
.
It is possible to listen to InputDevice
, by implementing children of
StateTransitionInputChecker
.
State
,
StateTransitionInputChecker
Modifier | Constructor and Description |
---|---|
protected |
StateTransition(Enum<?> state)
Create the transition.
|
Modifier and Type | Method and Description |
---|---|
void |
exit()
Called when transition has been performed.
|
Enum<?> |
getNext()
Get the next state after the transition.
|
protected StateTransition(Enum<?> state)
state
- The state enum.public void exit()
public Enum<?> getNext()
Copyright © 2017 Byron 3D Games Studio. All rights reserved.