001package headfirst.command.remote;
002
003public class LivingroomLightOnCommand implements Command {
004 Light light;
005
006 public LivingroomLightOnCommand(Light light) {
007 this.light = light;
008 }
009
010 public void execute() {
011 light.on();
012 }
013}