6 #include "game/camera.h"
7 #include "game/level/player.h"
8 #include "game/sound_samples.h"
10 typedef struct Goals Goals;
11 typedef struct LineStream LineStream;
13 Goals *create_goals_from_line_stream(LineStream *line_stream);
14 void destroy_goals(Goals *goals);
16 Rect goals_hitbox(const Goals *goals);
18 int goals_render(const Goals *goals,
20 int goals_sound(Goals *goals,
21 Sound_samples *sound_samples);
22 void goals_update(Goals *goals,
24 void goals_hide_from_player(Goals *goals,
26 void goals_checkpoint(const Goals *goals,
28 void goals_cue(Goals *goals,
29 const Camera *camera);
31 void goals_hide(Goals *goals, const char *id);
32 void goals_show(Goals *goals, const char *id);