This commit is contained in:
Daniel Lynn 2022-04-16 19:28:08 -05:00
parent 4a171c4587
commit cd7a3aa817
Signed by: daniel
GPG Key ID: 655C07B9B3DDC88B
4 changed files with 410 additions and 187 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.direnv
/target /target

590
Cargo.lock generated

File diff suppressed because it is too large Load Diff

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]

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();
} }