lyra-engine/lyra-ecs/src/lib.rs

47 lines
670 B
Rust

extern crate self as lyra_ecs;
#[allow(unused_imports)]
pub(crate) mod lyra_engine {
pub(crate) mod ecs {
pub use super::super::*;
}
}
pub mod archetype;
pub use archetype::*;
pub mod world;
pub use world::*;
pub mod bundle;
pub use bundle::*;
pub mod component;
pub use component::*;
pub mod query;
//pub use query::*;
pub mod component_info;
pub use component_info::*;
pub mod resource;
pub use resource::*;
pub mod system;
//pub use system::*;
pub mod tick;
pub use tick::*;
pub use lyra_ecs_derive::*;
#[cfg(test)]
mod tests;
#[derive(Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)]
pub enum Access {
None,
Read,
Write,
}