feat: debut de la physique, ajout de la gravite
This commit is contained in:
22
enginecustom/physics.h
Normal file
22
enginecustom/physics.h
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user