Update bevy version, implement bevy_rand

This commit is contained in:
2025-09-07 20:05:00 +01:00
parent 7e52d6e1bd
commit feed403495
6 changed files with 315 additions and 192 deletions
+4
View File
@@ -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)