diff options
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); |