aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gameplay.hpp')
-rw-r--r--src/gameplay.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gameplay.hpp b/src/gameplay.hpp
index f82121d..be07491 100644
--- a/src/gameplay.hpp
+++ b/src/gameplay.hpp
@@ -10,6 +10,7 @@
#define GAMEPLAY_H_
#include "entity.hpp"
+#include "map.hpp"
#include "terrain.hpp"
#include "window.hpp"
@@ -60,6 +61,7 @@ class Game {
std::string next; // next level
std::string current; // next level
std::string background; // next level
+ Level* level;
int frameWidth;
int frameHeight;
@@ -74,7 +76,7 @@ class Game {
Game(std::string const& path);
~Game();
- void start();
+ Level* parse(std::string const& path);
void draw();
int tick();
int getKeys();