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:
parent
765966745d
commit
26afd9a9e1
4 changed files with 37 additions and 38 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue