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

#include "../collision.h"

typedef struct {
	int id;
	double x, y;
	double imageIndex;
	int state, timer, visible;
	
	Mask mask;
} Wizard;

void createWizard(int x, int y);

void wizardStep(Wizard* w);
void wizardDraw(Wizard* w);

#endif