Пример #1
0
 public PlayerCollisionController(IMessageBroker messageBroker, ZenjectSceneLoader sceneLoader,
                                  INavigationGridAgentCollectorService agentCollectorService, SceneOptions sceneOptions)
 {
     _messageBroker         = messageBroker;
     _sceneLoader           = sceneLoader;
     _agentCollectorService = agentCollectorService;
     _sceneOptions          = sceneOptions;
 }
 public GridNavigationController(IMessageBroker messageBroker, INavigationGridAgent gridAgent,
                                 IPathFindService pathFindService, IGraph graph, IPathVisualizer pathVisualizer, IPathAskView pathAskView,
                                 IPathIntersectionService pathIntersectionService,
                                 INavigationGridAgentCollectorService navigationGridAgentCollector)
 {
     _messageBroker                = messageBroker;
     _gridAgent                    = gridAgent;
     _pathFindService              = pathFindService;
     _graph                        = graph;
     _pathVisualizer               = pathVisualizer;
     _pathAskView                  = pathAskView;
     _pathIntersectionService      = pathIntersectionService;
     _navigationGridAgentCollector = navigationGridAgentCollector;
 }