Ejemplo n.º 1
0
 /// <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);
     }
 }
Ejemplo n.º 2
0
 /// <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);
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a new debug component.
 /// </summary>
 /// <param name="game">The game</param>
 public Debug(ActionGame game)
     : base(game)
 {
     this.game = game;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Creates a new debug component.
 /// </summary>
 /// <param name="game">The game</param>
 public Debug(ActionGame game)
     : base(game)
 {
     this.game = game;
 }