diff options
author | tom <tom@ground-control> | 2015-11-23 20:34:06 -0600 |
---|---|---|
committer | tom <tom@ground-control> | 2015-11-23 20:34:06 -0600 |
commit | 1031174ed7446d22b3f5505ff3a4e84135b88cc3 (patch) | |
tree | af3a4ec1f990093017927eebb4a21a145835c6ca /inc | |
parent | 9d9c1d29dbcd802c89641b70b5574361e775c0e4 (diff) |
refracter
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; |