Пример #1
0
 public override void LoadContent()
 {
     #region
     planeG1 = Static.CONTENT.Load <Texture2D>("planeGreen1");
     planeG2 = Static.CONTENT.Load <Texture2D>("planeGreen2");
     planeG3 = Static.CONTENT.Load <Texture2D>("planeGreen3");
     planeR1 = Static.CONTENT.Load <Texture2D>("RedPlane/planeRed1");
     planeR2 = Static.CONTENT.Load <Texture2D>("RedPlane/planeRed2");
     planeR3 = Static.CONTENT.Load <Texture2D>("RedPlane/planeRed3");
     planeY1 = Static.CONTENT.Load <Texture2D>("YellowPlane/planeYellow1");
     planeY2 = Static.CONTENT.Load <Texture2D>("YellowPlane/planeYellow2");
     planeY3 = Static.CONTENT.Load <Texture2D>("YellowPlane/planeYellow3");
     Bronze  = Static.CONTENT.Load <Texture2D>("medalBronze");
     Silver  = Static.CONTENT.Load <Texture2D>("medalSilver");
     Gold    = Static.CONTENT.Load <Texture2D>("medalGold");
     gs      = new Screen.GameScreens();
     gs.LoadContent();
     ss = new Screen.ScrollScreen();
     ss.LoadContent();
     //Hinh Quanh May Bay
     Pixel = Static.CONTENT.Load <Texture2D>("Rect");
     #endregion
     //Hinh GameOver
     GameOver = Static.CONTENT.Load <Texture2D>("textGameOver");
     base.LoadContent();
 }
Пример #2
0
 public void Reset()
 {
     _plane = new Plane.ImagePlane();
     GS     = new Screen.GameScreens();
     SS     = new Screen.ScrollScreen();
     GS.Reset_1();
     GS.score = 0;
 }