public Player(double initRanking) { var rank = new Rank(initRanking); this.Rank = rank; _rankings = new List<Rank> { rank }; }
public Player SetNewRank(Rank rank) { Contract.Requires(rank != null); return new Player(rank); }
public Player(Rank initRank) { Contract.Requires(initRank != null); Rank = initRank; _rankings = new List<Rank> { initRank }; }