Package | Description |
---|---|
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. |
io.elevator.simulator |
Shell Package
The simulator package contains the classes for the simulation thread thread that will run alongside the code the teams have written in BuildingControl.java |
Modifier and Type | Method and Description |
---|---|
javafx.scene.layout.FlowPane |
ElevatorSimulator.createCabinControlButtons(Building buildingMCP,
java.lang.Boolean isCCP)
Created the buttons on the cabin control panel
|
javafx.scene.layout.HBox |
ElevatorSimulator.createCCPPanel(Building building)
Created the Cabin Control Panel
|
javafx.scene.layout.HBox |
ElevatorSimulator.createCtrlPnlDrBtns(Building b)
Creates the buttons on the control panel in the cabin
|
javafx.scene.image.ImageView[] |
ElevatorSimulator.createHallLights(Building b,
java.lang.Boolean isMCP,
java.lang.Boolean isCCP,
java.lang.Integer id)
Creates the hall lights that are displayed in multiple places
|
javafx.scene.layout.VBox |
ElevatorSimulator.createLeftPanel(Building b)
Builds the left side of the panel
|
javafx.scene.layout.VBox |
ElevatorSimulator.createMCPPanel(Building buildingMCP)
Creates MCP for right side of display
|
javafx.scene.layout.VBox |
ElevatorSimulator.createRightPanel(Building b)
Creates the right side of our panel
|
Constructor and Description |
---|
BuildingControl(Building b) |
Constructor and Description |
---|
DemoSim(Building b,
long secondsWaitBetweenSteps) |
SimShell(long runTimeInSeconds,
Building b,
long userInteractionPeriod,
long emergencyPeriod,
long sensorHazardPeriod,
boolean quiet) |
Simulator(Building b,
long userInteractionPeriod,
long emergencyPeriod,
long sensorHazardPeriod,
boolean quiet) |