blob: 3b6d67d667ced855c67a33467661285b675d6d59 (
plain)
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
27
28
|
#ifndef DEVIL_H
#define DEVIL_H
typedef struct {
int id;
double x, y;
double ystart, newystart;
double hsp;
int hp;
int state, timer;
int blink;
int boblen, bobspd;
double tailangle, bobcounter, rotcounter, rotspd;
double imageIndex;
} Devil;
void createDevil(int x, int y);
typedef struct {
int id;
double x, y;
double dir;
double imageIndex;
} Orb;
void createOrb(int x, int y, double dir);
#endif
|