public void Reset(IncorrectSetBehavior incorrectBehavior, bool autoDeal, bool ensureSets, bool penaltyOnDealWithSets, bool trainingMode, bool drawThree, bool instantDeal) { Dealer.Reset(); Dealer.ShuffleDrawPile(); _CurrentTime = TimeSpan.Zero; _NumHints = 0; _CollectedSets = 0; _MissedSets = 0; _DealsWithSets = 0; SetProperties(incorrectBehavior, autoDeal, ensureSets, penaltyOnDealWithSets, trainingMode, drawThree, instantDeal); }
private void SetProperties(IncorrectSetBehavior incorrectBehavior, bool autoDeal, bool ensureSets, bool penaltyOnDealWithSets, bool trainingMode, bool drawThree, bool instantDeal) { IncorrectBehavior = incorrectBehavior; AutoDeal = autoDeal; EnsureSets = ensureSets; PenaltyOnDealWithSets = penaltyOnDealWithSets; TrainingMode = trainingMode; DrawThree = drawThree; InstantDeal = instantDeal; Dealer.InstantDeal = InstantDeal; Dealer.ShowHighlights = TrainingMode; }