From 23920a069696122e91738d03260c3599008c63aa Mon Sep 17 00:00:00 2001 From: Kevin Shin Date: Sat, 25 Aug 2018 23:26:55 -0500 Subject: [PATCH] remove new class that ended unused --- .../main/java/mage/cards/AuraCreature.java | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 Mage/src/main/java/mage/cards/AuraCreature.java diff --git a/Mage/src/main/java/mage/cards/AuraCreature.java b/Mage/src/main/java/mage/cards/AuraCreature.java deleted file mode 100644 index 8e67a9398e..0000000000 --- a/Mage/src/main/java/mage/cards/AuraCreature.java +++ /dev/null @@ -1,39 +0,0 @@ -package mage.cards; - -import java.util.List; -import java.util.UUID; -import mage.constants.CardType; -import mage.constants.Zone; -import mage.game.Game; - -/** - * A class to represent creature cards that can be auras. - * i.e., cards with bestow and licids - * @author kevinwshin - */ -public abstract class AuraCreature extends CardImpl{ - - public AuraCreature(UUID ownerId, CardSetInfo setInfo, CardType[] cardTypes, String costs) { - super(ownerId, setInfo, cardTypes, costs); - } - - //unattach all attached permanents after moving to exile - @Override - public boolean moveToExile(UUID exileId, String name, UUID sourceId, Game game, List appliedEffects) { - boolean successfullyMoved = super.moveToExile(exileId, name, sourceId, game, appliedEffects); - unattach(); - return successfullyMoved; - } - - @Override - public boolean moveToZone(Zone toZone, UUID sourceId, Game game, boolean flag, List appliedEffects) { - boolean successfullyMoved = super.moveToZone(toZone, sourceId, game, flag); - unattach(); - return successfullyMoved; - } - - private void unattach() { - //GameImpl.java:1980 - } - -}