001package headfirst.command.remote;
002
003public class CeilingFanOffCommand implements Command {
004        CeilingFan ceilingFan;
005
006        public CeilingFanOffCommand(CeilingFan ceilingFan) {
007                this.ceilingFan = ceilingFan;
008        }
009        public void execute() {
010                ceilingFan.off();
011        }
012}