#ifndef PLATFORMS_H_
#define PLATFORMS_H_
-#include <SDL2/SDL.h>
+#include <SDL.h>
#include "game/camera.h"
#include "math/rect.h"
-#include "solid.h"
typedef struct Platforms Platforms;
typedef struct LineStream LineStream;
+typedef struct RectLayer RectLayer;
-Platforms *create_platforms_from_line_stream(LineStream *line_stream);
+Platforms *create_platforms_from_rect_layer(const RectLayer *layer);
void destroy_platforms(Platforms *platforms);
-Solid_ref platforms_as_solid(Platforms *platforms);
-
int platforms_render(const Platforms *platforms,
Camera *camera);