incremental changes toward Vesuva

This commit is contained in:
jendave
2011-08-07 01:37:32 +00:00
parent 35a7c5c725
commit ff2886b46d
2 changed files with 3 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ public class CardFactory implements NewConstants {
return card2;
} else if (in.isLand()) {
Card card2 = new Card();
card2 = CardFactory_Lands.getCard(in, in.getName(), in.getOwner());
card2 = CardFactory_Lands.getCard(in, in.getName(), in.getOwner(), this);
return card2;
}
@@ -829,7 +829,7 @@ public class CardFactory implements NewConstants {
} else if (card.isPlaneswalker()) {
card2 = CardFactory_Planeswalkers.getCard(card, cardName, owner);
} else if (card.isLand()) {
card2 = CardFactory_Lands.getCard(card, cardName, owner);
card2 = CardFactory_Lands.getCard(card, cardName, owner, this);
} else if (card.isInstant()) {
card2 = CardFactory_Instants.getCard(card, cardName, owner);
} else if (card.isSorcery()) {

View File

@@ -29,7 +29,7 @@ import forge.gui.input.Input;
class CardFactory_Lands {
public static Card getCard(final Card card, final String cardName, Player owner) {
public static Card getCard(final Card card, final String cardName, Player owner, CardFactory cf) {
//*************** START *********** START **************************