orbit/js/combat
Brian Fertig fededdf590 Fix combat end seam so break-off cull fires onActiveChange
- The last escort leaving the screen (encounter over without a kill) now calls `_setActive()`, which flips `active` to false and emits `onActiveChange`.
- Previously only kills triggered the flip, so GameScene's deck/soundtrack swap (`_setCombatBar`) never ran on a break-off ending.
- Add a test asserting the `true→false` active flip when the last escort is culled off-screen.
2026-09-22 17:52:06 -06:00
..
Bullet.js
…
CamShake.js
…
Combat.js
…
CombatHud.js
…
CombatScene.js
…
CombatSfx.js
…
CombatSystem.js Fix combat end seam so break-off cull fires onActiveChange 2026-09-22 17:52:06 -06:00
Encounters.js Add periodic random ship encounters with neutral ally escorts 2026-09-22 07:19:20 -06:00
EnemyShip.js
…
EnemyTypes.js Add periodic random ship encounters with neutral ally escorts 2026-09-22 07:19:20 -06:00
Fx.js
…
Missile.js
…
NeutralShip.js Add periodic random ship encounters with neutral ally escorts 2026-09-22 07:19:20 -06:00
StarDrift.js
…
Waves.js
…
Weapons.js Add periodic random ship encounters with neutral ally escorts 2026-09-22 07:19:20 -06:00
XpManager.js
…
main.js
…