#ifndef SPRITELOADER_H_INCLUDED #define SPRITELOADER_H_INCLUDED #include #include #include #include #undef main class SpriteLoader { public: SpriteLoader(); SpriteLoader(std::string folder); ~SpriteLoader(); SDL_Surface* takeSprite(std::string nom); void addSprite(std::string nom, SDL_Surface* sprite); void assignFolder(std::string folder); private: std::string m_folder; std::map::iterator m_it; std::map m_paquet; }; #endif // SPRITELOADER_H_INCLUDED