summaryrefslogtreecommitdiff
path: root/inc/Character.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/Character.hpp')
-rw-r--r--inc/Character.hpp19
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