6 #include "./game/sound_medium.h"
9 typedef struct goals_t goals_t;
11 goals_t *create_goals_from_stream(FILE *stream);
12 void destroy_goals(goals_t *goals);
14 rect_t goals_hitbox(const goals_t *goals);
16 int goals_render(const goals_t *goals,
17 SDL_Renderer *renderer,
18 const camera_t *camera);
19 int goals_sound(goals_t *goals,
20 sound_medium_t *sound_medium);
21 void goals_update(goals_t *goals,
23 void goals_hide(goals_t *goals,
24 rect_t player_hitbox);
25 void goals_checkpoint(const goals_t *goals,
27 void goals_cue(goals_t *goals,
28 SDL_Renderer *renderer,
29 const camera_t *camera);