aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/boomknight.h
blob: b93d31f6581e2f59181efebb0b08a45c89119af8 (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
#ifndef BOOMKNIGHT_H
#define BOOMKNIGHT_H

typedef struct {
	int id;
	int hp;
	int blink;
	double x, y;
	int dir;
	double imageIndex;
	int state, timer;
} Boomknight;

void createBoomknight(int x, int y);

typedef struct {
	int id;
	int dir;
	double x, y;
	double hsp;
	double imageIndex;
	int timer;
} Boom;

void createBoom(int x, int y, int dir);

#endif