forked from External/mage
[EMN] Implemented basic Meld functionality.
This commit is contained in:
parent
cb91282f9e
commit
e1b3428a39
14 changed files with 1053 additions and 136 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue