duplicate continuouseffect for vehicles

This commit is contained in:
ingmargoudt 2017-04-05 15:28:48 +02:00
parent 2630c18e4b
commit cf6fe27f7d
4 changed files with 59 additions and 73 deletions

View file

@ -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
*/