bevy/examples/hello_world.rs

9 lines
163 B
Rust
Raw Normal View History

use bevy::prelude::*;
fn main() {
App::build()
.add_default_plugins()
.add_system_fn("hello", |_| println!("hello world!"))
.run();
}