Ejemplo n.º 1
0
 public static void AddPlayToCurrentGame(PlayType play, int turn, string cardId)
 {
     if (CurrentGameStats == null)
     {
         return;
     }
     CurrentGameStats.AddPlay(play, turn, cardId);
 }
Ejemplo n.º 2
0
 public void AddPlayToCurrentGame(PlayType play, int turn, string cardId) => CurrentGameStats?.AddPlay(play, turn, cardId);
Ejemplo n.º 3
0
 public GameStatistics()
 {
     TotalTimeRunning=new TimeSpan(0, 0, 0, 0);
                 TotalGames=0;
                 TotalDeaths=0;
                 CurrentGame=new CurrentGameStats();
 }