Finish the engine upgrade
Some checks failed
Basic checks / Basic build-and-test supertask (push) Failing after 2m1s
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:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user