aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/pumpkin.h
blob: 6a2b87c91b5eb660844bd63dadc84e792f8b788d (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 PUMPKIN_H
#define PUMPKIN_H

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

void createPumpkinenemy(int x, int y);

typedef struct {
	int id;
	int dir;
	double x, y;
	double vsp;
	double imageIndex;
	int state, timer;
} Pumpkinhead;

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

#endif