dungeon_crawler
view prototype/src/tileset.h @ 8:77c302306206
forgot to uncomment something
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 17 Aug 2012 14:30:25 +0300 |
parents | |
children | e5567ddbf2ef |
line source
1 #ifndef TILESET_H_
2 #define TILESET_H_
4 #include <string>
5 #include <map>
6 #include "tile.h"
8 class TileSet {
9 private:
10 std::map<std::string, Tile*> tiles;
12 public:
13 ~TileSet();
15 bool load(const char *fname);
17 Tile *get_tile(const char *name) const;
18 };
20 void set_active_tileset(TileSet *set);
21 TileSet *get_active_tileset();
23 #endif // TILESET_H_