public int GetActiveCardCountByType(CommonCardData.CardType cardType) => activeCards.Count(card => card.Data.Type == cardType);
public CardTypeOwnEffect(PlayerDirection[] playerDirection, CommonCardData.CardType cardType, int currentMoneyBonus) { PlayerDirection = playerDirection; CardType = cardType; CurrentMoneyBonus = currentMoneyBonus; }
public CardTypeOwnVictoryEffect(PlayerDirection[] playerDirection, CommonCardData.CardType cardType, int currentMoneyBonus) : base(playerDirection, cardType, currentMoneyBonus) { }