Exemple #1
0
 private void DoNextWord()
 {
     ClearEverything();
     currentWord = wordProvider.GetRandomWordWithChoices();
     lblCurrentWord.Text = currentWord.Word;
     FillOptions();
 }
        //Insert a record to dictionary
        public void RecordChoice(ChoiceStats selectedChoice, EventStats choiceEvent)
        {
            ImplementEffect(selectedChoice.Effect);

            if (!IsChoiceSelected(selectedChoice.ChoiceID, selectedChoice.UniqueID))
            {
                ChoiceRecord choiceRecord = new ChoiceRecord();
                choiceRecord.selectedChoice = selectedChoice;
                choiceRecord.choiceEvent    = choiceEvent;

                SelecteChoiceRecord.Add(choiceRecord);
            }
        }