예제 #1
0
 public MapRendererFactory(IEndlessGameProvider endlessGameProvider,
                           IRenderTargetFactory renderTargetFactory,
                           IMapEntityRendererProvider mapEntityRendererProvider,
                           ICharacterProvider characterProvider,
                           ICurrentMapProvider currentMapProvider,
                           IMapRenderDistanceCalculator mapRenderDistanceCalculator,
                           ICharacterRendererUpdater characterRendererUpdater,
                           INPCRendererUpdater npcRendererUpdater,
                           IDoorStateUpdater doorStateUpdater,
                           IChatBubbleUpdater chatBubbleUpdater,
                           IConfigurationProvider configurationProvider,
                           IMouseCursorRendererFactory mouseCursorRendererFactory)
 {
     _endlessGameProvider         = endlessGameProvider;
     _renderTargetFactory         = renderTargetFactory;
     _mapEntityRendererProvider   = mapEntityRendererProvider;
     _characterProvider           = characterProvider;
     _currentMapProvider          = currentMapProvider;
     _mapRenderDistanceCalculator = mapRenderDistanceCalculator;
     _characterRendererUpdater    = characterRendererUpdater;
     _npcRendererUpdater          = npcRendererUpdater;
     _doorStateUpdater            = doorStateUpdater;
     _chatBubbleUpdater           = chatBubbleUpdater;
     _configurationProvider       = configurationProvider;
     _mouseCursorRendererFactory  = mouseCursorRendererFactory;
 }
예제 #2
0
 public MapRenderer(IEndlessGame endlessGame,
                    IRenderTargetFactory renderTargetFactory,
                    IMapEntityRendererProvider mapEntityRendererProvider,
                    ICharacterProvider characterProvider,
                    ICurrentMapProvider currentMapProvider,
                    IMapRenderDistanceCalculator mapRenderDistanceCalculator,
                    ICharacterRendererUpdater characterRendererUpdater,
                    INPCRendererUpdater npcRendererUpdater,
                    IDoorStateUpdater doorStateUpdater,
                    IChatBubbleUpdater chatBubbleUpdater,
                    IConfigurationProvider configurationProvider)
     : base((Game)endlessGame)
 {
     _renderTargetFactory         = renderTargetFactory;
     _mapEntityRendererProvider   = mapEntityRendererProvider;
     _characterProvider           = characterProvider;
     _currentMapProvider          = currentMapProvider;
     _mapRenderDistanceCalculator = mapRenderDistanceCalculator;
     _characterRendererUpdater    = characterRendererUpdater;
     _npcRendererUpdater          = npcRendererUpdater;
     _doorStateUpdater            = doorStateUpdater;
     _chatBubbleUpdater           = chatBubbleUpdater;
     _configurationProvider       = configurationProvider;
 }