diff options
Diffstat (limited to 'game/missile/AlertSubScene.cpp')
-rw-r--r-- | game/missile/AlertSubScene.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/game/missile/AlertSubScene.cpp b/game/missile/AlertSubScene.cpp index c3379e8..8d59f97 100644 --- a/game/missile/AlertSubScene.cpp +++ b/game/missile/AlertSubScene.cpp @@ -1,10 +1,9 @@ #include "AlertSubScene.h" #include "../Config.h" -#include "api/Animator.h" -#include "api/BehaviorScript.h" -#include "api/Scene.h" -#include "api/Sprite.h" -#include "missile/AlertScript.h" + +#include <crepe/api/Animator.h> +#include <crepe/api/Scene.h> +#include <crepe/api/Sprite.h> using namespace crepe; @@ -13,8 +12,6 @@ MissileAlert::MissileAlert(Scene& scn){ Asset missile_alert_ss {"asset/obstacles/missile/missileAlert.png"}; - //alert.add_component<BehaviorScript>().set_script<AlertScript>(); - auto & missile_alert_sprite = alert.add_component<Sprite>( missile_alert_ss, Sprite::Data { |