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

            commandExecuter = new CommandExecuter();
            currentExecuter = commandExecuter;

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