Skip to content

Commit

Permalink
Split off FixedTime from Time
Browse files Browse the repository at this point in the history
  • Loading branch information
maniwani committed Mar 4, 2022
1 parent f394857 commit 4f0e7da
Show file tree
Hide file tree
Showing 7 changed files with 481 additions and 365 deletions.
4 changes: 3 additions & 1 deletion crates/bevy_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ pub use time::*;
pub mod prelude {
#[doc(hidden)]
pub use crate::{
DefaultTaskPoolOptions, EntityLabels, FixedTimestep, Labels, Name, Time, Timer,
DefaultTaskPoolOptions, EntityLabels, FixedTime, FixedTimestep, FixedTimestepState, Labels,
Name, Time, Timer,
};
}

Expand Down Expand Up @@ -49,6 +50,7 @@ impl Plugin for CorePlugin {
.create_default_pools(&mut app.world);

app.init_resource::<Time>()
.init_resource::<FixedTime>()
.init_resource::<FixedTimestepState>()
.init_resource::<EntityLabels>()
.register_type::<HashSet<String>>()
Expand Down
Loading

0 comments on commit 4f0e7da

Please sign in to comment.