mirror of
https://github.com/magefree/mage.git
synced 2026-01-20 10:20:00 -08:00
various "different name" refactors
This commit is contained in:
parent
d18bd25d21
commit
7d33b2230d
17 changed files with 222 additions and 255 deletions
|
|
@ -794,6 +794,11 @@ public final class CardUtil {
|
|||
return object == null || haveEmptyName(object.getName());
|
||||
}
|
||||
|
||||
public static int differentlyNamedAmongCollection(Collection<? extends MageObject> collection, Game game) {
|
||||
// TODO: Implement this
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static UUID getMainCardId(Game game, UUID objectId) {
|
||||
Card card = game.getCard(objectId);
|
||||
return card != null ? card.getMainCard().getId() : objectId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue