Port example to Bevy 0.6.

This commit is contained in:
Nolan Darilek 2022-01-21 13:10:44 -06:00
parent 028539874e
commit 7104b75fe0

View File

@ -2,13 +2,13 @@ use bevy::prelude::*;
use bevy_tts::*; use bevy_tts::*;
fn main() { fn main() {
App::build() App::new()
.add_plugins(DefaultPlugins) .add_plugins(DefaultPlugins)
.add_plugin(bevy_tts::TtsPlugin) .add_plugin(bevy_tts::TtsPlugin)
.add_system(bevy::input::system::exit_on_esc_system.system()) .add_system(bevy::input::system::exit_on_esc_system)
.add_startup_system(setup.system()) .add_startup_system(setup)
.add_system(event_poll.system()) .add_system(event_poll)
.add_system(greet.system()) .add_system(greet)
.run(); .run();
} }