blob: 4e0869af2b3f72c397cb59d369610c36dc479b2e (
plain)
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
|