Basic Realm->Zone->Room combination is now created during World.Initialize(). This will be replaced with loading XML instead of hard-coding.

Newly created characters are assigned to the new World.StartLocation.
Rooms can now be connected.
Realms and Zones can create Zones and Rooms accordingly
Force moving of a character is now supported.  Walking has yet to be implemented.
This commit is contained in:
Scionwest_cp 2012-03-04 16:56:04 -08:00
parent a3eb1b5fad
commit c40d32e7ae
12 changed files with 302 additions and 21 deletions

View file

@ -9,6 +9,7 @@ using MudEngine.Networking;
using MudEngine.Core;
using MudEngine.Game.Characters;
using MudEngine.DAL;
using MudEngine.Game.Environment;
namespace MudEngine.Game
{
@ -141,7 +142,7 @@ namespace MudEngine.Game
CommandSystem.LoadCommands();
//Load World
this.World.CreateRealm("Azeroth", "The realm of Azeroth is full of jungles and small villages");
this.World.Initialize();
//Start our server.
this.Server.Start(maxPlayers, maxQueueSize);