From 080ad535e6fc6666b919b1a21b6986aaf9b678eb Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 23 Oct 2024 21:27:01 +0200 Subject: initial nitpicking --- resource-manager/resource_fabricator.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 resource-manager/resource_fabricator.h (limited to 'resource-manager/resource_fabricator.h') 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 -#include - - - -using namespace crepe; - - -class ResourceFactory { - -public: - - template - 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); - -}; - - - - -- cgit v1.2.3