Class StateMachine
java.lang.Object
de.gurkenlabs.litiengine.entities.behavior.StateMachine
- All Implemented Interfaces:
IUpdateable
- Direct Known Subclasses:
StateController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidupdate()This method is called by the game loop on all objects that are attached to the loop.
-
Constructor Details
-
StateMachine
protected StateMachine()
-
-
Method Details
-
getCurrentState
-
setState
-
update
public void update()Description copied from interface:IUpdateableThis method is called by the game loop on all objects that are attached to the loop. It's called on every tick of the loop and the frequency can be configured using theClientConfiguration.- Specified by:
updatein interfaceIUpdateable- See Also:
-