MudEngine:
- Player movement command now fully implemented. - Game.GetRealm() added to retrieve a Realm within the games RealmCollection property - Game.End() added to perform game ending duties and shut down the Server - Server now loses opened threads. - Player.Move() added to move the player from Room to Room. - Room.DoorwayExist() tweaked to work with the new way Environments are managed. MudGame: - Now executes the Look command on startup so the player can see where they are located at. - Implements the new Game.End() method and fixes the game hanging upon exit.
This commit is contained in:
parent
19e3ec0936
commit
70533582a6
7 changed files with 57 additions and 10 deletions
|
@ -80,6 +80,8 @@ namespace MudEngine.Networking
|
|||
public void EndServer()
|
||||
{
|
||||
stage = 0;
|
||||
serverThread.Abort();
|
||||
|
||||
if (server.type == ProtocolType.Tcp)
|
||||
{
|
||||
for (int i = 0; i < numberOfClients; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue