public void execute() {
   garageDoor.down();
 }
 public void execute() {
   garageDoor.up();
 }
 public void undo() {
   garageDoor.down();
 }
示例#4
0
 @Override
 public void execute() {
   garageDoor.open();
 }
示例#5
0
 public void undo() {
   door.down();
 }
示例#6
0
 public void execute() {
   door.up();
 }