AnyLogic
Expand
Font size
Enclosing class:
Elevator<A extends Agent>

public static interface Elevator.Call<T extends Agent>
Class describing elevator call at certain level

Method Summary

All Methods Instance Methods Abstract Methods 
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

Method Detail

getLevel

Level getLevel()
Returns level this call came from
Returns:
level this call came from

getDirection

ElevatorDirection getDirection()
Returns call direction. Valid values are:
  • ELEVATOR_DIRECTION_UP
  • ELEVATOR_DIRECTION_DOWN
Returns:
call direction

getWaitingPeds

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