public bool AddPlayer(Player player)
 {
     if (_ctx.Players.Any(x => x.Name == player.Name))
         return false;
     _ctx.Players.Add(player);
     return true;
 }
 public void UpdatePlayer(Player player)
 {
     //TODO:implement this
     throw new NotImplementedException();
 }
Beispiel #3
0
 public static double CalculatePerformance(Player player)
 {
     //todo: calculate performance
     return 0;
 }