forked from External/mage
More correct checking for having subtypes (card.hasSubtype()). Changeling ability. Refactored all cards.
This commit is contained in:
parent
2da9518486
commit
f13ba5d7fb
24 changed files with 126 additions and 21 deletions
|
|
@ -206,6 +206,11 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
|
|||
return card.getSubtype();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasSubtype(String subtype) {
|
||||
return card.hasSubtype(subtype);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> getSupertype() {
|
||||
return card.getSupertype();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue