Added the Grid, Camera, Level system

Basic player
Started (Barely) on the TextureManager
And other fixes
This commit is contained in:
Bram Verhulst
2024-03-11 03:29:44 +01:00
parent f7c2262e10
commit d6bb3add26
35 changed files with 991 additions and 62 deletions

22
Game/Player.h Normal file
View File

@@ -0,0 +1,22 @@
#pragma once
class WorldLevel;
class Player
{
public:
Player(const Point2f& Position);
void Update(float elapsedTime, const WorldLevel& level);
void Draw() const;
private:
Point2f m_Position{};
Point2f m_Size{};
Point2f m_Vel{};
Point2f m_Acc{};
Point2f m_Gravity{ 0, -9.81f };
float m_MaxSpeed{ 200 };
};