コード例 #1
0
 public void Reset()
 {
     _plane = new Plane.ImagePlane();
     GS     = new Screen.GameScreens();
     SS     = new Screen.ScrollScreen();
     GS.Reset_1();
     GS.score = 0;
 }
コード例 #2
0
        public override void LoadContent()
        {
            backgrounds1 = Static.CONTENT.Load <Texture2D>("background");
            backgrounds2 = Static.CONTENT.Load <Texture2D>("BG1223");
            Bronze       = Static.CONTENT.Load <Texture2D>("medalBronze");
            Silver       = Static.CONTENT.Load <Texture2D>("medalSilver");
            Gold         = Static.CONTENT.Load <Texture2D>("medalGold");
            Sc           = new Screen.ScrollScreen();
            STAR         = new List <Score.Star>();
            s            = new Score.Star();
            CR           = new Rockets.CollisionRocket();
            Font         = Static.CONTENT.Load <SpriteFont>("font");
            _plane1      = new Plane.ImagePlane();

            Sc.LoadContent();
            base.LoadContent();
        }