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 17:42:22 +00:00
fn hello_world_system() {
2020-04-30 17:42:22 +00:00
println!("hello world");
2020-05-01 05:30:51 +00:00
}