#![feature(label_break_value, bool_to_option, option_unwrap_none)] #![allow(clippy::option_map_unit_fn)] mod aura; mod beam; mod buff; pub mod character_behavior; pub mod controller; mod interpolation; pub mod melee; mod mount; pub mod phys; #[cfg(feature = "plugins")] pub mod plugin; mod projectile; mod shockwave; pub mod state; mod stats; // External use common_ecs::{dispatch, System}; use specs::DispatcherBuilder; pub fn add_local_systems(dispatch_builder: &mut DispatcherBuilder) { dispatch::(dispatch_builder, &[]); dispatch::(dispatch_builder, &[&mount::Sys::sys_name()]); dispatch::(dispatch_builder, &[&controller::Sys::sys_name()]); dispatch::(dispatch_builder, &[]); dispatch::(dispatch_builder, &[]); dispatch::(dispatch_builder, &[ &controller::Sys::sys_name(), &mount::Sys::sys_name(), &stats::Sys::sys_name(), ]); dispatch::(dispatch_builder, &[&phys::Sys::sys_name()]); dispatch::(dispatch_builder, &[&phys::Sys::sys_name()]); dispatch::(dispatch_builder, &[&phys::Sys::sys_name()]); dispatch::(dispatch_builder, &[&projectile::Sys::sys_name()]); dispatch::(dispatch_builder, &[]); }