]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/platforms.h
Make back platforms always hide when player touches them
[nothing.git] / src / game / level / platforms.h
index a3c8cb57b6d43436f4010daa571c7938bc66625b..35e84feac65534365bccbd991561a1f9f571df07 100644 (file)
@@ -15,10 +15,15 @@ void destroy_platforms(Platforms *platforms);
 int platforms_render(const Platforms *platforms,
                      const Camera *camera);
 
+void platforms_update(Platforms *platforms, float dt);
+
 void platforms_touches_rect_sides(const Platforms *platforms,
                                   Rect object,
                                   int sides[RECT_SIDE_N]);
 Vec2f platforms_snap_rect(const Platforms *platforms,
                           Rect *object);
 
+void platforms_hide_platform_at(const Platforms *platforms,
+                                Vec2f position);
+
 #endif  // PLATFORMS_H_