diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 15:57:05 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 15:57:05 +0100 |
commit | 1ec7e724fcace1274473dfcae91022cc1c930baa (patch) | |
tree | 1508e8cd74588f388093dae81432fa66ecd436f2 /game/GameScene.cpp | |
parent | ce83df284173cfb4f6e430bf3ed8080ea21204d7 (diff) |
working scheduler and enemies and rest
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r-- | game/GameScene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp index 07275ab..4cb3671 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -61,9 +61,9 @@ void GameScene::load_scene() { camera.add_component<BehaviorScript>().set_script<CoinSystemScript>(); camera.add_component<BehaviorScript>().set_script<HudScript>(); camera.add_component<BehaviorScript>().set_script<SpeedScript>(); - camera.add_component<BehaviorScript>().set_script<ObjectsScheduler>(); - camera.add_component<BehaviorScript>().set_script<MissileSpawnEventHandler>(); camera.add_component<BehaviorScript>().set_script<BattleScript>(); + camera.add_component<BehaviorScript>().set_script<MissileSpawnEventHandler>(); + camera.add_component<BehaviorScript>().set_script<ObjectsScheduler>(); camera.add_component<Rigidbody>(Rigidbody::Data {}); AI & enemy_path_1 = camera.add_component<AI>(400); |