aboutsummaryrefslogtreecommitdiff
path: root/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'world.h')
-rw-r--r--world.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/world.h b/world.h
index 923dc90..ee2dc1a 100644
--- a/world.h
+++ b/world.h
@@ -3,6 +3,7 @@
#include "components.h"
#include "config.h"
+#include "map.h"
#include "player.h"
typedef int Entity;
@@ -23,7 +24,10 @@ struct World {
CEnemy enemies [max_entities];
CCollider colliders [max_entities];
+ int cam_x, cam_y;
+
Player player;
+ Map map;
};
void init_world(World* world);