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() { public HellionCrucible copy() {
return new HellionCrucible(this); return new HellionCrucible(this);
} }
}
class HellionToken extends Token { class HellionToken extends Token {
public HellionToken() { public HellionToken() {
super("Hellion", "4/4 red Hellion creature token with haste"); super("Hellion", "4/4 red Hellion creature token with haste");
cardType.add(CardType.CREATURE); cardType.add(CardType.CREATURE);
color.setRed(true); color.setRed(true);
subtype.add("Hellion"); subtype.add("Hellion");
power = new MageInt(4); power = new MageInt(4);
toughness = new MageInt(4); toughness = new MageInt(4);
addAbility(HasteAbility.getInstance()); addAbility(HasteAbility.getInstance());
}
} }
} }

View file

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