forked from External/mage
huge rework on subtypes (#3668)
* huge rework on subtypes * update for coat of arms * fix test
This commit is contained in:
parent
81fb4b5d92
commit
09f0c9ad97
185 changed files with 1068 additions and 906 deletions
|
|
@ -39,13 +39,14 @@ import mage.abilities.costs.mana.ManaCosts;
|
|||
import mage.cards.Card;
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.ZoneChangeEvent;
|
||||
import mage.util.GameLog;
|
||||
import mage.util.SubTypeList;
|
||||
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
public class Commander implements CommandObject {
|
||||
|
|
@ -118,12 +119,12 @@ public class Commander implements CommandObject {
|
|||
}
|
||||
|
||||
@Override
|
||||
public List<String> getSubtype(Game game) {
|
||||
public SubTypeList getSubtype(Game game) {
|
||||
return sourceObject.getSubtype(game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasSubtype(String subtype, Game game) {
|
||||
public boolean hasSubtype(SubType subtype, Game game) {
|
||||
return sourceObject.hasSubtype(subtype, game);
|
||||
}
|
||||
|
||||
|
|
@ -228,4 +229,7 @@ public class Commander implements CommandObject {
|
|||
sourceObject.setZoneChangeCounter(value, game);
|
||||
}
|
||||
|
||||
public boolean isAllCreatureTypes() { return false;}
|
||||
|
||||
public void setIsAllCreatureTypes(boolean value){}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue