some new editor images
[supertux.git] / lib / math / physic.h
index bae4dd3..71d7ccd 100644 (file)
@@ -67,11 +67,7 @@ namespace SuperTux
       /// Enables or disables handling of gravity.
       void enable_gravity(bool gravity_enabled);
 
-      /// Applies the physical simulation to given x and y coordinates.
-      void apply(float frame_ratio, float &x, float &y, float gravity = 10.0f);
-
-      /// applies the physical simulation to given x and y coordinates.
-      void apply(Vector& vector, float frame_ratio, float gravity = 10.0f);
+      Vector get_movement(float elapsed_time);
 
     private:
       /// horizontal and vertical acceleration