summaryrefslogtreecommitdiff
path: root/inc/Character.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-11-22 15:21:30 -0600
committertom <tom@ground-control>2015-11-22 15:21:30 -0600
commit9f0de11816fdbd0981aeaa3a840e3942fd249eb4 (patch)
tree2a0a8f5ac36b249e09f13848b33ab40d4c42b943 /inc/Character.hpp
parent86bf68cc1f2cc81589acc2c35c4875a1230b0267 (diff)
cleaned up a little and added pausing, the location vector in list.*pp is overkill, should probably just be using the men vector for everything
Diffstat (limited to 'inc/Character.hpp')
-rw-r--r--inc/Character.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/Character.hpp b/inc/Character.hpp
index 607e8ea..3111154 100644
--- a/inc/Character.hpp
+++ b/inc/Character.hpp
@@ -12,7 +12,7 @@ class Character
{
public:
Character(char nSymbol, int nColor, Location L);
- void move(Location L){l.x=L.x;l.y=L.y;}
+ void move(Location L){l=L;}
void draw(WINDOW * w);
Location action(vector <Location> occupied);
bool check(Location L, vector <Location> occupied);