From c55472f8fdc7cc5a866e7724622367e3b5e30e24 Mon Sep 17 00:00:00 2001 From: Sol Date: Sun, 25 Nov 2012 21:59:55 +0000 Subject: [PATCH] - Small renaming in GameAction --- src/main/java/forge/GameAction.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/forge/GameAction.java b/src/main/java/forge/GameAction.java index 8d65aedec07..566ab620362 100644 --- a/src/main/java/forge/GameAction.java +++ b/src/main/java/forge/GameAction.java @@ -1216,8 +1216,8 @@ public class GameAction { } */ - this.destroyLegendaryCreatures(); - this.destroyPlaneswalkers(); + this.handleLegendRule(); + this.handlePlaneswalkerRule(); if (!refreeze) { game.getStack().unfreezeStack(); @@ -1229,7 +1229,7 @@ public class GameAction { * destroyPlaneswalkers. *

*/ - private void destroyPlaneswalkers() { + private void handlePlaneswalkerRule() { // get all Planeswalkers final List list = CardLists.filter(game.getCardsIn(ZoneType.Battlefield), CardPredicates.Presets.PLANEWALKERS); @@ -1265,7 +1265,7 @@ public class GameAction { * destroyLegendaryCreatures. *

*/ - private void destroyLegendaryCreatures() { + private void handleLegendRule() { final List a = CardLists.getType(game.getCardsIn(ZoneType.Battlefield), "Legendary"); if (a.isEmpty() || game.getStaticEffects().getGlobalRuleChange(GlobalRuleChange.noLegendRule)) { return;