aboutsummaryrefslogtreecommitdiff
path: root/resource-manager/resource_manager.h
blob: 7a8636066cdf7fd814c191fa1a5c9d1ea3412a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once



#include <string>
#include <unordered_map>


#include "resource.h"
#include "constants.h"

using namespace crepe;



class ResourceManager{

public:

	ResourceManager();
	~ResourceManager();
	
	Resource* Load(const Constants::FILE_PATH& file_path);
	void Unload(const Constants::FILE_PATH& file_path);


private:
	std::unordered_map<Constants::FILE_PATH, Resource*> m_resources;



};