aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/ghoul.h
blob: fd6db3ac4356a387061419abf30ea1e64197d1e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef GHOUL_H
#define GHOUL_H

#include "../collision.h"

typedef struct {
	int id;
	int hp;
	double x, y;
	double vsp, grav;
	int type;
	int onground;
	int dir;
	int state, timer, invincible;
	double imageIndex;
	
	Mask mask;
} Ghoul;

void createGhoul(int x, int y, int type);

#endif