Exemple #1
0
        /// <summary>
        /// Initialize the static AudioManager functionality.
        /// </summary>
        /// <param name="game">The game that this component will be attached to.</param>
        public static void Initialize(MarbleMazeGame game)
        {
            audioManager = new AudioManager(game);

            game.Components.Add(audioManager);
        }