veloren/voxygen/src/ecs/sys.rs

16 lines
447 B
Rust
Raw Normal View History

2020-01-10 00:33:38 +00:00
pub mod floater;
mod interpolation;
use specs::DispatcherBuilder;
// System names
const FLOATER_SYS: &str = "floater_voxygen_sys";
const INTERPOLATION_SYS: &str = "interpolation_voxygen_sys";
pub fn add_local_systems(dispatch_builder: &mut DispatcherBuilder) {
dispatch_builder.add(interpolation::Sys, INTERPOLATION_SYS, &[
common::sys::PHYS_SYS,
]);
2020-01-10 00:33:38 +00:00
dispatch_builder.add(floater::Sys, FLOATER_SYS, &[INTERPOLATION_SYS]);
}