aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/poisonknight.h
blob: 13350d07534f621f74b859e2babd132a5371ab2b (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
#ifndef POISONKNIGHT_H
#define POISONKNIGHT_H

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

void createPoisonknight(int x, int y);

typedef struct {
	int id;
	double x, y;
	int dir;
	double imageIndex;
} Goop;

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

#endif