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:
Evan Kranzler 2022-10-05 12:00:59 -04:00 committed by GitHub
parent d21f2e43dd
commit 5a4d755dba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 197 additions and 154 deletions

View file

@ -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);