Class Transition


  • public final class Transition
    extends java.lang.Object
    This represents an action, guard, and next state for a transition. Instances of this class may only be created by the StateEngine.
    • Field Detail

      • trueGuard

        private static Guard trueGuard
      • guard

        private Guard guard
      • action

        private Action action
      • nextState

        private State nextState
    • Constructor Detail

      • Transition

        Transition​(Action action,
                   State nextState)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getAction

        public Action getAction()
      • getGuard

        public Guard getGuard()
      • getNextState

        public State getNextState()