Allocate path with object pool for pathfinding
This commit is contained in:
@@ -20,6 +20,7 @@ typedef struct PathNode {
|
||||
typedef struct PathfindingDesc {
|
||||
TilePosition start;
|
||||
TilePosition target;
|
||||
BzObjectPool *pool;
|
||||
BzTileMap *map;
|
||||
PathNode *heap;
|
||||
Path *outPath;
|
||||
|
||||
Reference in New Issue
Block a user