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

            commandExecuter = new CommandExecuter();
            currentExecuter = commandExecuter;

            AddCommand("clear", ClearL);
        }
Esempio n. 3
0
 public void ReturnCommand()
 {
     currentExecuter = commandExecuter;
 }