Began initial work on the game world. World, Realm, Zone, Room and Doorway classes created but not implemented.

This commit is contained in:
Scionwest_cp 2012-03-04 11:48:11 -08:00
parent b708a63273
commit a3eb1b5fad
18 changed files with 313 additions and 36 deletions

View file

@ -71,10 +71,15 @@ namespace MudEngine.Game
public Boolean Debugging { get; set; }
/// <summary>
/// Gets or reference to the currently running Server.
/// Gets a reference to the currently running Server.
/// </summary>
public Server Server { get; protected set; }
/// <summary>
/// Gets a reference to the current Game World
/// </summary>
public World World { get; protected set; }
/// <summary>
/// Gets or Sets the paths that content is saved to.
/// </summary>
@ -113,6 +118,8 @@ namespace MudEngine.Game
this.SavePaths = paths;
SetupPaths();
this.World = new World(this);
}
/// <summary>
@ -134,6 +141,7 @@ namespace MudEngine.Game
CommandSystem.LoadCommands();
//Load World
this.World.CreateRealm("Azeroth", "The realm of Azeroth is full of jungles and small villages");
//Start our server.
this.Server.Start(maxPlayers, maxQueueSize);