Module polimi.ingsw.am21.codex
Class CardPair<T extends Card>
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
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromCardIndexPair
(CardsLoader cardsLoader, CardIdPair cardIdPair) Creates a CardPair from a CardIdPairMethods inherited from class polimi.ingsw.am21.codex.model.Cards.Commons.CardPair.CardPairBase
getFirst, getSecond, replaceFirst, replaceSecond, swap
-
Constructor Details
-
CardPair
-
-
Method Details
-
fromCardIndexPair
public static <T extends Card> CardPair<T> fromCardIndexPair(CardsLoader cardsLoader, CardIdPair cardIdPair) Creates a CardPair from a CardIdPair
-