public class GarageDoorOpenCommand extends java.lang.Object implements Command
Modifier and Type | Field and Description |
---|---|
(package private) GarageDoor |
garageDoor |
Constructor and Description |
---|
GarageDoorOpenCommand(GarageDoor garageDoor) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
GarageDoor garageDoor
public GarageDoorOpenCommand(GarageDoor garageDoor)