using System.Collections.Generic; using System.Net.Sockets; using WinPC.Engine.Abstract.Core; namespace WinPC.Engine.Core { public class Player : IPlayer { public Socket Connection { get; private set; } public IState CurrentState { get; private set; } public List buffer = new List(); public Player(IState initialState, Socket connection) { Connection = connection; CurrentState = initialState; } public void Disconnect() { Connection.Close(); } } }