summaryrefslogtreecommitdiffstats
path: root/src/graphics/AssetManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/graphics/AssetManager_old.hpp (renamed from src/graphics/AssetManager.hpp)15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/graphics/AssetManager.hpp b/src/graphics/AssetManager_old.hpp
index e723398..23a11a7 100644
--- a/src/graphics/AssetManager.hpp
+++ b/src/graphics/AssetManager_old.hpp
@@ -3,6 +3,7 @@
#include <fstream>
#include <string>
#include <map>
+#include <experimental/filesystem>
#include <nlohmann/json.hpp>
#include "Texture.hpp"
@@ -24,19 +25,19 @@ struct Asset {
~Asset();
};
-class AssetManager {
- AssetManager();
+class AssetManager_old {
+ AssetManager_old();
- ~AssetManager();
+ ~AssetManager_old();
- AssetManager(const AssetManager &);
+ AssetManager_old(const AssetManager_old &);
- AssetManager &operator=(const AssetManager &);
+ AssetManager_old &operator=(const AssetManager_old &);
std::map<std::string, Asset> assets;
- static AssetManager &instance() {
- static AssetManager assetManager;
+ static AssetManager_old &instance() {
+ static AssetManager_old assetManager;
return assetManager;
}