Function de_combat::attack::attack

source ·
fn attack(
    commands: Commands<'_, '_>,
    attack_events: EventReader<'_, '_, AttackEvent>,
    cannons: Query<'_, '_, &LaserCannon>,
    chase_events: EventWriter<'_, ChaseTargetEvent>
)