public BattleEndCheckCommand(WorldModel worldModel, HistoryManager historyManager, UnitManager unitManager, ProjectileManager projectileManager,
                                     CommandProcessor commandProcessor

                                     )
        {
            _worldModel       = worldModel;
            _commandProcessor = commandProcessor;


            _commandProcessor.AddLateCommand(this);
        }
Пример #2
0
        public BattleEndCheckCommand(WorldModel worldModel, HistoryManager historyManager, UnitManager unitManager, ProjectileManager projectileManager,
                                     CommandProcessor commandProcessor, ResetService resetService

                                     )
        {
            _worldModel        = worldModel;
            _historyManager    = historyManager;
            _unitManager       = unitManager;
            _projectileManager = projectileManager;
            _commandProcessor  = commandProcessor;
            _resetService      = resetService;

            _commandProcessor.AddCommand(this);
        }