This commit is contained in:
2022-04-16 19:28:08 -05:00
parent 4a171c4587
commit cd7a3aa817
4 changed files with 410 additions and 187 deletions
+1
View File
@@ -1 +1,2 @@
.direnv
/target /target
Generated
+404 -186
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
bevy = { version = "0.6", features = ["dynamic"] } bevy = { version = "0.7", features = ["dynamic", "wayland"] }
# Enable only a small amount of optimization in debug mode # Enable only a small amount of optimization in debug mode
[profile.dev] [profile.dev]
+4
View File
@@ -1,7 +1,11 @@
use bevy::prelude::*; use bevy::prelude::*;
#[derive(Component)]
struct Foo(u64);
fn main() { fn main() {
App::new() App::new()
.add_plugins(DefaultPlugins) .add_plugins(DefaultPlugins)
.add_system(bevy::input::system::exit_on_esc_system)
.run(); .run();
} }