public NoWayHostileControllerTests() { _freePossitionsMap = Mock.Create <IFreePossitionsMap>(); _unitInfoExternal = Mock.Create <IUnitInfoExternal>(); _baseActionController = new BaseActionControlleMock(); _grid = Mock.Create <IGrid>(); }
public NoWayHostileController( IFreePossitionsMap freePossitionsMap, IUnitInfoExternal unitInfo, IAdjacentPointsResolver adjacentPointsResolver, IBaseActionController baseActionController) { _freePossitionsMap = freePossitionsMap; _unitInfo = unitInfo; _baseActionController = baseActionController; _adjacentPointsResolver = adjacentPointsResolver; }
public FreePointToGoResolver( IAdjacentPointsResolver adjacentPointsResolver, IPathFinderController pathFinderController, IBaseActionController baseActionController, IOccupatedPossitionsMap occupatedPossitionsMap, IFreePossitionsMap freePossitionsMap) { _freePossitionsMap = freePossitionsMap; _adjacentPointsResolver = adjacentPointsResolver; _pathFinder = pathFinderController; _occupatedPossitionsMap = occupatedPossitionsMap; _baseActionController = baseActionController; }
public FreePointToGoResolverTests() { _pathFinderController = Mock.Create <IPathFinderController>(); _adjacentPointsResolver = Mock.Create <IAdjacentPointsResolver>(); _freePossitionsMap = Mock.Create <IFreePossitionsMap>(); _parameters = Mock.Create <IWayHostileControllerParameters>(); _freePointToGoResolver = new FreePointToGoResolver( _parameters, _adjacentPointsResolver, _pathFinderController, _freePossitionsMap); }