Class VisitorState

java.lang.Object
org.simplesim.examples.elevator.shared.VisitorState
All Implemented Interfaces:
State

public final class VisitorState extends Object implements State
Class containing all relevant variables of the visitor state
  • Constructor Details

    • VisitorState

      public VisitorState()
  • Method Details

    • getActivity

      public VisitorState.ACTIVITY getActivity()
    • setActivity

      public void setActivity(VisitorState.ACTIVITY value)
    • getStartWaitingTime

      public Time getStartWaitingTime()
    • setStartWaitingTime

      public void setStartWaitingTime(Time value)
    • getCurrentFloor

      public int getCurrentFloor()
    • setCurrentFloor

      public void setCurrentFloor(int currFloor)
    • getDestinationFloor

      public int getDestinationFloor()
    • setDestinationFloor

      public void setDestinationFloor(int destFloor)
    • getCurrentMood

      public VisitorState.Mood getCurrentMood(Time simTime)