#ifndef character_h #define character_h #include #include #include #include #include "Location.hpp" using namespace std; class Character { public: Character(char nSymbol, int nColor, Location L); void move(Location L){l=L;} void draw(WINDOW * w); void action(vector men, vector impassable); bool check(Location L, vector men, vector impassable); Location getLocation(){return l;} char getSymbol(){return symbol;} private: string order = "wander"; Location l; char symbol; int row; int col; int color; }; #endif