aboutsummaryrefslogtreecommitdiff
path: root/resource-manager/resource_fabricator.h
diff options
context:
space:
mode:
Diffstat (limited to 'resource-manager/resource_fabricator.h')
-rw-r--r--resource-manager/resource_fabricator.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/resource-manager/resource_fabricator.h b/resource-manager/resource_fabricator.h
deleted file mode 100644
index cb6929f..0000000
--- a/resource-manager/resource_fabricator.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#pragma once
-
-
-
-#include "resource.h"
-#include "constants.h"
-#include <SDL_render.h>
-#include <string>
-
-
-
-using namespace crepe;
-
-
-class ResourceFactory {
-
-public:
-
- template<typename T>
- static Resource* create_resource(const Constants::FILE_PATH& file_path){
-
- return new T(convert_file_to_string(file_path));
- }
-
-private:
- static std::string convert_file_to_string(const std::string& path);
-
-};
-
-
-
-