상속: Microsoft.Xna.Framework.Game
예제 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (SpaceBattle game = new SpaceBattle())
     {
         game.Run();
     }
 }
예제 #2
0
 static void Main()
 {
     using (var game = new SpaceBattle())
     {
         game.Run();
     }
 }
예제 #3
0
 public SpaceBattle()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     Debug.WriteLine("GAME");
     //this last
     GameInstance = this;
 }