blob: 15e2b593ea37a4b2f78275ba45efbcb4d996d43e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef CRAB_H
#define CRAB_H
#include "../collision.h"
typedef struct {
int id;
int hp, invincible;
double x, y;
double hsp, vsp;
double imageIndex;
int state, timer, counter;
Mask mask;
} Crab;
void createCrab(int x, int y);
typedef struct {
int id;
double x, y;
double angle;
double imageIndex;
Mask mask;
} Electricity;
void createElectricity(int x, int y, double angle, int minid);
#endif
|