Esempio n. 1
0
 public void SpreadOutNPCs()
 {
     if (npcContainer != null)
     {
         foreach (NPC npc in npcContainer)
         {
             Region region = regionManager.GetRandomRegion();
             if (region)
             {
                 region.AddNpcToRegion(npc);
             }
         }
     }
 }