mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
87ada5b589
This replaces `ChangedRes` with simple associated methods that return the same info, but don't block execution. Also, since ChangedRes was infectious and was the only reason `FetchSystemParam::get_params` and `System::run_unsafe` returned `Option`s, their implementation could be simplified after this PR is merged, or as part of it with a future commit.
27 lines
906 B
Rust
27 lines
906 B
Rust
mod core;
|
|
mod resource;
|
|
mod schedule;
|
|
mod system;
|
|
|
|
pub use crate::core::*;
|
|
pub use bevy_ecs_macros::*;
|
|
pub use lazy_static;
|
|
pub use resource::*;
|
|
pub use schedule::*;
|
|
pub use system::{Query, *};
|
|
|
|
pub mod prelude {
|
|
pub use crate::{
|
|
core::WorldBuilderSource,
|
|
resource::{FromResources, Local, NonSend, Res, ResMut, Resource, Resources},
|
|
schedule::{
|
|
ExclusiveSystemDescriptorCoercion, ParallelSystemDescriptorCoercion,
|
|
ReportExecutionOrderAmbiguities, RunOnce, Schedule, Stage, State, StateStage,
|
|
SystemSet, SystemStage,
|
|
},
|
|
system::{Commands, ExclusiveSystem, IntoExclusiveSystem, IntoSystem, Query, System},
|
|
Added, AmbiguitySetLabel, Bundle, Changed, Component, Entity, Flags, In, IntoChainSystem,
|
|
Mut, Mutated, Or, QuerySet, Ref, RefMut, ShouldRun, StageLabel, SystemLabel, With, Without,
|
|
World,
|
|
};
|
|
}
|