Refactor - Changed visibility of HellionToken classes used in separate Card classes in prep for card reorg

This commit is contained in:
JOAC69 2016-09-23 23:29:22 -05:00
parent ecde8dd0b3
commit 0d3b18c70d
2 changed files with 20 additions and 20 deletions

View file

@ -81,16 +81,16 @@ public class HellionCrucible extends CardImpl {
public HellionCrucible copy() {
return new HellionCrucible(this);
}
}
class HellionToken extends Token {
public HellionToken() {
super("Hellion", "4/4 red Hellion creature token with haste");
cardType.add(CardType.CREATURE);
color.setRed(true);
subtype.add("Hellion");
power = new MageInt(4);
toughness = new MageInt(4);
addAbility(HasteAbility.getInstance());
class HellionToken extends Token {
public HellionToken() {
super("Hellion", "4/4 red Hellion creature token with haste");
cardType.add(CardType.CREATURE);
color.setRed(true);
subtype.add("Hellion");
power = new MageInt(4);
toughness = new MageInt(4);
addAbility(HasteAbility.getInstance());
}
}
}

View file

@ -92,16 +92,16 @@ class HellionEruptionEffect extends OneShotEffect {
(new HellionToken()).putOntoBattlefield(permanents.size(), game, source.getSourceId(), source.getControllerId());
return true;
}
}
class HellionToken extends Token {
class HellionToken extends Token {
HellionToken() {
super("Hellion", "4/4 red Hellion creature token");
this.cardType.add(CardType.CREATURE);
this.color.setRed(true);
this.subtype.add("Hellion");
this.power = new MageInt(4);
this.toughness = new MageInt(4);
HellionToken() {
super("Hellion", "4/4 red Hellion creature token");
this.cardType.add(CardType.CREATURE);
this.color.setRed(true);
this.subtype.add("Hellion");
this.power = new MageInt(4);
this.toughness = new MageInt(4);
}
}
}
}