diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:43:42 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-10 14:43:42 +0100 |
commit | d1cebcca2018ed4ef47ad125e45aafd018a2ab2e (patch) | |
tree | 8f4881cf4abc58774625383620cf82fa55b9d1f0 /game/missile/SpawnEvent.cpp | |
parent | 938b6a7bb62459e8308320280d15ccaf1b8af0ac (diff) |
make format
Diffstat (limited to 'game/missile/SpawnEvent.cpp')
-rw-r--r-- | game/missile/SpawnEvent.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/game/missile/SpawnEvent.cpp b/game/missile/SpawnEvent.cpp index a54d0a5..c7209b7 100644 --- a/game/missile/SpawnEvent.cpp +++ b/game/missile/SpawnEvent.cpp @@ -1,12 +1,11 @@ #include "SpawnEvent.h" #include "Random.h" - -#include <crepe/api/CircleCollider.h> #include <crepe/api/Animator.h> #include <crepe/api/AudioSource.h> #include <crepe/api/BehaviorScript.h> #include <crepe/api/Camera.h> +#include <crepe/api/CircleCollider.h> #include <crepe/api/Sprite.h> #include <crepe/api/Transform.h> @@ -40,7 +39,6 @@ bool MissileSpawnEventHandler::on_event(const MissileSpawnEvent & event) { transform.position.x = camera_transform.position.x + this->MISSILE_OFFSET; transform.position.y = Random::i(this->MAX_RANGE, this->MIN_RANGE); - auto & alert_transform = alert_transforms[i].get(); auto & alert_sprite = alert_sprites[i].get(); alert_sprite.active = true; |