001package headfirst.command.simpleremote;
002
003public class GarageDoorOpenCommand implements Command {
004        GarageDoor garageDoor;
005
006        public GarageDoorOpenCommand(GarageDoor garageDoor) {
007                this.garageDoor = garageDoor;
008        }
009
010        public void execute() {
011                garageDoor.up();
012        }
013}