/// <summary>
        /// End the game by winning or losing the round.
        /// </summary>
        /// <param name="win">Did we win?</param>
        private void EndGame(bool win)
        {
            SteamUserStats.AddStat("NumGames", 1);
            _GamesPlayed++;

            if (win)
            {
                SteamUserStats.AddStat("NumWins", 1);
                _Wins++;
            }
            else
            {
                SteamUserStats.AddStat("NumLosses", 1);
                _Losses++;
            }

            // Accumulate distances
            _FeetTraveled += _CurrentTraveled;

            // New max?
            if (_CurrentTraveled > _MaxFeetTraveled)
            {
                SteamUserStats.SetStat("MaxFeetTraveled", _CurrentTraveled);
                _MaxFeetTraveled = _CurrentTraveled;
            }

            _CurrentTraveled = 0f;

            SteamUserStats.StoreStats();
        }
 public override void AddStats(string id, int val)
 {
     SteamUserStats.AddStat(id, val);
 }