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

            commandExecuter = new CommandExecuter();
            currentExecuter = commandExecuter;

            AddCommand("clear", ClearL);
        }
コード例 #3
0
 public void ReturnCommand()
 {
     currentExecuter = commandExecuter;
 }