updateScope(verbsInScope, verbs, action);
printScope(new TreeSet<ConjugatedVerb>(verbsInScope), "Verbs");
return true;
}
else if (command instanceof MoodCommand) {
MoodCommand moodCommand = (MoodCommand) command;
Set<Mood> moods = new HashSet<Mood>(moodCommand.getMoods());
Set<Tense> tenses = new HashSet<Tense>();
for (Mood mood : moods) {
tenses.addAll(mood.getTenses());
}
updateScope(tensesInScope, tenses, action);