4 * Created on: Sep 29, 2012
13 #include "../geometry/Vector.h"
14 #include "../graphics/fwd.h"
27 const graphics::Sprite *Tileset() const { return tileset; }
28 Area *AreaAt(const geometry::Vector<int> &);
29 const Area *AreaAt(const geometry::Vector<int> &) const;
30 Tile *TileAt(const geometry::Vector<int> &);
31 const Tile *TileAt(const geometry::Vector<int> &) const;
32 Trigger *TriggerAt(const geometry::Vector<int> &);
33 SDL_Surface *BattleBackgroundAt(const geometry::Vector<int> &);
34 geometry::Vector<int> TileCoordinates(const geometry::Vector<int> &) const;
36 Entity *EntitiesBegin() { return entities; }
37 Entity *EntitiesEnd() { return entities + numEntities; }
39 void Render(SDL_Surface *dest, const geometry::Vector<int> &offset) const;
40 void RenderDebug(SDL_Surface *dest, const geometry::Vector<int> &offset) const;
42 static void CreateTypeDescription();
43 static void Construct(void *);
46 const graphics::Sprite *tileset;
47 SDL_Surface *battlebg;
60 #endif /* MAP_MAP_H_ */