diff options
author | tom <tom@ground-control> | 2015-11-18 19:59:47 -0600 |
---|---|---|
committer | tom <tom@ground-control> | 2015-11-18 19:59:47 -0600 |
commit | a760b9339a98281a8a1072d03dbf41f08eb696a6 (patch) | |
tree | f1e7958d297c55fdbc6daa1a8d1777cb1ca78fc6 /inc/Character.hpp |
shovelling
Diffstat (limited to 'inc/Character.hpp')
-rw-r--r-- | inc/Character.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/inc/Character.hpp b/inc/Character.hpp new file mode 100644 index 0000000..4e0869a --- /dev/null +++ b/inc/Character.hpp @@ -0,0 +1,19 @@ +#ifndef character_h +#define character_h + +class Character +{ + public: + Character(char nSymbol, int nRow, int nCol); + void move(int nRow, int nCol); + int getRow(); + int getCol(); + char getSymbol(); + + private: + char symbol; + int row; + int col; +}; + +#endif |