Skip to content

Commit

Permalink
spawn more apples
Browse files Browse the repository at this point in the history
Signed-off-by: Agustín Ramiro Díaz <[email protected]>
  • Loading branch information
AgustinRamiroDiaz committed Jan 7, 2024
1 parent b493874 commit a8c8f88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/apple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ impl Plugin for ApplePlugin {

fn setup(mut commands: Commands, assets: Res<SceneAssets>) {
spawn_apple(&mut commands, &assets);
spawn_apple(&mut commands, &assets);
spawn_apple(&mut commands, &assets);
spawn_apple(&mut commands, &assets);
}

fn spawn_apple(commands: &mut Commands, assets: &Res<SceneAssets>) {
Expand Down

0 comments on commit a8c8f88

Please sign in to comment.