コード例 #1
0
        private void RemoveLateCommand(IGameCommand gameCommand)
        {
            var index = _lateTickCommands.IndexOf(gameCommand);

            _commands.RemoveAt(index);
            gameCommand.Dispose();
        }
コード例 #2
0
        private void RemoveCommand(IGameCommand gameCommand)
        {
            var index = _commands.IndexOfValue(gameCommand);

            _commands.RemoveAt(index);
            gameCommand.Dispose();
        }