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