From e63a678a8fdde888620b6d5a5059bd0f37141592 Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 25 Nov 2015 13:27:43 -0600 Subject: cleaned wander and added heuristic movement that doesnt work --- inc/Character.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'inc/Character.hpp') diff --git a/inc/Character.hpp b/inc/Character.hpp index 67fcfd2..f47589a 100644 --- a/inc/Character.hpp +++ b/inc/Character.hpp @@ -6,6 +6,8 @@ #include #include #include "Location.hpp" +#include +#include using namespace std; class Character @@ -16,7 +18,8 @@ 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 heuristic(vector men, vector impassable); + vector getLocal(Location L, vector men, vector impassable); void wander(vector men, vector impassable); Location getLocation(){return l;} char getSymbol(){return symbol;} @@ -29,6 +32,7 @@ class Character int row; int col; int color; +// vector open; }; #endif -- cgit v1.2.3