The autowalker now uses the GOAP AI system to walk the map and do its thing. The code needs a big cleanup, so I might just do a full rewrite based on what I know now.

This commit is contained in:
Zed A. Shaw 2025-03-12 00:41:40 -04:00
parent fc66d221d4
commit ff81c78d13
3 changed files with 162 additions and 48 deletions

View file

@ -19,8 +19,7 @@ struct Autowalker {
bool path_player(Pathing& paths, Point &target_out);
Point get_current_position();
void rotate_player(Point current, Point target);
bool player_has_moved(Point target);
void process_move();
void process_move(Pathing& paths);
Pathing path_to_enemies();
Pathing path_to_items();
Pathing path_to_devices();