From 9f0de11816fdbd0981aeaa3a840e3942fd249eb4 Mon Sep 17 00:00:00 2001 From: tom Date: Sun, 22 Nov 2015 15:21:30 -0600 Subject: 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 --- inc/Character.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/Character.hpp') 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 occupied); bool check(Location L, vector occupied); -- cgit v1.2.3