Example #1
0
 public void AddBonusTime()
 {
     if (!addBonusTime)
     {
         return;
     }
     game_timer += GameTime.ConvertToGT(bonusTime);
 }
Example #2
0
        public GameTime GetTotalMatchTime()
        {
            GameTime total_time = match_times[(int)GameMode - 1] - GameTime;

            if (addBonusTime)
            {
                total_time += GameTime.ConvertToGT(matched_pairs * bonusTime);
            }
            return(total_time);
        }
Example #3
0
 public void ModifyGameTimeBy(float seconds_value)
 {
     game_timer += GameTime.ConvertToGT(seconds_value);
 }