Merge pull request #14 from SemvdH/feature/guesedWord

[ADDITION] added a new property to the user (may be removed later on)…
This commit is contained in:
SemvdH
2020-10-23 15:51:30 +02:00
committed by GitHub
3 changed files with 39 additions and 18 deletions

View File

@@ -13,6 +13,7 @@ namespace SharedClientServer
private bool _host;
private bool _turnToDraw;
private string _message;
private string _randomWord;
[JsonConstructor]
public User(string username, int score, bool host, bool turnToDraw)
@@ -90,5 +91,10 @@ namespace SharedClientServer
get { return _turnToDraw; }
set { _turnToDraw = value; }
}
public string RandomWord
{
get { return _randomWord; }
set { _randomWord = value; }
}
}
}