diff --git a/src/main/java/forge/ComputerUtil.java b/src/main/java/forge/ComputerUtil.java index b812862d762..d6c1e92f6b1 100644 --- a/src/main/java/forge/ComputerUtil.java +++ b/src/main/java/forge/ComputerUtil.java @@ -29,18 +29,6 @@ import forge.card.spellability.Target; */ public class ComputerUtil { - // if return true, go to next phase - /** - *
- * playCards. - *
- * - * @return a boolean. - */ - public static boolean playCards() { - return playCards(getSpellAbility()); - } - // if return true, go to next phase /** *@@ -339,46 +327,6 @@ public class ComputerUtil { } } // play() - // gets Spells of cards in hand and Abilities of cards in play - // checks to see - // 1. if canPlay() returns true, 2. can pay for mana - /** - *
- * getSpellAbility. - *
- * - * @return an array of {@link forge.card.spellability.SpellAbility} objects. - */ - public static SpellAbility[] getSpellAbility() { - CardList all = new CardList(); - all.addAll(AllZone.getComputerPlayer().getCardsIn(Zone.Battlefield)); - all.addAll(AllZone.getComputerPlayer().getCardsIn(Zone.Hand)); - all.addAll(CardFactoryUtil.getExternalZoneActivationCards(AllZone.getComputerPlayer())); - - CardList humanPlayable = new CardList(); - humanPlayable.addAll(AllZone.getHumanPlayer().getCardsIn(Zone.Battlefield)); - humanPlayable = humanPlayable.filter(new CardListFilter() { - public boolean addCard(final Card c) { - return (c.canAnyPlayerActivate()); - } - }); - - all.addAll(humanPlayable); - - ArrayList