コード例 #1
0
 protected override void Initialize()
 {
     base.Initialize();
     flow = gameFlow.gameOn;
     graphics.PreferredBackBufferWidth  = Global.winWidth;
     graphics.PreferredBackBufferHeight = Global.winHeight;
     graphics.ApplyChanges();
     Window.Title = "Desert Eagle";
     GeneticAlgorithm.Initiate();
     GeneticAlgorithm.CreateFirstGen();
     InitBirds();
     InputHandler.update();
 }