Class StateMachine<T>

java.lang.Object
com.ticxo.modelengine.api.utils.state.StateMachine<T>

public class StateMachine<T> extends Object
  • Field Details

    • currentNode

      protected StateNode<T> currentNode
  • Constructor Details

    • StateMachine

      public StateMachine()
  • Method Details

    • setEntryNode

      public void setEntryNode(StateNode<T> entryNode)
    • createNode

      public StateNode<T> createNode()
    • execute

      public void execute(T target)
    • getCurrentNode

      public StateNode<T> getCurrentNode()