Class VisitorState
java.lang.Object
org.simplesim.examples.elevator.shared.VisitorState
- All Implemented Interfaces:
State
Class containing all relevant variables of the visitor state
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getCurrentMood
(Time simTime) int
void
setActivity
(VisitorState.ACTIVITY value) void
setCurrentFloor
(int currFloor) void
setDestinationFloor
(int destFloor) void
setStartWaitingTime
(Time value)
-
Constructor Details
-
VisitorState
public VisitorState()
-
-
Method Details
-
getActivity
-
getStartWaitingTime
-
setStartWaitingTime
-
getCurrentFloor
public int getCurrentFloor() -
setCurrentFloor
public void setCurrentFloor(int currFloor) -
getDestinationFloor
public int getDestinationFloor() -
setDestinationFloor
public void setDestinationFloor(int destFloor) -
getCurrentMood
-