PathTile¶
- class PathTile(coord: Coordinate, dist: int = 0)¶
Bases:
TileA tile with distance information for pathfinding.
Has a location on a 2D grid, represented by a
Coordinate.- Parameters:
coord – The tile’s location
dist – Distance from the starting tile