Aller à la documentation de ce fichier.00001
00002
00003
00004
00005
00006
00007 #ifndef CCE_IMAGEMANAGER_H
00008 #define CCE_IMAGEMANAGER_H
00009
00010 #include <SFML/Graphics.hpp>
00011 #include "bib/AssetManager.hpp"
00012 #include "bib/Singleton.hpp"
00013
00014 namespace cce {
00015
00016 class ImageManager : public bib::AssetManager<sf::Texture>, public bib::Singleton<ImageManager>
00017 {
00018 friend class bib::Singleton<ImageManager>;
00019
00020 private:
00021 ImageManager();
00022 virtual ~ImageManager();
00023 private:
00024 sf::Texture* creer_ressource(const std::string& path, bool *succes);
00025 };
00026
00027 }
00028
00029 #endif // CCE_IMAGEMANAGER_H