Example #1
0
    private void AddWorkoutProgress(WordLeo word, WorkoutNames workout)
    {
        switch (workout)
        {
        case WorkoutNames.WordTranslate:
        case WorkoutNames.reiteration:
            word.LearnWordTranslate();
            break;

        case WorkoutNames.TranslateWord:
            word.LearnTranslateWord();
            break;

        case WorkoutNames.Audio:
            word.LearnAudio();
            break;

        case WorkoutNames.Puzzle:
            word.LearnPuzzle();
            break;
        }
    }