From 1031174ed7446d22b3f5505ff3a4e84135b88cc3 Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 23 Nov 2015 20:34:06 -0600 Subject: refracter --- inc/Character.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'inc') 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 men, vector impassable); bool check(Location L, vector men, vector impassable); + void astar(vector men, vector impassable); + void wander(vector men, vector 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; -- cgit v1.2.3