public BasicFovCalculator(IFovSquareOutlineCreator fovSquareOutlineCreator, IBasicFovPostprocessor basicFovPostprocessor, IRasterLineCreator rasterLineCreator) { _basicFovPostprocessor = basicFovPostprocessor; _fovSquareOutlineCreator = fovSquareOutlineCreator; _rasterLineCreator = rasterLineCreator; }
public Pathfinder(IOsnowaContextManager contextManager, INaturalLineCalculator naturalLineCalculator, IRasterLineCreator rasterLineCreator) { _contextManager = contextManager; _naturalLineCalculator = naturalLineCalculator; _rasterLineCreator = rasterLineCreator; _contextManager.ContextReplaced += InitializeAlgorithms; }
public Navigator(IPathfinder pathfinder, IGrid grid, INaturalLineCalculator naturalLineCreator, IRasterLineCreator rasterLineCreator, IUiFacade uiFacade) { _pathfinder = pathfinder; _grid = grid; _naturalLineCreator = naturalLineCreator; _rasterLineCreator = rasterLineCreator; _uiFacade = uiFacade; _debugPathPresenter = new DebugPathPresenter(); }
public void Init(GameContext context, IUiFacade uiFacade, IUnityGridInfoProvider unityGridInfoProvider, ITileMatrixUpdater tileMatrixUpdater, IRasterLineCreator rasterLineCreator, IGameConfig gameConfig, IInputWithRepeating inputWithRepeating) { _context = context; _uiFacade = uiFacade; _unityGridInfoProvider = unityGridInfoProvider; _tileMatrixUpdater = tileMatrixUpdater; _rasterLineCreator = rasterLineCreator; _gameConfig = gameConfig; _inputWithRepeating = inputWithRepeating; }
public ActivityCreationContext(INavigator navigator, IRandomNumberGenerator rng, IActionFactory actionFactory, ISceneContext sceneContext, IExampleContextManager contextManager, IGameConfig gameConfig, IEntityDetector entityDetector, ICalculatedAreaAccessor calculatedAreaAccessor, IUiFacade uiFacade, IRasterLineCreator rasterLineCreator, IPositionEffectPresenter positionEffectPresenter, IFriendshipResolver friendshipResolver, GameContext context) { Navigator = navigator; Rng = rng; ActionFactory = actionFactory; SceneContext = sceneContext; ContextManager = contextManager; GameConfig = gameConfig; EntityDetector = entityDetector; CalculatedAreaAccessor = calculatedAreaAccessor; UiFacade = uiFacade; RasterLineCreator = rasterLineCreator; PositionEffectPresenter = positionEffectPresenter; FriendshipResolver = friendshipResolver; Context = context; }
public NaturalLineCalculator(IRasterLineCreator rasterLineCreator) { _rasterLineCreator = rasterLineCreator; }