4#include <unordered_map>
6using Resource = std::pair<const unsigned char*, const unsigned int>;
18 static std::unordered_map<std::string, Resource> resources;
A class that provides a brigde between the program and its resources.
Definition resource_manager.hpp:16
static Resource getResource(std::string filename)
retrieves the data of the given file
Definition resouce_manager.cpp:8
static void loadResources()
connects resource filename strings to the correspondent data
Definition resouce_manager.cpp:17