public InvokerCommand(int num) { commands = new iCommand[num]; for (int i = 0; i < commands.Length; i++) { commands[i] = new NoCommand(); } }
public InvokerCommand() { commands = new iCommand[1]; commands[0] = new NoCommand(); }