first few Tokens from sets module made compliant with abstract Token class

This commit is contained in:
Marc Zwart 2018-04-02 17:48:39 +02:00
parent a68cac5a2b
commit 3ff34051ce
5 changed files with 56 additions and 0 deletions

View file

@ -89,5 +89,13 @@ public class AwakenTheAncient extends CardImpl {
toughness = new MageInt(7);
this.addAbility(HasteAbility.getInstance());
}
public GiantToken(final GiantToken token) {
super(token);
}
public GiantToken copy() {
return new GiantToken(this);
}
}
}

View file

@ -114,6 +114,14 @@ public class FigureOfDestiny extends CardImpl {
this.power = new MageInt(2);
this.toughness = new MageInt(2);
}
public FigureOfDestinyToken1(final FigureOfDestinyToken1 token) {
super(token);
}
public FigureOfDestinyToken1 copy() {
return new FigureOfDestinyToken1(this);
}
}
private class FigureOfDestinyToken2 extends Token {
@ -130,6 +138,14 @@ public class FigureOfDestiny extends CardImpl {
this.power = new MageInt(4);
this.toughness = new MageInt(4);
}
public FigureOfDestinyToken2(final FigureOfDestinyToken2 token) {
super(token);
}
public FigureOfDestinyToken2 copy() {
return new FigureOfDestinyToken2(this);
}
}
private class FigureOfDestinyToken3 extends Token {
@ -149,5 +165,13 @@ public class FigureOfDestiny extends CardImpl {
this.addAbility(FlyingAbility.getInstance());
this.addAbility(FirstStrikeAbility.getInstance());
}
public FigureOfDestinyToken3(final FigureOfDestinyToken3 token) {
super(token);
}
public FigureOfDestinyToken3 copy() {
return new FigureOfDestinyToken3(this);
}
}
}

View file

@ -94,5 +94,13 @@ public class GenjuOfTheFalls extends CardImpl {
toughness = new MageInt(2);
addAbility(FlyingAbility.getInstance());
}
public SpiritToken(final SpiritToken token) {
super(token);
}
public SpiritToken copy() {
return new SpiritToken(this);
}
}
}

View file

@ -95,5 +95,13 @@ public class GenjuOfTheFens extends CardImpl {
toughness = new MageInt(2);
addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl("{B}")));
}
public SpiritToken(final SpiritToken token) {
super(token);
}
public SpiritToken copy() {
return new SpiritToken(this);
}
}
}

View file

@ -105,4 +105,12 @@ class HoundToken extends Token {
power = new MageInt(1);
toughness = new MageInt(1);
}
public HoundToken(final HoundToken token) {
super(token);
}
public HoundToken copy() {
return new HoundToken(this);
}
}