forked from External/mage
duplicate continuouseffect for vehicles
This commit is contained in:
parent
2630c18e4b
commit
cf6fe27f7d
4 changed files with 59 additions and 73 deletions
|
|
@ -125,21 +125,25 @@ public interface MageObject extends MageItem, Serializable {
|
|||
return getSuperType().contains(SuperType.SNOW);
|
||||
}
|
||||
|
||||
default void addSuperType(SuperType superType){
|
||||
default void addSuperType(SuperType superType) {
|
||||
getSuperType().add(superType);
|
||||
}
|
||||
|
||||
default boolean isBasic() { return getSuperType().contains(SuperType.BASIC);}
|
||||
default boolean isBasic() {
|
||||
return getSuperType().contains(SuperType.BASIC);
|
||||
}
|
||||
|
||||
default boolean isWorld() {
|
||||
return getSuperType().contains(SuperType.WORLD);
|
||||
}
|
||||
|
||||
default void addCardType(CardType cardType) {
|
||||
getCardType().add(cardType);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether two cards share card types.
|
||||
*
|
||||
*
|
||||
* @param otherCard
|
||||
* @return
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue