[ADD] new constructor for user

This commit is contained in:
Sem van der Hoeven
2020-10-20 15:32:50 +02:00
parent 1e11bc5416
commit 78c1aad696
5 changed files with 18 additions and 3 deletions

View File

@@ -17,6 +17,13 @@ namespace SharedClientServer
_host = host;
}
public User(string username)
{
_username = username;
_score = 0;
_host = false;
}
public string Username
{
get { return _username; }