protected internal virtual string execute(string[] args) { string result = ""; if (args.Length > 0) { CommandInterface commandInterface = (CommandInterface)this.commandList.get(args[0]); if (commandInterface != null) { result = commandInterface.execute(this, args); } else { result = "ERR CMD_NOT_FOUND"; } this.totalCommands++; } return(result); }
public void gameLoad() { Debug.Log("in )conc invoker.gameload"); load.execute(); }
public void gameQuit() { Debug.Log("in )conc invoker.quit"); quit.execute(); }