From 7104b75fe01c4ada5b1dfe87e7f12089ad9e1ff2 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 21 Jan 2022 13:10:44 -0600 Subject: [PATCH] Port example to Bevy 0.6. --- examples/hello_world.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/hello_world.rs b/examples/hello_world.rs index b7d13ce..7ff2a6e 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -2,13 +2,13 @@ use bevy::prelude::*; use bevy_tts::*; fn main() { - App::build() + App::new() .add_plugins(DefaultPlugins) .add_plugin(bevy_tts::TtsPlugin) - .add_system(bevy::input::system::exit_on_esc_system.system()) - .add_startup_system(setup.system()) - .add_system(event_poll.system()) - .add_system(greet.system()) + .add_system(bevy::input::system::exit_on_esc_system) + .add_startup_system(setup) + .add_system(event_poll) + .add_system(greet) .run(); }