From 80fc064c77bb61d9b329b58532c9cacd99038e0a Mon Sep 17 00:00:00 2001 From: Max-001 Date: Tue, 7 Jan 2025 13:21:09 +0100 Subject: First setup for NPCs --- game/GameScene.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'game/GameScene.cpp') 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 #include @@ -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::Data { .body_type = Rigidbody::BodyType::STATIC, -- cgit v1.2.3