summaryrefslogtreecommitdiff
path: root/inc/Character.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/Character.hpp')
-rw-r--r--inc/Character.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/Character.hpp b/inc/Character.hpp
index 3c88ab2..f519c3f 100644
--- a/inc/Character.hpp
+++ b/inc/Character.hpp
@@ -23,9 +23,9 @@ class Character
void wander(vector <Character> men, vector <Location> impassable);
Location getLocation(){return l;}
char getSymbol(){return symbol;}
-
+ void giveOrder(Location L){d = L;order="move";}
private:
- string order = "move";
+ string order = "wander";
Location l; // current location
Location d; // destination
char symbol;