public void RequestCommand(CommandExecuter executer) { if (currentExecuter == commandExecuter && executer != null) { currentExecuter = executer; } }
public CommandManager() { active = false; currentLine = null; Position2 = Vector2.Zero; savedCommand = ""; commandExecuter = new CommandExecuter(); currentExecuter = commandExecuter; AddCommand("clear", ClearL); }
public void ReturnCommand() { currentExecuter = commandExecuter; }