|
|
@ -12,7 +12,7 @@ namespace Model.Players
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// a player's unique username
|
|
|
|
/// a player's unique username
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public string Name { get; private set; }
|
|
|
|
public string Name { get; private set; } = "John Doe";
|
|
|
|
public Player(string name)
|
|
|
|
public Player(string name)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!string.IsNullOrWhiteSpace(name))
|
|
|
|
if (!string.IsNullOrWhiteSpace(name))
|
|
|
|