bevy/crates/bevy_ecs/src/lib.rs

22 lines
559 B
Rust
Raw Normal View History

2020-07-10 08:37:06 +00:00
pub use hecs::{Query as HecsQuery, *};
2020-07-17 02:20:51 +00:00
mod resource;
2020-07-10 04:18:35 +00:00
mod schedule;
mod system;
mod world;
2020-07-10 04:18:35 +00:00
2020-07-17 02:20:51 +00:00
pub use resource::*;
pub use schedule::*;
pub use system::{Query, *};
pub use world::*;
2020-07-17 02:20:51 +00:00
pub mod prelude {
pub use crate::{
resource::{FromResources, Local, Res, ResMut, Resource, Resources},
system::{
Commands, IntoForEachSystem, IntoQuerySystem, IntoThreadLocalSystem, Query, System,
},
world::WorldBuilderSource,
Added, Bundle, Changed, Component, Entity, Mutated, Ref, RefMut, With, Without, World,
2020-07-17 02:20:51 +00:00
};
}