[EMN] Implemented basic Meld functionality.

This commit is contained in:
emerald000 2016-07-11 04:49:40 -04:00
parent cb91282f9e
commit e1b3428a39
14 changed files with 1053 additions and 136 deletions

View file

@ -47,6 +47,7 @@ import mage.abilities.effects.PreventionEffectData;
import mage.actions.impl.MageAction;
import mage.cards.Card;
import mage.cards.Cards;
import mage.cards.MeldCard;
import mage.cards.decks.Deck;
import mage.choices.Choice;
import mage.constants.Duration;
@ -93,6 +94,10 @@ public interface Game extends MageItem, Serializable {
Collection<Card> getCards();
MeldCard getMeldCard(UUID meldId);
void addMeldCard(UUID meldId, MeldCard meldCard);
Object getCustomData();
void setCustomData(Object data);
@ -348,7 +353,7 @@ public interface Game extends MageItem, Serializable {
void setManaPaymentMode(UUID playerId, boolean autoPayment);
void setManaPaymentModeRestricted(UUID playerId, boolean autoPaymentRestricted);
void setUseFirstManaAbility(UUID playerId, boolean useFirstManaAbility);
void undo(UUID playerId);