public QuestEvent AddQuestEvent(string n, string d, GameObject l, float t = 0f, QuestManager.QuestComplete qE = null) { QuestEvent questEvent = new QuestEvent(n, d, l, t, qE); questEvents.Add(questEvent); return(questEvent); }
public QuestEvent(string n, string d, GameObject loc) { id = Guid.NewGuid().ToString(); name = n; description = d; status = EventStatus.WAITING; location = loc; evnt = null; }
public QuestEvent(string n, string d, GameObject loc, float isTimed = 0f, QuestManager.QuestComplete questEvent = null) { id = Guid.NewGuid().ToString(); name = n; description = d; status = EventStatus.WAITING; location = loc; duration = isTimed; evnt = questEvent; }