#ifndef MAP_AREA_H_
#define MAP_AREA_H_
-#include "fwd.h"
+namespace graphics {
+ class Sprite;
+}
+namespace map {
+ class Tile;
+}
+
#include "../math/Vector.h"
-#include "../graphics/Sprite.h"
#include <SDL.h>
/// 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) const;
+ 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;
static void CreateTypeDescription();
}
-#endif /* MAP_AREA_H_ */
+#endif