summaryrefslogtreecommitdiff
path: root/inc/Frame.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-11-23 17:05:27 -0600
committertom <tom@ground-control>2015-11-23 17:05:27 -0600
commit9d9c1d29dbcd802c89641b70b5574361e775c0e4 (patch)
treebd66508d2db620db21db51c15276055d492297ea /inc/Frame.hpp
parent8228cd7ef6156d87ccf33335466c86fa30dadd8b (diff)
added collision of trees and map border
Diffstat (limited to 'inc/Frame.hpp')
-rw-r--r--inc/Frame.hpp4
1 files changed, 3 insertions, 1 deletions
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 <Location> getImpassable(){return impassable;}
private:
int height, width;
int row, col;
bool hasSuper;
- bool colored = false;
+ bool filled;
WINDOW * w;
WINDOW * super;
vector <string> m;
+ vector <Location> impassable;
};
#endif