veloren/common/src/comp/mod.rs

11 lines
238 B
Rust
Raw Normal View History

2019-01-02 19:22:01 +00:00
pub mod phys;
2019-01-02 17:23:31 +00:00
// External
use specs::World as EcsWorld;
2019-01-02 17:23:31 +00:00
pub fn register_local_components(ecs_world: &mut EcsWorld) {
2019-01-02 19:22:01 +00:00
ecs_world.register::<phys::Pos>();
ecs_world.register::<phys::Vel>();
ecs_world.register::<phys::Dir>();
2019-01-02 17:23:31 +00:00
}