bevy/examples/ecs
Christopher Durham 644bd5dbc6 Split time functionality into bevy_time (#4187)
# Objective

Reduce the catch-all grab-bag of functionality in bevy_core by minimally splitting off time functionality into bevy_time. Functionality like that provided by #3002 would increase the complexity of bevy_time, so this is a good candidate for pulling into its own unit.

A step in addressing #2931 and splitting bevy_core into more specific locations.

## Solution

Pull the time module of bevy_core into a new crate, bevy_time.

# Migration guide

- Time related types (e.g. `Time`, `Timer`, `Stopwatch`, `FixedTimestep`, etc.) should be imported from `bevy::time::*` rather than `bevy::core::*`.
- If you were adding `CorePlugin` manually, you'll also want to add `TimePlugin` from `bevy::time`.
- The `bevy::core::CorePlugin::Time` system label is replaced with `bevy::time::TimeSystem`.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-05-26 00:27:18 +00:00
..
component_change_detection.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
custom_query_param.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
ecs_guide.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
event.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
fixed_timestep.rs Split time functionality into bevy_time (#4187) 2022-05-26 00:27:18 +00:00
generic_system.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
hierarchy.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
iter_combinations.rs Split time functionality into bevy_time (#4187) 2022-05-26 00:27:18 +00:00
parallel_query.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
removal_detection.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
startup_system.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
state.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
system_chaining.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
system_closure.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
system_param.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
system_sets.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
timers.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00