public override double CalculateWinnings(Pocket pocket) { double winnings = 0 - Amount; if ((Parity == Parity.Even && pocket.IsEven() == 1) || (Parity == Parity.Odd && pocket.IsEven() == 0)) { winnings += Amount * 2; } return(winnings); }