Inheritance: Microsoft.Xna.Framework.Game
コード例 #1
0
ファイル: Program.cs プロジェクト: luqui/space-shooter
 /// <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
ファイル: Game.cs プロジェクト: ilmariMantysaari/SpaceGame
 public SpaceBattle()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     Debug.WriteLine("GAME");
     //this last
     GameInstance = this;
 }