public static void Remove(IQuest quest) { if (quest is VocVM Voc) { VocControl.Remove(Voc); } else if (quest is PronVM pron) { PronControl.Remove(pron); } else if (quest is SpellVM spell) { SpellControl.Remove(spell); } quest.RemoveAllAttempts(); }
public static bool Update(IQuest quest) { if (quest is VocVM Voc) { return(VocControl.Update(Voc)); } else if (quest is PronVM pron) { return(PronControl.Update(pron)); } else if (quest is SpellVM spell) { return(SpellControl.Update(spell)); } return(false); }