mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Refactor: fixed miss token constructors
This commit is contained in:
parent
c3b54648a5
commit
dddb7363b2
5 changed files with 20 additions and 0 deletions
|
@ -11,6 +11,10 @@ import java.util.Arrays;
|
||||||
*/
|
*/
|
||||||
public final class PhyrexianHorrorGreenToken extends TokenImpl {
|
public final class PhyrexianHorrorGreenToken extends TokenImpl {
|
||||||
|
|
||||||
|
public PhyrexianHorrorGreenToken() {
|
||||||
|
this(0);
|
||||||
|
}
|
||||||
|
|
||||||
public PhyrexianHorrorGreenToken(int xValue) {
|
public PhyrexianHorrorGreenToken(int xValue) {
|
||||||
super("Phyrexian Horror Token", "X/X green Phyrexian Horror creature token");
|
super("Phyrexian Horror Token", "X/X green Phyrexian Horror creature token");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
|
|
|
@ -13,6 +13,10 @@ import java.util.Arrays;
|
||||||
*/
|
*/
|
||||||
public final class PhyrexianHorrorRedToken extends TokenImpl {
|
public final class PhyrexianHorrorRedToken extends TokenImpl {
|
||||||
|
|
||||||
|
public PhyrexianHorrorRedToken() {
|
||||||
|
this(0);
|
||||||
|
}
|
||||||
|
|
||||||
public PhyrexianHorrorRedToken(int xValue) {
|
public PhyrexianHorrorRedToken(int xValue) {
|
||||||
super("Phyrexian Horror Token", "X/1 red Phyrexian Horror creature token with trample and haste");
|
super("Phyrexian Horror Token", "X/1 red Phyrexian Horror creature token with trample and haste");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
|
|
|
@ -10,6 +10,10 @@ import mage.constants.SubType;
|
||||||
*/
|
*/
|
||||||
public final class RiptideReplicatorToken extends TokenImpl {
|
public final class RiptideReplicatorToken extends TokenImpl {
|
||||||
|
|
||||||
|
public RiptideReplicatorToken() {
|
||||||
|
this(new ObjectColor(), SubType.BEAR, 0);
|
||||||
|
}
|
||||||
|
|
||||||
public RiptideReplicatorToken(ObjectColor color, SubType type, int x) {
|
public RiptideReplicatorToken(ObjectColor color, SubType type, int x) {
|
||||||
super(type.getDescription() + " Token", "X/X creature token of the chosen color and type");
|
super(type.getDescription() + " Token", "X/X creature token of the chosen color and type");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
|
|
|
@ -11,6 +11,10 @@ import java.util.Arrays;
|
||||||
*/
|
*/
|
||||||
public final class SpiritGreenXToken extends TokenImpl {
|
public final class SpiritGreenXToken extends TokenImpl {
|
||||||
|
|
||||||
|
public SpiritGreenXToken() {
|
||||||
|
this(0);
|
||||||
|
}
|
||||||
|
|
||||||
public SpiritGreenXToken(int xValue) {
|
public SpiritGreenXToken(int xValue) {
|
||||||
super("Spirit Token", "X/X green Spirit creature token");
|
super("Spirit Token", "X/X green Spirit creature token");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
|
|
|
@ -10,6 +10,10 @@ import mage.constants.SubType;
|
||||||
*/
|
*/
|
||||||
public final class VolrathsLaboratoryToken extends TokenImpl {
|
public final class VolrathsLaboratoryToken extends TokenImpl {
|
||||||
|
|
||||||
|
public VolrathsLaboratoryToken() {
|
||||||
|
this(new ObjectColor(), SubType.BEAR);
|
||||||
|
}
|
||||||
|
|
||||||
public VolrathsLaboratoryToken(ObjectColor color, SubType type) {
|
public VolrathsLaboratoryToken(ObjectColor color, SubType type) {
|
||||||
super(type.getDescription() + " Token", "2/2 creature token of the chosen color and type");
|
super(type.getDescription() + " Token", "2/2 creature token of the chosen color and type");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
|
|
Loading…
Reference in a new issue