public void Update(GameTime gameTime) { guiText.Update(gameTime); map.Update(gameTime); Camera.Update(gameTime); timer = (timer >= 100) ? 0 : timer + gameTime.ElapsedGameTime.TotalMilliseconds; if (timer == 0) { if (map.DiamondsRequired > map.DiamondsCollected) { guiText.String = $"[{map.DiamondsRequired}]/{map.DiamondValue} [{map.DiamondsCollected}] {map.Time} {map.Score}"; } else { guiText.String = $"///{map.BonusDiamondValue} [{map.DiamondsCollected}] {map.Time} {map.Score}"; } } }