diff options
author | tom <tom@ground-control> | 2015-11-21 15:05:47 -0600 |
---|---|---|
committer | tom <tom@ground-control> | 2015-11-21 15:05:47 -0600 |
commit | f198372b1c9f5cccdfbfc6cf57d8716a53be5bc8 (patch) | |
tree | 56cec43c262d8c6ccb401f2d278444920295ec43 /src/Frame.cpp | |
parent | 7f79b2e216617ff74ebd41ac02663b20ef3d0904 (diff) |
some cleaning and collision fully implemented
Diffstat (limited to 'src/Frame.cpp')
-rw-r--r-- | src/Frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Frame.cpp b/src/Frame.cpp index 77c7063..a8403b7 100644 --- a/src/Frame.cpp +++ b/src/Frame.cpp @@ -49,12 +49,12 @@ 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)) |