blob: 4eeb1d7dc2a18ff7ce2337f45e4133bfa17fb281 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef YETI_H
#define YETI_H
#include <vector>
using namespace std;
class yeti
{
public:
void moveleft();
void moveright();
void moveup();
void movedown();
yeti(int, int, int, int);
void movetowards(int, int, vector<yeti>, int);
int xpos();
int ypos();
int setx(int);
int sety(int);
private:
int x;
int y;
int sizex;
int sizey;
int absolute(int);
};
#endif
|