--- id: GAL-20 title: Enemy Attack Dives status: Done parent: null labels: [enemy, gameplay] --- # GAL-20: Enemy Attack Dives Enemies leave formation to dive at the player along varied attack patterns. ## Sub-issues - [x] [GAL-21](GAL-21.md) — Enemies have an `Attacking` state with different `AttackPattern`s (Swoop, Direct, Kamikaze). - [x] [GAL-22](GAL-22.md) — Periodically trigger random enemies to start an attack dive. - [x] [GAL-23](GAL-23.md) — Enemies fire bullets during their dives. - [x] [GAL-24](GAL-24.md) — Enemies are despawned when they fly off-screen after an attack.