Class OnGrid

    • Constructor Summary

      Constructors 
      Constructor Description
      OnGrid()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void act()
      in this method everything should be executed what there is to do in this state.
      GridconSettings getGridconSettings()
      Getter for GridconSettings.
      IState getNextState()
      Depending on the circumstances the next state according to the state machine is returned.
      IState getState()
      Returns the corresponding state.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OnGrid

        public OnGrid()
    • Method Detail

      • getState

        public IState getState()
        Description copied from interface: StateObject
        Returns the corresponding state.
        Returns:
        the state
      • getNextState

        public IState getNextState()
        Description copied from interface: StateObject
        Depending on the circumstances the next state according to the state machine is returned.
        Returns:
        the next state
      • getGridconSettings

        public GridconSettings getGridconSettings()
        Description copied from interface: StateObject
        Getter for GridconSettings.
        Returns:
        the relevant settings for the gridcon