void set_velocity_x(float vx);
void set_velocity_y(float vy);
- /// Velocities invertion.
+ /// Velocities inversion.
void inverse_velocity_x();
void inverse_velocity_y();
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