forked from External/mage
Some changes to meld implementation (#9620)
* some surface-level tweaks to meld implementation * add default implementation for meldsWith method * move nightcard declaration to meldcard constructor * remove unused variable declaration
This commit is contained in:
parent
d21f2e43dd
commit
5a4d755dba
18 changed files with 197 additions and 154 deletions
|
|
@ -76,6 +76,10 @@ public interface Card extends MageObject {
|
|||
|
||||
boolean isNightCard();
|
||||
|
||||
default boolean meldsWith(Card card) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void assignNewId();
|
||||
|
||||
void addInfo(String key, String value, Game game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue