Beispiel #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (MarbleMazeGame game = new MarbleMazeGame())
     {
         game.Run();
     }
 }
Beispiel #2
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);
        }
Beispiel #3
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);
        }