MudEngine:
- GameWorld.AddRealm() method replaced with GameWorld.AddObject(). It accepts any Type passed to it. You can now supply a Zone to it (provided the Zone.Realm property is set first) and the method will add the Zone into the appropriate Realm for you. - Began converting certain enumerated items to LINQ MudGame: - Updated scripts to reflect the GameWorld changes.
This commit is contained in:
parent
c7d227745c
commit
ce910a5fd0
6 changed files with 59 additions and 6 deletions
|
@ -14,7 +14,7 @@ public class WorldCalifornia
|
|||
myRealm.Name = "California";
|
||||
myRealm.Description = "The Beaches of California are relaxing and fun to be at.";
|
||||
myRealm.IsInitialRealm = true;
|
||||
_Game.World.AddRealm(myRealm);
|
||||
_Game.World.AddObject(myRealm);
|
||||
|
||||
Zone myZone = new Zone(_Game);
|
||||
myZone.Name = "San Diego";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue