diff options
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -25,6 +25,7 @@ #define _TMW_MAP_H #include "being.h" +#include "graphic/graphic.h" #include "resources/image.h" /** @@ -97,6 +98,11 @@ class Map static Map *load(const std::string &mapFile); /** + * Draws the map to the given graphics output. + */ + void draw(Graphics *graphics, int scrollX, int scrollY, int layer); + + /** * Sets the size of the map. This will destroy any existing map data. */ void setSize(int width, int height); |