blob: f2753a90cd8391f0b256fb7fb7ef0dad1b91e2ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef character_h
#define character_h
#include <ncurses.h>
class Character
{
public:
Character(char nSymbol, int nColor,int nRow, int nCol);
void move(int nRow, int nCol);
void draw(WINDOW * w);
int getRow();
int getCol();
char getSymbol();
private:
char symbol;
int row;
int col;
int color;
};
#endif
|