[ADD] new constructor for user
This commit is contained in:
@@ -17,6 +17,13 @@ namespace SharedClientServer
|
||||
_host = host;
|
||||
}
|
||||
|
||||
public User(string username)
|
||||
{
|
||||
_username = username;
|
||||
_score = 0;
|
||||
_host = false;
|
||||
}
|
||||
|
||||
public string Username
|
||||
{
|
||||
get { return _username; }
|
||||
|
||||
Reference in New Issue
Block a user