Package com.anylogic.engine.markup
public static interface Elevator.Call<T extends Agent>
Class describing elevator call at certain level
ElevatorDirection |
getDirection() |
Returns call direction.
|
Level |
getLevel() |
Returns level this call came from
|
java.util.List<T> |
getWaitingPeds() |
Returns list of pedestrians waiting for elevator on the level to move in
specified direction
|
Modifier and Type | Method | Description |
---|
Level getLevel()
Returns level this call came from
- Returns:
- level this call came from
ElevatorDirection getDirection()
Returns call direction. Valid values are:
ELEVATOR_DIRECTION_UP
ELEVATOR_DIRECTION_DOWN
- Returns:
- call direction
java.util.List<T> getWaitingPeds()
Returns list of pedestrians waiting for elevator on the level to move in
specified direction
- Returns:
- list of pedestrians waiting for elevator on the level to move in specified direction