public InputAction(List<Keys> _KeysToWatchOn, Command _Command) { this.keysToWatchOn = _KeysToWatchOn; this.command = _Command; }
public int getCommandIndex(Command command) { return scheduledCommands.IndexOf(command); }
public void removeCommand(Command command) { removeCommand(getCommandIndex(command)); }
public void addCommand(Command command) { scheduledCommands.Add(command); }