converted player to new object system
[supertux.git] / src / physic.h
index 0e15cfa..558cebd 100644 (file)
@@ -36,6 +36,9 @@ public:
     /** sets velocity to a fixed value */
     void set_velocity(float vx, float vy);
 
+    void set_velocity_x(float vx);
+    void set_velocity_y(float vy);
+
     /** velocities invertion */
     void inverse_velocity_x();
     void inverse_velocity_y();
@@ -48,6 +51,9 @@ public:
      */
     void set_acceleration(float ax, float ay);
 
+    void set_acceleration_x(float ax);
+    void set_acceleration_y(float ay);
+
     float get_acceleration_x();
     float get_acceleration_y();