bevy/examples/hello_world.rs

13 lines
208 B
Rust
Raw Normal View History

use bevy::prelude::*;
fn main() {
App::build()
.add_default_plugins()
.add_system(hello_world_system.system())
.run();
}
2020-04-30 10:42:22 -07:00
fn hello_world_system() {
2020-04-30 10:42:22 -07:00
println!("hello world");
2020-04-30 22:30:51 -07:00
}