Finish the engine upgrade
Some checks failed
Basic checks / Basic build-and-test supertask (push) Failing after 2m1s

Events have been replaced with Messages, import paths have been updated
for new engine module layout, and minor API changes have been matched.
This commit is contained in:
2025-12-17 10:13:11 -06:00
parent 6e425e8eb9
commit a48dfc1d65
10 changed files with 873 additions and 1715 deletions

View File

@@ -89,7 +89,7 @@ pub(crate) fn wrap_entities(
/// | Bullet & Bullet | Nothing. Bullets won't collide with each other (and probably can't under normal gameplay conditions) |
/// | Bullet & Ship | Nothing. The player shouldn't be able to shoot themselves (and the Flying Saucer hasn't been impl.'d, so it's bullets don't count) |
pub fn collision_listener(
mut collisions: BufferedReader<CollisionEvent>,
mut collisions: MessageReader<CollisionEvent>,
mut ship_writer: MessageWriter<messages::ShipDestroy>,
mut asteroid_writer: MessageWriter<messages::AsteroidDestroy>,
mut bullet_writer: MessageWriter<messages::BulletDestroy>,