Beispiel #1
0
 public void unSetCommand(AbstractCommand c)
 {
     Console.WriteLine("撤回命令");
     if (abstractCommand.Contains(c))
     {
         abstractCommand.Remove(c);
     }
 }
Beispiel #2
0
 public void setCommand(AbstractCommand command)
 {
     this.command = command;
 }
Beispiel #3
0
 public void setCommand(AbstractCommand c)
 {
     Console.WriteLine("设置命令");
     abstractCommand.Add(c);
 }