private void destroyLegendaryCreatures() {
        CardList a = AllZoneUtil.getTypeInPlay("Legendary");

        while (!a.isEmpty() && !AllZoneUtil.isCardInPlay("Mirror Gallery")) {
            CardList b = AllZoneUtil.getCardsInPlay(a.get(0).getName());
            a.remove(0);
            if (1 < b.size()) {
                for (int i = 0; i < b.size(); i++)
                    AllZone.getGameAction().sacrificeDestroy(b.get(i));
            }
        }
    }//destroyLegendaryCreatures()