예제 #1
0
        public override void Draw(GameTime gameTime)
        {
            GameRef.SpriteBatch.Begin();

            GameRef.SpriteBatch.Draw(bgMountains, bgMountDest, Color.White);
            GameRef.SpriteBatch.Draw(bgMountainsFollow, bgFollowMount, Color.White);
            GameRef.SpriteBatch.Draw(bgClouds, bgCloudDest, Color.White);
            GameRef.SpriteBatch.Draw(bgCloudsFollow, bgFollowCloud, Color.White);

            GameRef.SpriteBatch.End();

            base.Draw(gameTime);

            GameRef.SpriteBatch.Begin();
            menuMain.Draw(gameTime, GameRef.SpriteBatch);
            GameRef.SpriteBatch.End();
        }