7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2004
9 // Copyright: See COPYING file that comes with this distribution
18 #include "lispreader.h"
26 std::vector<texture_type> images;
39 std::vector<Tile*> tiles;
40 static TileManager* instance_ ;
41 void load_tileset(std::string filename);
44 static TileManager* instance() { return instance_ ? instance_ : instance_ = new TileManager(); }
45 Tile* get(unsigned int id) { if( id < tiles.size()) { return tiles[id]; } else { return NULL; } } ;