diff options
author | tom <tom@ground-control> | 2015-11-23 17:05:27 -0600 |
---|---|---|
committer | tom <tom@ground-control> | 2015-11-23 17:05:27 -0600 |
commit | 9d9c1d29dbcd802c89641b70b5574361e775c0e4 (patch) | |
tree | bd66508d2db620db21db51c15276055d492297ea /inc/Character.hpp | |
parent | 8228cd7ef6156d87ccf33335466c86fa30dadd8b (diff) |
added collision of trees and map border
Diffstat (limited to 'inc/Character.hpp')
-rw-r--r-- | inc/Character.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/Character.hpp b/inc/Character.hpp index 1a7dcdd..a1fc7b7 100644 --- a/inc/Character.hpp +++ b/inc/Character.hpp @@ -14,8 +14,8 @@ class Character Character(char nSymbol, int nColor, Location L); void move(Location L){l=L;} void draw(WINDOW * w); - void action(vector <Character> men); - bool check(Location L, vector <Character> men); + void action(vector <Character> men, vector <Location> impassable); + bool check(Location L, vector <Character> men, vector <Location> impassable); Location getLocation(){return l;} char getSymbol(){return symbol;} |