+ /// Get the size in tiles.
+ math::Vector<int> Size() const { return math::Vector<int>(Width(), Height()); }
+ /// Get a tile by tile coordinates (not pixel coordinates!).
+ Tile *TileAt(const math::Vector<int> &);
+ const Tile *TileAt(const math::Vector<int> &) const;
+
+ /// Get the default battle background for this area.
+ SDL_Surface *BattleBackground() { return battlebg; }
+
+ void Render(
+ SDL_Surface *dest,
+ const graphics::Sprite *tileset,
+ const math::Vector<int> &offset,
+ unsigned int frame) const;
+ void RenderDebug(SDL_Surface *dest, const graphics::Sprite *tileset, const math::Vector<int> &offset) const;