8 #include "./sound_medium.h"
10 #include "./platforms.h"
12 typedef struct player_t player_t;
14 player_t *create_player(float x, float y, color_t color);
15 player_t *create_player_from_stream(FILE *stream);
16 void destroy_player(player_t * player);
18 int player_render(const player_t * player,
19 SDL_Renderer *renderer,
20 const camera_t *camera);
21 void player_update(player_t * player,
22 const platforms_t *platforms,
25 void player_checkpoint(player_t *player,
28 void player_move_left(player_t *player);
29 void player_move_right(player_t *player);
30 void player_stop(player_t *player);
31 void player_jump(player_t *player);
32 void player_die(player_t *player);
34 void player_focus_camera(player_t *player,
36 void player_hide_goals(const player_t *player,
38 void player_die_from_lava(player_t *player,