bna/Demo1/Demo1/Program.cs
2020-11-15 11:14:42 +02:00

32 lines
701 B
C#

using Microsoft.Xna.Framework;
using System;
using System.Security.Principal;
namespace com.spaceflint.bluebonnet.xnademo1
{
#if WINDOWS || XBOX
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main()
{
using (var game = new Demo1.Game1())
{
try
{
game.Run();
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
System.Windows.Forms.MessageBox.Show(e.ToString());
}
}
}
}
#endif
}