Exemplo n.º 1
0
        } // end Setup

        /// <summary>
        /// removes/disables or stops all managed assets except sprites
        /// </summary>
        public static void ClearAllButSprites()
        {
            MessageBus.Instance.Unsubscribe();
            inputM.Flush();
            menuM.HideAll();
            engineM.ClearLineList();
            engineM.ClearAllParticles();
            eventM.RemoveAll();
            audioM.RemoveAllManagedEffects();
            audioM.StopCurrentSong();
            tileMapM.Clear();
        } // ClearAllButSprites