From 9d9c1d29dbcd802c89641b70b5574361e775c0e4 Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 23 Nov 2015 17:05:27 -0600 Subject: added collision of trees and map border --- 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 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 men); - bool check(Location L, vector men); + void action(vector men, vector impassable); + bool check(Location L, vector men, vector impassable); Location getLocation(){return l;} char getSymbol(){return symbol;} -- cgit v1.2.3