Example #1
0
 public AiActionResolver(IGameContext gameContext, IGridInfoProvider gridInfoProvider, IRandomNumberGenerator rng,
                         IActionFactory actionFactory, INavigator navigator, IEntityDetector entityDetector, ITextEffectPresenter textEffectPresenter, IActiveNeedResolver activeNeedResolver, IClearWayBetweenTwoPointsDetector clearWayBetweenTwoPointsDetector)
 {
     _gameContext      = gameContext;
     _gridInfoProvider = gridInfoProvider;
     _rng                 = rng;
     _actionFactory       = actionFactory;
     _navigator           = navigator;
     _entityDetector      = entityDetector;
     _textEffectPresenter = textEffectPresenter;
     _activeNeedResolver  = activeNeedResolver;
     _clearWayBetweenTwoPointsDetector = clearWayBetweenTwoPointsDetector;
 }
Example #2
0
 public PlayerActionResolver(IEntityDetector entityDetector, IInputHolder inputHolder,
                             IActionFactory actionFactory, IArrowsVisibilityManager arrowsVisibilityManager, IWeaponColorizer weaponColorizer,
                             IClearWayBetweenTwoPointsDetector clearWayBetweenTwoPointsDetector, IGameContext gameContext, IUiConfig uiConfig, ITextEffectPresenter textEffectPresenter)
 {
     _entityDetector                   = entityDetector;
     _inputHolder                      = inputHolder;
     _actionFactory                    = actionFactory;
     _arrowsVisibilityManager          = arrowsVisibilityManager;
     _weaponColorizer                  = weaponColorizer;
     _clearWayBetweenTwoPointsDetector = clearWayBetweenTwoPointsDetector;
     _gameContext                      = gameContext;
     _uiConfig            = uiConfig;
     _textEffectPresenter = textEffectPresenter;
 }