blob: e44a998a8677583c854dc3ca01a87f3d868adc50 (
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
29
30
31
|
#ifndef GARM_H
#define GARM_H
typedef struct {
int id;
int hp;
double x, y;
double hsp, vsp;
int dir;
double imageIndex;
int state, timer, blink, counter;
int wallcounter, substate;
int targx;
} Garm;
void createGarm(int x, int y);
typedef struct {
int id;
int hp;
double x, y;
double vsp, hsp;
double imageIndex;
int counter;
int blink;
int inwall;
} Garmrock;
void createGarmrock(int x, int y, double hsp, double vsp);
#endif
|