Revision 203
added bullet
ent.h | ||
---|---|---|
25 | 25 |
struct bullet; |
26 | 26 |
typedef struct bullet bullet_t; |
27 | 27 |
bullet_t* (bullet_ctor)(basic_sprite_t *b); |
28 |
void (bullet_dtor)(bullet_t *p); |
|
29 |
void (bullet_set_pos) (bullet_t *p, int16_t x, int16_t y); |
|
30 |
void (bullet_set_angle)(bullet_t *p, double angle ); |
|
31 |
double (bullet_get_x) (const bullet_t *p); |
|
32 |
double (bullet_get_y) (const bullet_t *p); |
|
33 |
int16_t (bullet_get_x_screen)(const bullet_t *p); |
|
34 |
int16_t (bullet_get_y_screen)(const bullet_t *p); |
|
35 |
void (bullet_draw)(bullet_t *p); |
|
28 | 36 |
|
29 | 37 |
#endif //ENT_H_INCLUDED |
Also available in: Unified diff