1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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