Artifact f421cd182bd7b02c2e5f421bf222255590c5af3d0a9c4094aa2ea50371808add:
- File src/enemies/mod.rs — part of check-in [c81820784c] at 2026-07-12 19:20:18 on branch trunk — Initial import from td working tree (user: michael.jaquier size: 447)
//! Concrete enemy kinds — each builds an `Enemy` with its stats + behavior pipeline — plus the //! `EnemyKind` definition trait the registry uses to construct them. Mirrors `crate::weapons` //! (concrete `ProjectileBehavior`s + the `Weapon` lifecycle trait). pub mod behaviors; pub mod blob; pub mod movement; use crate::enemy::Enemy; pub trait EnemyKind { fn create(tier: u32) -> Enemy; fn animation() -> Box<fn(&Enemy) -> ()>; }