java.lang.Object
de.gurkenlabs.litiengine.entities.behavior.StateMachine
All Implemented Interfaces:
IUpdateable
Direct Known Subclasses:
StateController

public class StateMachine
extends java.lang.Object
implements IUpdateable
  • Constructor Summary

    Constructors 
    ModifierConstructorDescription
    protected StateMachine() 
  • Method Summary

    Modifier and TypeMethodDescription
    StategetCurrentState() 
    voidsetState​(State newState) 
    voidupdate()
    This method is called by the game loop on all objects that are attached to the loop.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait