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