]> git.lizzy.rs Git - nothing.git/blob - src/game/level/boxes.h
4b23be9ba1caed4f3caf3213abd2dfa061639076
[nothing.git] / src / game / level / boxes.h
1 #ifndef BOXES_H_
2 #define BOXES_H_
3
4 #include "game/camera.h"
5 #include "game/level/platforms.h"
6 #include "lava.h"
7
8 typedef struct boxes_t boxes_t;
9 typedef struct player_t player_t;
10 typedef struct physical_world_t physical_world_t;
11
12 boxes_t *create_boxes_from_stream(FILE *stream);
13 void destroy_boxes(boxes_t *boxes);
14
15 int boxes_render(boxes_t *boxes, camera_t *camera);
16 int boxes_update(boxes_t *boxes, float delta_time);
17
18 int boxes_add_to_physical_world(const boxes_t *boxes,
19                                 physical_world_t *physical_world_t);
20
21 #endif  // BOXES_H_