Example #1
0
 public void RequestCommand(CommandExecuter executer)
 {
     if (currentExecuter == commandExecuter && executer != null)
     {
         currentExecuter = executer;
     }
 }
Example #2
0
        public CommandManager()
        {
            active       = false;
            currentLine  = null;
            Position2    = Vector2.Zero;
            savedCommand = "";

            commandExecuter = new CommandExecuter();
            currentExecuter = commandExecuter;

            AddCommand("clear", ClearL);
        }
Example #3
0
 public void ReturnCommand()
 {
     currentExecuter = commandExecuter;
 }