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;
28 /** solid tile that is indestructable by Tux */
31 /** a brick that can be destroyed by jumping under it */
37 /** Bonusbox, content is stored in \a data */
40 /** Tile is a distro/coin */
43 /** General purpose data attached to a tile (content of a box, type of coin) */
54 std::vector<Tile*> tiles;
55 static TileManager* instance_ ;
56 void load_tileset(std::string filename);
59 static TileManager* instance() { return instance_ ? instance_ : instance_ = new TileManager(); }
60 Tile* get(unsigned int id) { if( id < tiles.size()) { return tiles[id]; } else { return NULL; } }