- Cleaned up the code within the editor. Realm Explorer: - Some UI adjustments. Room Designer: - Program.Room is no longer re-instanced after the room designer saves a room. Toolkit Launcher: - Zone and Room edior buttons removed. They can now only be accessed via the Realm Explorer. - Changed the Toolkit Title. Zone Builder: - Began Room Doorway linking UI design. Mud Engine: - Zones now instance the Rooms collection. - Travel Directions now moved from Environment namespace and placed within Objects namespace. - Travel Directions now contains a class and method for returning the opposite direction provided. (ex: GetReverseDirection(TravelDirections.West) returns East).
25 lines
526 B
C#
25 lines
526 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MudDesigner.MudEngine.Objects.Environment
|
|
{
|
|
public class Zone : BaseObject
|
|
{
|
|
[System.ComponentModel.Browsable(false)]
|
|
public string Realm
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[System.ComponentModel.Browsable(false)]
|
|
public List<Room> Rooms { get; set; }
|
|
|
|
public Zone()
|
|
{
|
|
Rooms = new List<Room>();
|
|
}
|
|
}
|
|
}
|