/// <summary>
        /// This is called when the game should draw itself.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.Turquoise);

            spriteBatch.Begin();



            bgSprite.Draw(spriteBatch);

            titleText2.Draw(spriteBatch);
            titleText1.Draw(spriteBatch);
            titleText3.Draw(spriteBatch);


            by.Draw(spriteBatch);

            coolPanel.Draw(spriteBatch);
            spriteBatch.DrawString(titleText1.Font, string.Format("X: {0} Y: {1}", currentMS.X, currentMS.Y), Vector2.Zero, Color.White);
            foreach (SlidingFont slidingFont in slidingText)
            {
                slidingFont.Draw(spriteBatch);
            }

            insertCoins.Draw(spriteBatch);

            insertFive.Draw(spriteBatch);
            donateHundred.Draw(spriteBatch);
            noCoinSpam.Draw(spriteBatch);
            colorfulTypingText.Draw(spriteBatch);
            regularTypingText.Draw(spriteBatch);
            allAchievementsDone.Draw(spriteBatch);
            spriteBatch.End();

            base.Draw(gameTime);
        }
예제 #2
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     base.Draw(spriteBatch);
     fadingFont.Draw(spriteBatch);
 }