You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
881 B
33 lines
881 B
using QwirkleClassLibrary.Boards;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace QwirkleClassLibrary.Players
|
|
{
|
|
public class Score
|
|
{
|
|
public string PlayerName { get; private set; }
|
|
public DateTime Date { get; set; }
|
|
public int Points { get; set; }
|
|
public int Victories { get; set; }
|
|
|
|
public Score(string playerName, DateTime date, int points, int victories)
|
|
{
|
|
this.PlayerName = playerName;
|
|
this.Date = date;
|
|
this.Points = points;
|
|
this.Victories = victories;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return PlayerName + " Date last game :" + Date.ToString() + " Points :" + Points + " Win : " + Victories;
|
|
}
|
|
}
|
|
|
|
}
|