From 260589abf40d3a0d02c5c472467858cc4c151e6a Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 25 Nov 2015 16:05:41 -0600 Subject: allowed movement orders --- inc/Character.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/Character.hpp') 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 men, vector 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; -- cgit v1.2.3