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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user