Files
dae16-VerhulstBram-GameProject/Game/Player.h
Bram Verhulst d6bb3add26 Added the Grid, Camera, Level system
Basic player
Started (Barely) on the TextureManager
And other fixes
2024-03-11 03:29:44 +01:00

23 lines
325 B
C++

#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 };
};