Update bevy version, implement bevy_rand
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use bevy::prelude::*;
|
||||
use bevy_rand::prelude::*;
|
||||
|
||||
mod camera;
|
||||
mod citizen;
|
||||
@@ -30,6 +31,9 @@ fn main() {
|
||||
})
|
||||
.set(ImagePlugin::default_nearest()),
|
||||
)
|
||||
.add_plugins(bevy_rand::plugin::EntropyPlugin::<WyRand>::with_seed(
|
||||
(constants::SEED as u64).to_le_bytes(),
|
||||
))
|
||||
.insert_resource(ClearColor(Color::srgb(0., 0., 0.)))
|
||||
.add_plugins(tilemap::TilemapPlugin)
|
||||
.add_plugins(citizen::PathfindingPlugin)
|
||||
|
||||
Reference in New Issue
Block a user