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/Frame.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inc/Frame.hpp') diff --git a/inc/Frame.hpp b/inc/Frame.hpp index 4e4b57f..26a7364 100644 --- a/inc/Frame.hpp +++ b/inc/Frame.hpp @@ -27,15 +27,17 @@ class Frame void refresh(); void move(int nRow, int nCol); void center(Character &ch); + vector getImpassable(){return impassable;} private: int height, width; int row, col; bool hasSuper; - bool colored = false; + bool filled; WINDOW * w; WINDOW * super; vector m; + vector impassable; }; #endif -- cgit v1.2.3