public Player(CoreClient client) { Game = client.Game; Type = (int)PlayerType.Undefined; State = PlayerState.None; _client = client; TurnSkip = 0; }
public Player(Game game, CoreClient client) { Game = game; Type = (int)PlayerType.Undefined; State = PlayerState.None; _client = client; TurnSkip = 0; }
public void AddClient(CoreClient client) { _clients.Add(client); Player player = new Player(Game, client); client.MessageReceived += (sender, e) => player.Parse(e.Message); client.Closed += (sender, e) => player.OnDisconnected(); }
public void RemoveClient(CoreClient client) { _removedClients.Add(client); }
public void AddClient(CoreClient client) { _clients.Add(client); }
public void RemoveClient(CoreClient client) { _removedClients.Add(client); }
public void AddClient(CoreClient client) { _clients.Add(client); }