A simple A* pathing function that works on maps, but I'll be changing it to do the GOAP pathing.

This commit is contained in:
Zed A. Shaw 2025-03-08 23:23:29 -05:00
parent 73b0600039
commit a34becdaeb
7 changed files with 133 additions and 10 deletions

View file

@ -20,7 +20,7 @@ namespace matrix {
} else if(cell == WALL_PATH_LIMIT) {
print("# ");
} else if(cell > 15) {
print("* ");
print("[{:x}]", cell);
} else {
print("{:x} ", cell);
}