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