Reformat + Basic animation system

General fixes
This commit is contained in:
Bram Verhulst
2024-04-01 10:27:37 +02:00
parent 3b9c96ea8d
commit 0f9bb76973
28 changed files with 918 additions and 546 deletions

View File

@@ -6,15 +6,15 @@
class TextureManager
{
public:
TextureManager() = default;
static TextureManager * GetInstance();
Texture * GetTexture(const std::string& name);
static TextureManager* GetInstance();
Texture* GetTexture(const std::string& name);
static TextureManager* m_pInstance;
private:
std::map<std::string, Texture*> m_Textures{};
};
TextureManager() = default;
~TextureManager();
static TextureManager* m_pInstance;
private:
std::map<std::string, Texture *> m_Textures {};
};