Renamed to random_walk since that's what it called. Closes #26.
This commit is contained in:
parent
769530b45c
commit
57d69015c2
3 changed files with 4 additions and 5 deletions
3
map.hpp
3
map.hpp
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue