feat(playfield): reaccions orbit al pas de la nau i pulse al spawn de fireworks

This commit is contained in:
2026-05-21 23:03:48 +02:00
parent ffeff3d69d
commit 20f5b83649
6 changed files with 238 additions and 13 deletions
+5
View File
@@ -70,6 +70,11 @@ namespace Effects {
return;
}
// Notificar als subscriptors (playfield pulses, etc.).
if (spawn_callback_) {
spawn_callback_(origen);
}
const float ANGLE_STEP = 2.0F * Defaults::Math::PI / static_cast<float>(n_points);
const float JITTER_RAD =
Defaults::FX::Firework::ANGULAR_JITTER_DEG * Defaults::Math::PI / 180.0F;