bevy/crates/bevy_app/src
Klim Tsoutsman 0c91317102 Change definition of ScheduleRunnerPlugin (#2606)
# Objective

- Allow `ScheduleRunnerPlugin` to be instantiated without curly braces. Other plugins in the library already use the semicolon syntax.
- Currently, you have to do the following:
```rust
App::build()
    .add_plugin(bevy::core::CorePlugin)
    .add_plugin(bevy::app::ScheduleRunnerPlugin {})
```
- With the proposed change you can do this:
```rust
App::build()
    .add_plugin(bevy::core::CorePlugin)
    .add_plugin(bevy::app::ScheduleRunnerPlugin)
```

## Solution

- Change the `ScheduleRunnerPlugin` definition to use a semicolon instead of curly braces.
2021-08-10 02:48:40 +00:00
..
app.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
ci_testing.rs Down with the system! (#2496) 2021-07-27 23:42:36 +00:00
lib.rs Merge AppBuilder into App (#2531) 2021-07-27 20:21:06 +00:00
plugin_group.rs Merge AppBuilder into App (#2531) 2021-07-27 20:21:06 +00:00
plugin.rs Merge AppBuilder into App (#2531) 2021-07-27 20:21:06 +00:00
schedule_runner.rs Change definition of ScheduleRunnerPlugin (#2606) 2021-08-10 02:48:40 +00:00