summaryrefslogtreecommitdiff
path: root/inc/Frame.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-11-22 15:21:30 -0600
committertom <tom@ground-control>2015-11-22 15:21:30 -0600
commit9f0de11816fdbd0981aeaa3a840e3942fd249eb4 (patch)
tree2a0a8f5ac36b249e09f13848b33ab40d4c42b943 /inc/Frame.hpp
parent86bf68cc1f2cc81589acc2c35c4875a1230b0267 (diff)
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
Diffstat (limited to 'inc/Frame.hpp')
-rw-r--r--inc/Frame.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/inc/Frame.hpp b/inc/Frame.hpp
index cc87090..4e4b57f 100644
--- a/inc/Frame.hpp
+++ b/inc/Frame.hpp
@@ -16,13 +16,13 @@ class Frame
Frame(string location, int nRow, int nCol); // main window with seeded map
Frame(Frame &super, int rows, int cols, int nRow, int nCol); // viewport
~Frame();
- WINDOW * getWin();
- WINDOW * getSuper();
- bool getHasSuper();
- int getHeight();
- int getWidth();
- int getRow();
- int getCol();
+ WINDOW * getWin(){return w;}
+ WINDOW * getSuper(){return super;}
+ bool getHasSuper(){return hasSuper;}
+ int getHeight(){return height;}
+ int getWidth(){return width;}
+ int getRow(){return row;}
+ int getCol(){return col;}
void fillWindow();
void refresh();
void move(int nRow, int nCol);