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

#include "../collision.h"

typedef struct {
	int id;
	double x, y;
	double vsp, hsp, grav;
	int dir, onground;
	double imageIndex;
	int state, timer, hp;
	int blink;
	int tojump, jumptoggle;
	int flag;
	
	//Mask mask;
} Dodo;

void createDodo(int x, int y, int flag);

#endif