aboutsummaryrefslogtreecommitdiff
path: root/src/enemies/bat.h
blob: bd42156a90b85fac77ae73b30785a8922d54d2c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef BAT_H
#define BAT_H

typedef struct {
	int id;	
	double x, y;
	int xstart, ystart;
	int type; //0 = gray | 1 = red
	int dir;
	double imageIndex;
	int counter, timer, state;
} Bat;

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

#endif