Package | Description |
---|---|
io.elevator.building |
Shell Package
The building package encompasses the wrappers organizing components relating to the elevators hardware, including the building itself, the hoistway, and control panels representing the cabin, each floor, and the maintenance room |
io.elevator.main |
Main Package
The main package contains the main class ElevatorSimulator.java, needed to start the simulation as well and the algorithm the teams will design to control the elevator, with states displayed on a GUI This package also contains the BuildingControl.java file which contains the .run() method the teams must edit with their code. |
Modifier and Type | Method and Description |
---|---|
java.util.List<ControlPanel.FloorControlPanel> |
Building.getFloors()
The floors contains each floor of the building in a list, from floor 1 to floor n.
|
Modifier and Type | Method and Description |
---|---|
int |
ControlPanel.FloorControlPanel.compareTo(ControlPanel.FloorControlPanel other) |
Constructor and Description |
---|
Hoistway(java.util.List<ControlPanel.FloorControlPanel> floors)
Creates a basic hoistway.
|
MaintenanceControlPanel(int numOfFloors,
java.lang.Object floorChime,
java.lang.Object emergencyChime,
java.util.List<EnvironmentSensor.BooleanSensor> sensors,
java.util.List<ControlPanel.FloorControlPanel> floors)
The ControlPanel mainButtonsOnPanel stores the floor buttons [null, 1, ..., n] so that the button at index 1
will send you to floor 1.
|
Modifier and Type | Method and Description |
---|---|
javafx.scene.layout.StackPane |
ElevatorSimulator.createCabin(ControlPanel.FloorControlPanel f)
Created display for cabin
|
javafx.scene.layout.HBox |
ElevatorSimulator.createFKState(ControlPanel.FloorControlPanel f)
Created the display for the Fire key
|
javafx.scene.image.ImageView[] |
ElevatorSimulator.createHallButtons(ControlPanel.FloorControlPanel f)
Created the hall buttons shown dor display
|