dungeon_crawler
annotate prototype/src/texman.h @ 16:91180ee7b7d9
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 20 Aug 2012 03:40:51 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@11 | 1 #ifndef TEXMAN_H_ |
nuclear@11 | 2 #define TEXMAN_H_ |
nuclear@11 | 3 |
nuclear@11 | 4 #include <string> |
nuclear@11 | 5 #include <map> |
nuclear@11 | 6 |
nuclear@11 | 7 class TextureSet { |
nuclear@11 | 8 private: |
nuclear@11 | 9 mutable std::map<std::string, unsigned int> textures; |
nuclear@11 | 10 |
nuclear@11 | 11 public: |
nuclear@11 | 12 ~TextureSet(); |
nuclear@11 | 13 |
nuclear@11 | 14 unsigned int get_texture(const char *fname) const; |
nuclear@11 | 15 }; |
nuclear@11 | 16 |
nuclear@11 | 17 #endif // TEXMAN_H_ |