- 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:
parent
09fa576025
commit
3cfa72ef69
9 changed files with 330 additions and 298 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue