/// <summary> /// Initializes a new instance of the <see cref="CardGameBase" /> class. /// </summary> /// <param name="octgnGame">The octgn game.</param> /// <param name="gameType">Type of the game.</param> /// <param name="gameName">Name of the game.</param> protected CardGameBase(Game octgnGame, CardGameType gameType, string gameName) { OctgnGame = octgnGame; GameType = gameType; GameName = gameName; TranslationTable = new TranslationTable(gameType); AllCardsOfSelectedGame = octgnGame.AllCards() .Select(c => new WrappedMultiCard(1, c, TranslationTable)) .ToList(); }