java.lang.Object
polimi.ingsw.am21.codex.model.Cards.Commons.CardPair.CardPairBase<T>
polimi.ingsw.am21.codex.model.Cards.Commons.CardPair.CardPair<T>
All Implemented Interfaces:
Serializable

public class CardPair<T extends Card> extends CardPairBase<T>
See Also:
  • Constructor Details

    • CardPair

      public CardPair(T firstCard, T secondCard)
  • Method Details

    • fromCardIndexPair

      public static <T extends Card> CardPair<T> fromCardIndexPair(CardsLoader cardsLoader, CardIdPair cardIdPair)
      Creates a CardPair from a CardIdPair