|
|
@ -17,17 +17,18 @@ namespace Models
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int GamesPlayed { get; private set; }
|
|
|
|
public int GamesPlayed { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private int _score;
|
|
|
|
public int Score
|
|
|
|
public int Score
|
|
|
|
{
|
|
|
|
{
|
|
|
|
get
|
|
|
|
get
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return Score;
|
|
|
|
return _score;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
private set
|
|
|
|
private set
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (value > Score)
|
|
|
|
if (value > _score)
|
|
|
|
Score = value;
|
|
|
|
_score = value;
|
|
|
|
return Score;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public override string ToString()
|
|
|
|
public override string ToString()
|
|
|
|