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