issues
search
withaspirit
/
Elevator-Simulation
Elevator System Simulation project
1
stars
1
forks
source link
Doors Interrupted, Doors Stuck Behavior
#185
Closed
withaspirit
closed
2 years ago
withaspirit
commented
2 years ago
Adding the behavior for Doors Interrupted (untested)
Changes
Elevator: made attemptToOpenDoors and attemptToCloseDoors boolean
Elevator: added shutDownElevator method
Elevator: implemented DOORS_INTERRUPTED, DOORS_STUCK behavior
Elevator: added attemptToCloseDoors, attemptToOpenDoors logic to start and stop methods
Adding the behavior for Doors Interrupted (untested)
Changes