public void setCommand(int slot, Command cmd)
 {
     if (slot >= 0 && slot < _commandCount)
     {
         _commands[slot] = cmd;
     }
 }
Beispiel #2
0
 public MacroCommand(Command[] commands, Reciver reciver = null)
     : base(reciver)
 {
     _commands = commands;
 }