This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
dungeon-gunner/source/util/ResourceManager.h
Felix Ableitner 45f0b31d57 Initial commit after git corruption, old repo deleted.
Working:
Rendering
Resources
Physics
Player movement with mouse
Shooting with mouse
Tiles
2012-09-10 17:26:37 +02:00

26 lines
564 B
C++

/*
* ResourceManager.h
*
* Created on: 22.07.2012
* Author: Felix
*/
#ifndef DG_RESOURCEMANAGER_H_
#define DG_RESOURCEMANAGER_H_
#include <SFML/Graphics.hpp>
#include <Thor/Resources.hpp>
#include "Singleton.h"
/**
* Loads and manages all resources by providing Singleton access to Thor ResourceManager.
*/
class ResourceManager : public thor::MultiResourceCache, public Singleton<ResourceManager> {
private:
friend class Singleton<ResourceManager>;
ResourceManager() = default;
};
#endif /* DG_RESOURCEMANAGER_H_ */