various "different name" refactors

This commit is contained in:
theelk801 2024-09-20 17:12:09 -04:00
parent d18bd25d21
commit 7d33b2230d
17 changed files with 222 additions and 255 deletions

View file

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