public UnitSelectActionState(IGameBattle gameBattle, IGameMap gameMap, IGameUnit unit, IUnitActionWindow unitActionWindow, IInputStateFactory inputStateFactory)
        {
            _gameBattle       = gameBattle;
            _gameMap          = gameMap;
            _unit             = unit;
            _unitActionWindow = unitActionWindow;

            _inputStateFactory = inputStateFactory;
        }
Пример #2
0
        public InputStateFactory(
            IGameBattle gameBattle,
            IGameMap gameMap,
            IUnitSummaryWindow unitSummaryWindow,
            IUnitDetailsWindow unitDetailsWindow,
            IUnitActionWindow unitActionWindow,
            IUnitAbilitiesWindow selectedUnitAbilitiesWindow,
            IEndPhaseWindow endPhaseWindow)
        {
            _gameBattle = gameBattle;
            _gameMap    = gameMap;

            _unitSummaryWindow   = unitSummaryWindow;
            _unitDetailsWindow   = unitDetailsWindow;
            _unitActionWindow    = unitActionWindow;
            _unitAbilitiesWindow = selectedUnitAbilitiesWindow;
            _endPhaseWindow      = endPhaseWindow;
        }