#pragma once #include "Audio_asset.h" #include "Image_asset.h" #include "resource.h" #include "constants.h" #include "spritesheet.h" #include using namespace crepe; class ResourceFactory { public: template static Resource* create_resource(const Constants::FILE_PATH& file_path){ return new T(file_path); } };