File src/enemies/mod.rs artifact f421cd182b part of check-in 1c4f2f89eb
//! 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) -> ()>; }