diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/Character.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/Character.hpp b/inc/Character.hpp index a1fc7b7..67fcfd2 100644 --- a/inc/Character.hpp +++ b/inc/Character.hpp @@ -16,12 +16,15 @@ class Character void draw(WINDOW * w); void action(vector <Character> men, vector <Location> impassable); bool check(Location L, vector <Character> men, vector <Location> impassable); + void astar(vector <Character> men, vector <Location> impassable); + void wander(vector <Character> men, vector <Location> impassable); Location getLocation(){return l;} char getSymbol(){return symbol;} private: string order = "wander"; - Location l; + Location l; // current location + Location d; // destination char symbol; int row; int col; |