- Complete re-work of the Realm Explorer and Zone Builder.

- Realm Explorer & Zone Builder now work together correctly.
 - Program.CurrentEditor now holds the currently running editor.
 - BaseObject.ToString() added to return the Name of the object if ToString() is used.
 - GetZone() method added to Realm.cs
This commit is contained in:
Scionwest_cp 2009-12-04 23:15:33 -08:00
parent 09fa576025
commit 3cfa72ef69
9 changed files with 330 additions and 298 deletions

View file

@ -14,5 +14,16 @@ namespace MudDesigner.MudEngine.Objects.Environment
{
Zones = new List<Zone>();
}
public Zone GetZone(string ZoneName)
{
foreach(Zone zone in Zones)
{
if (zone.Name == ZoneName)
return zone;
}
return null;
}
}
}