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