MudEngine:

- Re-organized property layout in Game.cs
 - Realm now automatically sets Zone.Realm when a Zone is added via Realm.AddZone()
 - Zone now automatically sets Room.Zone and Room.Realm when Room is added via Zone.AddRoom()

MudOfflineExample:
 - Updated to reflect the changes made to MudEngine.
This commit is contained in:
Scionwest_cp 2010-08-07 10:11:42 -07:00
parent 765966745d
commit 26afd9a9e1
4 changed files with 37 additions and 38 deletions

View file

@ -122,6 +122,8 @@ namespace MudEngine.GameObjects.Environment
//TODO: Check for duplicate Rooms.
RoomCollection.Add(room);
room.Zone = Name;
room.Realm = Realm;
}
public void LinkRooms(AvailableTravelDirections departureDirection, Room arrivalRoom, Room departureRoom)