X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fphysic.h;h=81e44518ffd78014282848d97fab24c3d9d4797c;hb=4f8a7dcf0b9912df20cebc01b4e364845471aed7;hp=37b6302ffa2103682964eb794baeff1c7c45890a;hpb=7192ffdbf1ab5d5b3455b9d9c4c3a1780004b1d6;p=supertux.git diff --git a/src/physic.h b/src/physic.h index 37b6302ff..81e44518f 100644 --- a/src/physic.h +++ b/src/physic.h @@ -28,6 +28,10 @@ public: /** sets velocity to a fixed value */ void set_velocity(float vx, float vy); + /** velocities invertion */ + void inverse_velocity_x(); + void inverse_velocity_y(); + float get_velocity_x(); float get_velocity_y();