Example #1
0
 public void OnDisable()
 {
     if (ApplicationHelper.IsPlaying)
     {
         _roster.DestroyCreatures();
     }
 }
Example #2
0
        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();
        }