ClassicCityBuilderKit 1.8.8
|
fallback pathfinding that just returns a straight path from start to target
Classes | |
class | NoPathQuery |
Public Member Functions | |
WalkingPath | FindPath (Vector2Int[] starts, Vector2Int[] targets, object parameter=null) |
attempts to find a path between one of the starts and one of the ends | |
PathQuery | FindPathQuery (Vector2Int[] starts, Vector2Int[] targets, object tag=null) |
bool | HasPoint (Vector2Int point, object tag=null) |
checks if a point exists within the pathfinder for example points on map pathing that are blocked or points for road pathing that dont have a road | |
|
inline |
attempts to find a path between one of the starts and one of the ends
starts | collection of one or more possible start points |
targets | collection of one or more possible start points |
tag | additional pathfinding parameter(road type, walker info, ...) |
Implements CityBuilderCore.IPathfinder.
|
inline |
Implements CityBuilderCore.IPathfinder.
|
inline |
checks if a point exists within the pathfinder
for example points on map pathing that are blocked or points for road pathing that dont have a road
point | the map point to check |
tag | additional pathfinding parameter(road type, walker info, ...) |
Implements CityBuilderCore.IPathfinder.