6 #include "game/camera.h"
9 typedef struct RectLayer RectLayer;
17 Platforms create_platforms_from_rect_layer(const RectLayer *layer);
18 void destroy_platforms(Platforms platforms);
20 int platforms_render(const Platforms *platforms,
21 const Camera *camera);
23 void platforms_touches_rect_sides(const Platforms *platforms,
25 int sides[RECT_SIDE_N]);
26 Vec2f platforms_snap_rect(const Platforms *platforms,
29 #endif // PLATFORMS_H_