Renamed to random_walk since that's what it called. Closes #26.

This commit is contained in:
Zed A. Shaw 2025-06-28 11:38:06 -04:00
parent 769530b45c
commit 57d69015c2
3 changed files with 4 additions and 5 deletions

View file

@ -50,8 +50,7 @@ public:
bool inmap(size_t x, size_t y);
bool iswall(size_t x, size_t y);
bool can_move(Point move_to);
// BUG: this isn't really neighbors anymore. Maybe move? Walk?
bool neighbors(Point &out, bool random=false, int direction=PATHING_TOWARD);
bool random_walk(Point &out, bool random=false, int direction=PATHING_TOWARD);
void make_paths();
void set_target(const Point &at, int value=0);