Move SpawnAsteroid event into events.rs

This commit is contained in:
2025-08-11 19:16:34 -05:00
parent 571b910945
commit f4484f759f
3 changed files with 11 additions and 10 deletions

View File

@@ -73,7 +73,7 @@ impl Plugin for AsteroidPlugin {
)
.run_if(in_state(GameState::Playing)),
)
.add_event::<asteroids::SpawnAsteroid>()
.add_event::<events::SpawnAsteroid>()
.add_event::<events::AsteroidDestroy>()
.add_event::<events::ShipDestroy>()
.add_event::<events::BulletDestroy>();