#ifndef MAP_MAP_H_
#define MAP_MAP_H_
+namespace map {
+ class Area;
+ class Tile;
+ class Trigger;
+}
+namespace math {
+ template<class>
+ class Vector;
+}
+
#include "Entity.h"
-#include "fwd.h"
-#include "../math/Vector.h"
-#include "../graphics/fwd.h"
#include <SDL.h>
/// Render the map.
/// Entities are not rendered by this function.
- void Render(SDL_Surface *dest, const math::Vector<int> &offset) const;
+ void Render(
+ SDL_Surface *dest,
+ const math::Vector<int> &offset,
+ unsigned int frame) const;
/// Render a debugging overlay that includes collision and trigger
/// information.
void RenderDebug(SDL_Surface *dest, const math::Vector<int> &offset) const;
}
-#endif /* MAP_MAP_H_ */
+#endif