diff options
Diffstat (limited to 'inc/Character.hpp')
-rw-r--r-- | inc/Character.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/Character.hpp b/inc/Character.hpp index 4e0869a..f2753a9 100644 --- a/inc/Character.hpp +++ b/inc/Character.hpp @@ -1,11 +1,14 @@ #ifndef character_h #define character_h +#include <ncurses.h> + class Character { public: - Character(char nSymbol, int nRow, int nCol); + Character(char nSymbol, int nColor,int nRow, int nCol); void move(int nRow, int nCol); + void draw(WINDOW * w); int getRow(); int getCol(); char getSymbol(); @@ -14,6 +17,7 @@ class Character char symbol; int row; int col; + int color; }; #endif |