Exemple #1
0
 public void UpdateData(ModernMUD.Area area)
 {
     questList.Items.Clear();
     _area = area;
     if (area != null)
     {
         UpdateQuestList();
     }
     SetControlAvailability();
 }
 /// <summary>
 /// Sets the current area and updates the window contents.
 /// </summary>
 /// <param name="area"></param>
 public void UpdateData(ModernMUD.Area area)
 {
     _area = area;
     lstRepops.Items.Clear();
     if (_area != null)
     {
         foreach (RepopulationPoint repop in _area.Repops)
         {
             lstRepops.Items.Add(repop);
         }
     }
 }