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

View File

@@ -2,6 +2,7 @@
#include <vector>
#include "BaseGame.h"
#include "Camera.h"
#include "WorldLevel.h"
#include "WorldTile.h"
@@ -30,9 +31,13 @@ private:
// FUNCTIONS
void Initialize();
void Cleanup();
void ClearBackground() const;
Point2f m_CameraOffset{0, 0};
Camera m_Camera;
WorldLevel m_WorldLevel;
Point2f m_MousePos{};
Point2f m_MouseOffset{};
bool m_IsMouseDown{};
};