Player.ToString retuns IPlayer.Name

ServerDirector.GetPlayer() helper method added for getting a player from the server without providing access to the servers collection libraries.
ConnectState.Render() has some test code used when writing ServerDirector.GetPlayer()

Started converting ConnectedPlayer and ConnectedThread collections to a single Dictionary collection.  Not migrating everything to it until helper methods are finished.
This commit is contained in:
Scionwest_cp 2012-06-05 20:46:11 -07:00
parent ca97b9c439
commit f977376ac3
6 changed files with 54 additions and 18 deletions

View file

@ -27,7 +27,6 @@ namespace WinPC.Engine.States
Connection = Director.ConnectedPlayers[index].Connection;
Director.ConnectedPlayers[index].Connection.Send(Encoding.GetBytes("Your now in the Main Menu State Welcome!! !"+"\n\r"));