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.
9 lines
No EOL
190 B
C#
9 lines
No EOL
190 B
C#
namespace WinPC.Engine.Abstract.Core
|
|
{
|
|
public interface IPlayer
|
|
{
|
|
IState CurrentState { get; }
|
|
string Name { get; set; }
|
|
void Disconnect();
|
|
}
|
|
} |