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