Ejemplo n.º 1
0
        /// <summary> Hides the levels. </summary>
        ///
        /// <param name="level"> The level. </param>
        private static void HideLevels(int level)
        {
            var levels = LevelsManager.GetVisibleLevelNumbers().ToList();

            foreach (var l in levels.Where(x => x != level))
            {
                LevelsManager.SetLevelVisible(l, false);
            }
        }