00001 00007 #ifndef TEXTUREMANAGER_H_JUP234 00008 #define TEXTUREMANAGER_H_JUP234 00009 00010 #include "IsoBomb.h" 00011 00029 class TextureManager { 00030 public: 00047 TextureManager( std::string directory, std::string extension, 00048 GraphicsDevice device ); 00049 00053 ~TextureManager(); 00054 00059 int numTextures() const; 00060 00066 Texture getTexture( int idx ) const; 00067 00068 private: 00072 TextureManager(); 00073 00074 typedef std::vector< Texture > TVector; 00075 typedef TVector::iterator TVectorIter; 00076 typedef TVector::const_iterator TVectorCIter; 00077 00078 TVector textures; 00079 }; 00080 00081 #endif