diff options
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r-- | game/GameScene.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp index 2b6b051..02af8db 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -5,6 +5,7 @@ #include "background/BackgroundSubScene.h" #include "player/PlayerSubScene.h" +#include "workers/WorkersSubScene.h" #include <cmath> #include <crepe/api/Animator.h> @@ -41,6 +42,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, |