mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 17:51:47 +01:00
20 lines
323 B
C++
20 lines
323 B
C++
#pragma once
|
|
#include <map>
|
|
|
|
#include "Texture.h"
|
|
|
|
class TextureManager
|
|
{
|
|
public:
|
|
static TextureManager * GetInstance();
|
|
Texture * GetTexture(const std::string& name);
|
|
|
|
private:
|
|
TextureManager() = default;
|
|
~TextureManager();
|
|
static TextureManager* m_pInstance;
|
|
|
|
std::map<std::string, Texture *> m_Textures {};
|
|
|
|
};
|