made permanent tokens from framework compliant with new abstract superclass

This commit is contained in:
Marc Zwart 2018-04-02 17:47:04 +02:00
parent 2d922cb6af
commit 03eb170a04
341 changed files with 2690 additions and 40 deletions

View file

@ -49,14 +49,10 @@ public class GoldToken extends Token {
}
public GoldToken() {
this(null, 0);
this((String)null);
}
public GoldToken(String setCode) {
this(setCode, 0);
}
public GoldToken(String setCode, int tokenType) {
super("Gold", "colorless artifact token named Gold with \"Sacrifice this artifact: Add one mana of any color to your mana pool.\"");
availableImageSetCodes = tokenImageSets;
setOriginalExpansionSetCode(setCode);
@ -64,4 +60,12 @@ public class GoldToken extends Token {
this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(), new SacrificeSourceCost()));
}
public GoldToken(final GoldToken token) {
super(token);
}
public GoldToken copy() {
return new GoldToken(this);
}
}