diff options
author | tom <tom@ground-control> | 2015-11-22 15:21:30 -0600 |
---|---|---|
committer | tom <tom@ground-control> | 2015-11-22 15:21:30 -0600 |
commit | 9f0de11816fdbd0981aeaa3a840e3942fd249eb4 (patch) | |
tree | 2a0a8f5ac36b249e09f13848b33ab40d4c42b943 /src/Frame.cpp | |
parent | 86bf68cc1f2cc81589acc2c35c4875a1230b0267 (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 'src/Frame.cpp')
-rw-r--r-- | src/Frame.cpp | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/Frame.cpp b/src/Frame.cpp index a8403b7..c63aeb4 100644 --- a/src/Frame.cpp +++ b/src/Frame.cpp @@ -44,27 +44,7 @@ Frame::~Frame() { delwin(w); } -/* -void Frame::add(Character &c) -{ - mvwaddch(w,c.getRow(),c.getCol(),c.getSymbol()); -} - -void Frame::erase(Character &c) -{ - mvwaddch(w,c.getRow(),c.getCol(),' '); -} -void Frame::add(Character &c, int nRow, int nCol) -{ - if((nRow >= 0 && nRow < height) && (nCol >= 0 && nCol < width)) - { - erase(c); - mvwaddch(w,nRow,nCol,c.getSymbol()); - c.move(nRow,nCol); - } -} -*/ void Frame::center(Character &ch) { if(hasSuper) @@ -148,42 +128,3 @@ void Frame::fillWindow() } wattroff(w,COLOR_PAIR(3)); } - -WINDOW * Frame::getWin() -{ - return w; -} - -WINDOW * Frame::getSuper() -{ - return super; -} - -bool Frame::getHasSuper() -{ - return hasSuper; -} - -int Frame::getHeight() -{ - return height; -} - -int Frame::getWidth() -{ - return width; -} - -int Frame::getRow() -{ - return row; -} - -int Frame::getCol() -{ - return col; -} - - - - |