コード例 #1
0
 static void Main(string[] args)
 {
     using (WarSpotGame game = new WarSpotGame())
     {
         game.Run();
     }
 }
コード例 #2
0
ファイル: WarSpotGame.cs プロジェクト: graph-di5/warspot
 public WarSpotGame()
 {
     Instance              = this;
     _graphics             = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     _graphics.PreferredBackBufferWidth  = 800;
     _graphics.PreferredBackBufferHeight = 600;
     IsMouseVisible = true;
 }