aboutsummaryrefslogtreecommitdiff
path: root/game/GameScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r--game/GameScene.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp
index 6ff2ea4..ca03374 100644
--- a/game/GameScene.cpp
+++ b/game/GameScene.cpp
@@ -11,6 +11,7 @@
#include "hud/SpeedScript.h"
#include "menus/endgame/EndGameSubScene.h"
#include "player/PlayerSubScene.h"
+#include "workers/WorkersSubScene.h"
#include <cmath>
#include <crepe/api/Animator.h>
@@ -51,6 +52,8 @@ void GameScene::load_scene() {
PlayerSubScene player(*this);
+ WorkersSubScene workers(*this);
+
GameObject floor = new_object("floor", "game_world", vec2(0, 325));
floor.add_component<Rigidbody>(Rigidbody::Data {
.body_type = Rigidbody::BodyType::STATIC,