コード例 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (MainGame game = new MainGame())
     {
         game.Run();
     }
 }
コード例 #2
0
 protected override void Initialize()
 {
     // TODO: Add your initialization logic here
     graphics.PreferredBackBufferWidth = 1280;
     graphics.PreferredBackBufferHeight = 720;
     //graphics.IsFullScreen = true;
     graphics.ApplyChanges();
     IsMouseVisible = true;
     base.Initialize();
     ThisClass = this;
 }