X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fphysic.hpp;h=3922180237a74f4ee183fc6dcde8caec38692fcf;hb=00071f4e2020e2b40c8230c34892114ba09599ab;hp=abfdba53060d40209db037a885b82247e382157e;hpb=3655d32f63f75b2af054ec68d4176e55a561ba96;p=supertux.git diff --git a/src/physic.hpp b/src/physic.hpp index abfdba530..392218023 100644 --- a/src/physic.hpp +++ b/src/physic.hpp @@ -81,10 +81,17 @@ private: float ax, ay; /// horizontal and vertical velocity float vx, vy; - /// should we respect gravity in out calculations? + /// should we respect gravity in our calculations? bool gravity_enabled_flag; - /// current gravity to apply to object, if enabled + /// current gravity (multiplied by 100) to apply to object, if enabled float gravity; }; +class UsesPhysic +{ +public: + Physic physic; + friend class Sector; +}; + #endif