public MapRenderer(IEndlessGame endlessGame, IRenderTargetFactory renderTargetFactory, IMapEntityRendererProvider mapEntityRendererProvider, ICharacterProvider characterProvider, ICurrentMapProvider currentMapProvider, IMapRenderDistanceCalculator mapRenderDistanceCalculator, ICharacterRendererUpdater characterRendererUpdater, INPCRendererUpdater npcRendererUpdater, IDoorStateUpdater doorStateUpdater, IChatBubbleUpdater chatBubbleUpdater, IConfigurationProvider configurationProvider, IMouseCursorRenderer mouseCursorRenderer) : base((Game)endlessGame) { _renderTargetFactory = renderTargetFactory; _mapEntityRendererProvider = mapEntityRendererProvider; _characterProvider = characterProvider; _currentMapProvider = currentMapProvider; _mapRenderDistanceCalculator = mapRenderDistanceCalculator; _characterRendererUpdater = characterRendererUpdater; _npcRendererUpdater = npcRendererUpdater; _doorStateUpdater = doorStateUpdater; _chatBubbleUpdater = chatBubbleUpdater; _configurationProvider = configurationProvider; _mouseCursorRenderer = mouseCursorRenderer; }
public EndlessClientInitializer(IEndlessGame game, IEndlessGameRepository endlessGameRepository, IContentManagerRepository contentManagerRepository, IKeyboardDispatcherRepository keyboardDispatcherRepository, PacketHandlerGameComponent packetHandlerGameComponent, //Todo: refactor method injection to something like IEnumerable<IMethodInjectable> IMainButtonController mainButtonController, IAccountController accountController, ILoginController loginController, ICharacterManagementController characterManagementController, IChatController chatController, IControlSetFactory controlSetFactory, ICharacterInfoPanelFactory characterInfoPanelFactory, IHudControlsFactory hudControlsFactory) { _game = game; _endlessGameRepository = endlessGameRepository; _contentManagerRepository = contentManagerRepository; _keyboardDispatcherRepository = keyboardDispatcherRepository; _packetHandlerGameComponent = packetHandlerGameComponent; _mainButtonController = mainButtonController; _accountController = accountController; _loginController = loginController; _characterManagementController = characterManagementController; _chatController = chatController; _controlSetFactory = controlSetFactory; _characterInfoPanelFactory = characterInfoPanelFactory; _hudControlsFactory = hudControlsFactory; }
public CharacterStateTest(IEndlessGame baseGame, ICharacterRendererFactory characterRendererFactory, IEIFFileProvider eifFileProvider) : base((Game)baseGame) { _characterRendererFactory = characterRendererFactory; _eifFileProvider = eifFileProvider; _renderersForDifferentStates = new List <ICharacterRenderer>(12); }
public CharacterStateTest(IEndlessGame baseGame, ICharacterRendererFactory characterRendererFactory, IEIFFileProvider eifFileProvider) : base((Game)baseGame) { _characterRendererFactory = characterRendererFactory; _eifFileProvider = eifFileProvider; _itemIndices = ((ItemType[])Enum.GetValues(typeof(ItemType))).ToDictionary(k => k, v => 0); _renderersForDifferentStates = new List <ICharacterRenderer>(12); }
public PacketHandlerGameComponent(IEndlessGame game, IOutOfBandPacketHandler packetHandler) : base((Game)game) { _packetHandler = packetHandler; }