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

typedef struct {
	int id;	
	double x, y;
	int type; //0 = blue | 1 = red | 2 = yellow
	int offset;
	double vsp, hsp, grav;
	double imageIndex;
	int counter, timer, state;
	int hp;	
} Slime;

void createSlime(int x, int y, int type, int offset);

#endif