Пример #1
0
 public void Init(IInputHolder inputHolder, IArrowsVisibilityManager arrowsVisibilityManager,
                  IWeaponColorizer weaponColorizer, IGameContext gameContext, IUiConfig uiConfig)
 {
     _inputHolder             = inputHolder;
     _arrowsVisibilityManager = arrowsVisibilityManager;
     _weaponColorizer         = weaponColorizer;
     _gameContext             = gameContext;
     _uiConfig = uiConfig;
 }
Пример #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;
 }