idk why it works now, help
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user