mage/Utils/cardExtendedClass.tmpl
2018-06-02 17:59:49 +02:00

26 lines
641 B
Cheetah

package mage.sets.[=$set=];
import java.util.UUID;[= if ($rarityExtended) {$OUT .= "\nimport mage.constants.Rarity;"}=]
/**
*
* @author [=$author=]
*/
public final class [=$className=] extends mage.sets.[=$baseSet=].[=$className=] {
public [=$className=](UUID ownerId) {
super(ownerId);
this.cardNumber = "[=$cardNumber=]";
this.expansionSetCode = "[=$expansionSetCode=]";[=$rarityExtended=]
}
public [=$className=](final [=$className=] card) {
super(card);
}
@Override
public [=$className=] copy() {
return new [=$className=](this);
}
}