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

#include "../enemy.h"

typedef struct {
	int id, type;
	
	double x, y;
	int hp;
	int blink;
	int ystart, rot;
	double yoffset;
	double hsp, vsp, grav;
	
	double imageIndex;	
	int state, timer;
	int height;
} WaterJumper;

void createWaterJumper(int x, int y, int type, int offset, int height);

#endif