MudEngine:
- Changed Player[] array to a List<> Collection of PlayerBasics. This change is reflected across all Types. - Game now contains a Start() function. StartServer is now called from within here. - Game now has partial support for the Script Engine MudGame: - Game.StartServer has changed to Game.Start(). StartServer is called within Start().
This commit is contained in:
parent
0f87ac233a
commit
dbe1e693e5
5 changed files with 52 additions and 16 deletions
|
@ -59,13 +59,13 @@ namespace MUDGame
|
|||
if (game.InitialRealm == null)
|
||||
Console.WriteLine("Critical Error: No Initial Realm defined!");
|
||||
|
||||
game.player = new MudEngine.GameObjects.Characters.Controlled.PlayerBasic[1000];
|
||||
game.PlayerCollection = new List<MudEngine.GameObjects.Characters.Controlled.PlayerBasic>();
|
||||
|
||||
//Start the game.
|
||||
MudEngine.GameManagement.CommandEngine.LoadAllCommands();
|
||||
|
||||
// Start the server thread.
|
||||
game.StartServer();
|
||||
game.Start();
|
||||
|
||||
game.IsRunning = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue