6 #include "game/camera.h"
7 #include "game/level/player.h"
8 #include "game/sound_samples.h"
11 typedef struct Goals Goals;
12 typedef struct LineStream LineStream;
13 typedef struct PointLayer PointLayer;
15 Goals *create_goals_from_line_stream(LineStream *line_stream);
16 Goals *create_goals_from_point_layer(const PointLayer *point_layer);
17 void destroy_goals(Goals *goals);
19 Rect goals_hitbox(const Goals *goals);
21 int goals_render(const Goals *goals,
22 const Camera *camera);
23 int goals_sound(Goals *goals,
24 Sound_samples *sound_samples);
25 void goals_update(Goals *goals,
27 void goals_checkpoint(const Goals *goals,
29 void goals_cue(Goals *goals,
30 const Camera *camera);
32 void goals_hide(Goals *goals, char goal_id[ENTITY_MAX_ID_SIZE]);
33 void goals_show(Goals *goals, char goal_id[ENTITY_MAX_ID_SIZE]);