2023-12-21 22:02:59 +00:00
|
|
|
extern crate self as lyra_ecs;
|
|
|
|
|
2023-12-28 03:53:58 +00:00
|
|
|
#[allow(unused_imports)]
|
2023-12-27 04:48:46 +00:00
|
|
|
pub(crate) mod lyra_engine {
|
|
|
|
pub(crate) mod ecs {
|
|
|
|
pub use super::super::*;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub mod archetype;
|
2023-12-01 04:05:06 +00:00
|
|
|
pub use archetype::*;
|
|
|
|
|
|
|
|
pub mod world;
|
|
|
|
pub use world::*;
|
|
|
|
|
2023-12-27 04:48:46 +00:00
|
|
|
pub mod bundle;
|
2023-12-01 04:05:06 +00:00
|
|
|
pub use bundle::*;
|
|
|
|
|
2023-12-27 04:48:46 +00:00
|
|
|
pub mod component;
|
2023-12-01 04:05:06 +00:00
|
|
|
pub use component::*;
|
|
|
|
|
2023-12-27 04:48:46 +00:00
|
|
|
pub mod query;
|
|
|
|
//pub use query::*;
|
2023-12-01 04:05:06 +00:00
|
|
|
|
2023-12-27 04:48:46 +00:00
|
|
|
pub mod component_info;
|
2023-12-01 04:05:06 +00:00
|
|
|
pub use component_info::*;
|
|
|
|
|
2023-12-27 04:48:46 +00:00
|
|
|
pub mod resource;
|
2023-12-01 04:05:06 +00:00
|
|
|
pub use resource::*;
|
|
|
|
|
2023-12-27 04:48:46 +00:00
|
|
|
pub mod system;
|
|
|
|
//pub use system::*;
|
2023-12-04 04:14:27 +00:00
|
|
|
|
2023-12-27 04:48:46 +00:00
|
|
|
pub mod tick;
|
2023-12-26 19:12:53 +00:00
|
|
|
pub use tick::*;
|
|
|
|
|
2023-12-21 22:02:59 +00:00
|
|
|
pub use lyra_ecs_derive::*;
|
|
|
|
|
2023-12-01 04:05:06 +00:00
|
|
|
#[cfg(test)]
|
2023-12-04 04:14:27 +00:00
|
|
|
mod tests;
|
|
|
|
|
|
|
|
#[derive(Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)]
|
|
|
|
pub enum Access {
|
2023-12-08 22:12:33 +00:00
|
|
|
None,
|
2023-12-04 04:14:27 +00:00
|
|
|
Read,
|
|
|
|
Write,
|
|
|
|
}
|