Move asteroid spawning & splitting systems

They deal with events, but are directly related to how the Asteroid
object interacts with the events, so I'm putting them here.
This commit is contained in:
2025-08-11 22:54:59 -05:00
parent c1b69c412a
commit 619037dab0
3 changed files with 93 additions and 85 deletions

View File

@@ -55,8 +55,8 @@ impl Plugin for AsteroidPlugin {
input_ship_shoot,
physics::wrap_entities,
asteroids::tick_asteroid_manager,
asteroids::spawn_asteroid.after(asteroids::tick_asteroid_manager),
asteroids::split_asteroids,
objects::spawn_asteroid.after(asteroids::tick_asteroid_manager),
objects::split_asteroids,
ship::bullet_impact_listener,
ship::ship_impact_listener,
collision_listener,