// ------------------------------------------------------------ public Library(IPlayer player, LibraryData deckData, Configurations configurations) { if (deckData == null) { Debug.LogError("A deck can't have null cards"); } Deck = deckData; Owner = player; Configurations = configurations; cardDataRegister = Deck.GetCards(); }