diff options
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h index 87e23d3..8ea7576 100644 --- a/src/game.h +++ b/src/game.h | |||
@@ -73,7 +73,7 @@ public: | |||
73 | }); | 73 | }); |
74 | } | 74 | } |
75 | 75 | ||
76 | void setMap(std::unique_ptr<Map> map) { map_ = std::move(map); } | 76 | void loadMap(std::string filename, std::string warpPoint); |
77 | 77 | ||
78 | const Map& getMap() const { return *map_; } | 78 | const Map& getMap() const { return *map_; } |
79 | 79 | ||
@@ -81,6 +81,8 @@ public: | |||
81 | 81 | ||
82 | private: | 82 | private: |
83 | 83 | ||
84 | void clearSprites(); | ||
85 | |||
84 | Mixer mixer_; | 86 | Mixer mixer_; |
85 | bool shouldQuit_ = false; | 87 | bool shouldQuit_ = false; |
86 | 88 | ||