diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:43:07 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:43:07 +0100 |
commit | 938b6a7bb62459e8308320280d15ccaf1b8af0ac (patch) | |
tree | b7d6ae529a2df663c31c9e69f44a5c824b0c840a /game/missile | |
parent | 52c838538d2271134a2c5a128074ea9c2ed1d4a3 (diff) |
adjsuted includes so that it has <> and not
Diffstat (limited to 'game/missile')
-rw-r--r-- | game/missile/AlertScript.cpp | 4 | ||||
-rw-r--r-- | game/missile/AlertScript.h | 3 | ||||
-rw-r--r-- | game/missile/AlertSubScene.cpp | 11 | ||||
-rw-r--r-- | game/missile/AlertSubScene.h | 3 | ||||
-rw-r--r-- | game/missile/MissileScript.cpp | 10 | ||||
-rw-r--r-- | game/missile/SpawnEvent.cpp | 4 |
6 files changed, 16 insertions, 19 deletions
diff --git a/game/missile/AlertScript.cpp b/game/missile/AlertScript.cpp index c1124ac..24b4af9 100644 --- a/game/missile/AlertScript.cpp +++ b/game/missile/AlertScript.cpp @@ -1,8 +1,8 @@ #include "AlertScript.h" #include "../Config.h" -#include "api/CircleCollider.h" -#include "api/Sprite.h" +#include <crepe/api/CircleCollider.h> +#include <crepe/api/Sprite.h> #include <crepe/api/Transform.h> using namespace crepe; diff --git a/game/missile/AlertScript.h b/game/missile/AlertScript.h index ab29863..5b0b3a1 100644 --- a/game/missile/AlertScript.h +++ b/game/missile/AlertScript.h @@ -1,6 +1,7 @@ #pragma once -#include "api/Script.h" +#include <crepe/api/Script.h> + class AlertScript : public crepe::Script { private: bool has_alert = false; 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 { diff --git a/game/missile/AlertSubScene.h b/game/missile/AlertSubScene.h index 661b3f1..8ea288f 100644 --- a/game/missile/AlertSubScene.h +++ b/game/missile/AlertSubScene.h @@ -1,6 +1,7 @@ #pragma once -#include "api/Scene.h" +#include <crepe/api/Scene.h> + class MissileAlert { public: MissileAlert(crepe::Scene & scn); diff --git a/game/missile/MissileScript.cpp b/game/missile/MissileScript.cpp index 2d1052e..797e1ac 100644 --- a/game/missile/MissileScript.cpp +++ b/game/missile/MissileScript.cpp @@ -1,17 +1,15 @@ #include "MissileScript.h" #include "../Config.h" -#include "Collider.h" -#include "api/BehaviorScript.h" -#include "api/CircleCollider.h" -#include "api/Rigidbody.h" +#include <cmath> +#include <crepe/api/CircleCollider.h> +#include <crepe/api/Rigidbody.h> +#include <crepe/api/BehaviorScript.h> #include <crepe/api/Animator.h> #include <crepe/api/AudioSource.h> #include <crepe/api/Transform.h> #include <crepe/system/CollisionSystem.h> #include <crepe/types.h> - -#include <cmath> #include <crepe/api/AI.h> #include <crepe/api/KeyCodes.h> #include <crepe/api/Sprite.h> diff --git a/game/missile/SpawnEvent.cpp b/game/missile/SpawnEvent.cpp index c407832..a54d0a5 100644 --- a/game/missile/SpawnEvent.cpp +++ b/game/missile/SpawnEvent.cpp @@ -1,8 +1,8 @@ #include "SpawnEvent.h" -#include "Config.h" #include "Random.h" -#include "api/CircleCollider.h" + +#include <crepe/api/CircleCollider.h> #include <crepe/api/Animator.h> #include <crepe/api/AudioSource.h> #include <crepe/api/BehaviorScript.h> |