Esempio n. 1
0
 public override void Draw(GameTime gameTime)
 {
     ScreenManager.SetTarget(display);
     ScreenManager.spriteBatch.Begin();
     wormholeAnim.Draw();
     ScreenManager.spriteBatch.End();
 }
Esempio n. 2
0
        public override void Draw(GameTime gameTime)
        {
            foreach (Projectile projectile in projectiles)
            {
                projectile.Draw(gameTime);
            }

            ScreenManager.SetTarget(display);
            ScreenManager.spriteBatch.Begin();

            portalAnim.Draw(Color.White, scale * 0.7f);
            if (explodeAnim.playing)
            {
                explodeAnim.Draw(Color.White, scale * 1.5f);
            }
            collectorAnim.Draw(teamColour, scale);
            if (poofAnim.playing)
            {
                poofAnim.Draw();
            }

            ScreenManager.spriteBatch.End();
        }