Function de_combat::attack::aim_and_fire

source ·
fn aim_and_fire(
    attackers: Query<'_, '_, (Entity, &mut LaserCannon, &Attacking)>,
    sightline: LineOfSight<'_, '_>,
    events: EventWriter<'_, LaserFireEvent>
)