6 #include "game/camera.h"
9 typedef struct Platforms Platforms;
10 typedef struct RectLayer RectLayer;
12 Platforms *create_platforms_from_rect_layer(const RectLayer *layer);
13 void destroy_platforms(Platforms *platforms);
15 int platforms_render(const Platforms *platforms,
16 const Camera *camera);
18 void platforms_touches_rect_sides(const Platforms *platforms,
20 int sides[RECT_SIDE_N]);
21 Vec2f platforms_snap_rect(const Platforms *platforms,
24 #endif // PLATFORMS_H_