Make only playable area seeded

This commit is contained in:
Michael Bradley 2025-05-23 23:49:11 -04:00
parent 10a6bad336
commit 10b525e4c7
Signed by: MichaelBradley
SSH key fingerprint: SHA256:o/aaeYtRubILK7OYYjYP12DmU7BsPUhKji1AgaQ+ge4
2 changed files with 8 additions and 11 deletions

View file

@ -7,7 +7,7 @@ mod game;
use game::{
runtime::{move_camera, move_player, quit, zoom_camera},
seed::Seed,
setup::{setup_balls, setup_player, setup_pseudo_random, setup_ui, setup_walls},
setup::{setup_balls, setup_from_seed, setup_player, setup_ui, setup_walls},
};
/// The initial configuration passed to the game's setup functions.
@ -39,9 +39,9 @@ impl Plugin for AppSettings {
.add_systems(
Startup,
(
setup_pseudo_random,
setup_from_seed,
setup_ui,
(setup_player, setup_balls, setup_walls).after(setup_pseudo_random),
(setup_player, setup_balls, setup_walls).after(setup_from_seed),
),
)
.add_systems(