public override void Execute(QuestSegment segment) { Globals.UI.Show <QuestScreen, QuizScreenModel>(new QuizScreenModel( title: QuestSystem.QuestMessageIntro, message: Message, caption: segment.caption, icon: segment.image, choices: new ObservableCollection <ButtonViewModel> { new ButtonViewModel { Label = "OK", OnClick = () => Globals.UI.Hide <QuestScreen>() } } )); Globals.Quests.CompleteQuestSegment(segment); }
public abstract void Execute(QuestSegment segment);
// just immediately start the next quest with no additional popups public override void Execute(QuestSegment segment) { Globals.Quests.CompleteQuestSegment(segment); }
public override void Execute(QuestSegment segment) { Quizzes.QuizSystem.StartQuiz(QuizName, () => Globals.Quests.CompleteQuestSegment(segment)); }