mage/Utils/cardExtendedClass.tmpl

27 lines
641 B
Cheetah
Raw Normal View History

package mage.sets.[=$set=];
2013-06-16 09:39:03 +00:00
import java.util.UUID;[= if ($rarityExtended) {$OUT .= "\nimport mage.constants.Rarity;"}=]
/**
*
* @author [=$author=]
*/
2018-05-21 15:14:45 +00:00
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);
}
}