-
Method Summary
Modifier and Type |
Method |
Description |
boolean |
isOpen() |
Check to see if the door is open.
|
void |
setOpen(boolean isOpen) |
Configure this door to be either open or closed;
|
-
Method Details
-
boolean isOpen()
Check to see if the door is open.
- Returns:
- true if the door has swung counterclockwise around its hinge.
-
void setOpen(boolean isOpen)
Configure this door to be either open or closed;
- Parameters:
isOpen
- True to open the door.