bevy/crates/bevy_ecs/src/lib.rs

21 lines
556 B
Rust
Raw Normal View History

2020-08-10 00:58:56 +00:00
pub use bevy_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::{ChangedRes, FromResources, Local, Res, ResMut, Resource, Resources},
system::{Commands, IntoSystem, IntoThreadLocalSystem, Query, System},
world::WorldBuilderSource,
Added, Bundle, Changed, Component, Entity, Mut, Mutated, Or, QuerySet, Ref, RefMut, With,
Without, World,
2020-07-17 02:20:51 +00:00
};
}