Merge branch 'map-builders' of ssh://gitdan.com:22022/daniel/adventure-game into map-builders

This commit is contained in:
Daniel Lynn 2021-08-21 17:13:33 -05:00
commit 841a83acb7
Signed by: daniel
GPG Key ID: 28496A140E180A9D
3 changed files with 5 additions and 0 deletions

2
Cargo.lock generated
View File

@ -35,6 +35,8 @@ name = "adventure-game"
version = "0.1.0"
dependencies = [
"bevy",
"getrandom",
"rand",
]
[[package]]

View File

@ -8,6 +8,8 @@ edition = "2018"
[dependencies]
bevy = { version = "0.5", features = ["dynamic"] }
rand = "0.8"
getrandom = { version = "0.2", features = ["wasm-bindgen"] }
[profile.dev.package."*"]
opt-level = 3

View File

@ -14,6 +14,7 @@ mod prelude {
diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin},
prelude::*,
};
pub use rand::prelude::*;
pub const MAP_WIDTH: i32 = 80;
pub const MAP_HEIGHT: i32 = 50;