idk why it works now, help

This commit is contained in:
2023-03-20 19:13:33 +01:00
parent cc6a7aa6d2
commit 8f153fd2b9
15 changed files with 16 additions and 32 deletions

View File

@@ -1,20 +0,0 @@
using System.Net.WebSockets;
namespace MauMau_Server.Mau;
public class Player
{
public string Name { get; set; }
public string PlayerId { get; set; }
public WebSocket Socket { get; set; }
public List<Card> Hand { get; set; } = new();
public Player(string name, string playerId, WebSocket socket)
{
Name = name;
PlayerId = playerId;
Socket = socket;
}
public bool IsMe(string playerId) => PlayerId == playerId;
}