public void OnDisable() { if (ApplicationHelper.IsPlaying) { _roster.DestroyCreatures(); } }
protected virtual IEnumerator RunEncounter(Creature creature) { Roster.AddCreature(creature); if (Instructions != null && Instructions.Instruction != null) { yield return(Instructions.Execute(WorldManager.Instance.Context, this)); } Roster.DestroyCreatures(); }