From a08f5acf483d5371ccab70ba75c39ac6a5f96ce7 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Mon, 30 Sep 2024 10:56:13 +0200 Subject: changed resource manager based on feedback --- resource-manager/resource_converter.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 resource-manager/resource_converter.h (limited to 'resource-manager/resource_converter.h') diff --git a/resource-manager/resource_converter.h b/resource-manager/resource_converter.h new file mode 100644 index 0000000..d771163 --- /dev/null +++ b/resource-manager/resource_converter.h @@ -0,0 +1,24 @@ +#pragma once + + + +#include "Image_asset.h" +#include "map_asset.h" +#include "tiledMap.h" + +#include + +class ResourceConverter{ + + +public: + ResourceConverter(); + ~ResourceConverter(); + + SDL_Surface* FromStringToImage(const Texture&); + TiledMap FromStringToMap(const Map&); + + //TODO: + //convertrs a string map into a real map: + +}; -- cgit v1.2.3