Make only playable area seeded
This commit is contained in:
parent
10a6bad336
commit
10b525e4c7
2 changed files with 8 additions and 11 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue