示例#1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Main game = new Main())
     {
         game.Run();
     }
 }
示例#2
0
 public Main()
 {
     Instance = this;
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
 }