feat: debut de la physique, ajout de la gravite

This commit is contained in:
StratiX0
2024-04-08 17:16:48 +02:00
parent c21a66f386
commit 6eb50bf29f
7 changed files with 87 additions and 9 deletions

22
enginecustom/physics.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef _PHYSICS_H_
#define _PHYSICS_H_
#include "object.h"
class Physics
{
public:
public:
Physics();
Physics(const Physics&);
~Physics();
float GetGravity();
void ApplyGravity(Object*, float);
private:
float m_gravity;
};
#endif