Example #1
0
 public LoginController(ILoginActions loginActions,
                        IMapFileLoadActions mapFileLoadActions,
                        IFileRequestActions fileRequestActions,
                        IGameStateActions gameStateActions,
                        IChatTextBoxActions chatTextBoxActions,
                        IErrorDialogDisplayAction errorDisplayAction,
                        IFirstTimePlayerActions firstTimePlayerActions,
                        IMapChangedActions mapChangedActions,
                        ISafeNetworkOperationFactory networkOperationFactory,
                        IGameLoadingDialogFactory gameLoadingDialogFactory,
                        ICurrentMapStateProvider currentMapStateProvider,
                        IStatusLabelSetter statusLabelSetter)
 {
     _loginActions             = loginActions;
     _mapFileLoadActions       = mapFileLoadActions;
     _fileRequestActions       = fileRequestActions;
     _gameStateActions         = gameStateActions;
     _chatTextBoxActions       = chatTextBoxActions;
     _errorDisplayAction       = errorDisplayAction;
     _firstTimePlayerActions   = firstTimePlayerActions;
     _mapChangedActions        = mapChangedActions;
     _networkOperationFactory  = networkOperationFactory;
     _gameLoadingDialogFactory = gameLoadingDialogFactory;
     _currentMapStateProvider  = currentMapStateProvider;
     _statusLabelSetter        = statusLabelSetter;
 }
 public MainCharacterEventSubscriber(IStatusLabelSetter statusLabelSetter,
                                     IChatRepository chatRepository,
                                     ILocalizedStringFinder localizedStringFinder)
 {
     _statusLabelSetter     = statusLabelSetter;
     _chatRepository        = chatRepository;
     _localizedStringFinder = localizedStringFinder;
 }
Example #3
0
 public HudStateActions(IStatusLabelSetter statusLabelSetter,
                        IHudControlProvider hudControlProvider,
                        ICurrentMapStateRepository currentMapStateRepository,
                        IMapFileProvider mapFileProvider)
 {
     _statusLabelSetter         = statusLabelSetter;
     _hudControlProvider        = hudControlProvider;
     _currentMapStateRepository = currentMapStateRepository;
     _mapFileProvider           = mapFileProvider;
 }
 public ChatNotificationActions(IChatRepository chatRepository,
                                IHudControlProvider hudControlProvider,
                                ILocalizedStringFinder localizedStringFinder,
                                IStatusLabelSetter statusLabelSetter)
 {
     _chatRepository        = chatRepository;
     _hudControlProvider    = hudControlProvider;
     _localizedStringFinder = localizedStringFinder;
     _statusLabelSetter     = statusLabelSetter;
 }
Example #5
0
 public MapInteractionController(IMapActions mapActions,
                                 ICurrentMapStateProvider currentMapStateProvider,
                                 IStatusLabelSetter statusLabelSetter,
                                 IInventorySpaceValidator inventorySpaceValidator)
 {
     _mapActions = mapActions;
     _currentMapStateProvider = currentMapStateProvider;
     _statusLabelSetter       = statusLabelSetter;
     _inventorySpaceValidator = inventorySpaceValidator;
 }
Example #6
0
 public ControlKeyController(ICharacterProvider characterProvider,
                             IAttackValidationActions attackValidationActions,
                             ICharacterActions characterActions,
                             ICharacterAnimationActions characterAnimationActions,
                             IStatusLabelSetter statusLabelSetter)
 {
     _characterProvider         = characterProvider;
     _attackValidationActions   = attackValidationActions;
     _characterActions          = characterActions;
     _characterAnimationActions = characterAnimationActions;
     _statusLabelSetter         = statusLabelSetter;
 }
Example #7
0
 public WalkErrorHandler(IMapCellStateProvider mapCellStateProvider,
                         ICharacterProvider characterProvider,
                         IStatusLabelSetter statusLabelSetter,
                         ICurrentMapStateRepository currentMapStateRepository,
                         IUnlockDoorValidator unlockDoorValidator,
                         IEOMessageBoxFactory eoMessageBoxFactory,
                         IPacketSendService packetSendService)
 {
     _mapCellStateProvider      = mapCellStateProvider;
     _characterProvider         = characterProvider;
     _statusLabelSetter         = statusLabelSetter;
     _currentMapStateRepository = currentMapStateRepository;
     _unlockDoorValidator       = unlockDoorValidator;
     _eoMessageBoxFactory       = eoMessageBoxFactory;
     _packetSendService         = packetSendService;
 }
Example #8
0
 public HudControlsFactory(IHudButtonController hudButtonController,
                           IHudPanelFactory hudPanelFactory,
                           IMapRendererFactory mapRendererFactory,
                           IUserInputHandlerFactory userInputHandlerFactory,
                           INativeGraphicsManager nativeGraphicsManager,
                           IGraphicsDeviceProvider graphicsDeviceProvider,
                           IClientWindowSizeProvider clientWindowSizeProvider,
                           IEndlessGameProvider endlessGameProvider,
                           ICharacterRepository characterRepository,
                           ICurrentMapStateRepository currentMapStateRepository,
                           IKeyStateRepository keyStateRepository,
                           IStatusLabelSetter statusLabelSetter,
                           IStatusLabelTextProvider statusLabelTextProvider,
                           IContentManagerProvider contentManagerProvider,
                           IHudControlProvider hudControlProvider,
                           IChatModeCalculator chatModeCalculator,
                           IExperienceTableProvider experienceTableProvider)
 {
     _hudButtonController       = hudButtonController;
     _hudPanelFactory           = hudPanelFactory;
     _mapRendererFactory        = mapRendererFactory;
     _userInputHandlerFactory   = userInputHandlerFactory;
     _nativeGraphicsManager     = nativeGraphicsManager;
     _graphicsDeviceProvider    = graphicsDeviceProvider;
     _clientWindowSizeProvider  = clientWindowSizeProvider;
     _endlessGameProvider       = endlessGameProvider;
     _characterRepository       = characterRepository;
     _currentMapStateRepository = currentMapStateRepository;
     _keyStateRepository        = keyStateRepository;
     _statusLabelSetter         = statusLabelSetter;
     _statusLabelTextProvider   = statusLabelTextProvider;
     _contentManagerProvider    = contentManagerProvider;
     _hudControlProvider        = hudControlProvider;
     _chatModeCalculator        = chatModeCalculator;
     _experienceTableProvider   = experienceTableProvider;
 }