From a760b9339a98281a8a1072d03dbf41f08eb696a6 Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 18 Nov 2015 19:59:47 -0600 Subject: shovelling --- inc/Character.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 inc/Character.hpp (limited to 'inc/Character.hpp') 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 -- cgit v1.2.3