/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { try { using (ActionGame game = new ActionGame()) { game.Run(); } } catch (FileNotFoundException) { MessageBox.Show("Could not find XNA assemblies. Try to install DirecX 9.c and XNA Framework Redistributable 4.0 package located on installation disk.", "Assembly not found", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
/// <summary> /// Creates a new debug component. /// </summary> /// <param name="game">The game</param> public Debug(ActionGame game) : base(game) { this.game = game; }