public void draw(SpriteBatch spriteBatch, InvincibleDropBox e)
        {
            foreach (particle value in particles)
            {
                if (e.alive == false)
                {
                    value.draw(spriteBatch, e, transparency);
                }

            }
        }
        public DropBoxManager(ContentManager Content)
        {
            //Content.RootDirectory = "Content";

            db = new DropBox(new Vector2(600,0), Content);
            wdb = new WipeoutDropBox(new Vector2(650, 0), Content);
            IAdb = new InfiniteAmmoDropBox(new Vector2(700, 0), Content);
            InvDb=new InvincibleDropBox(new Vector2(750,0),Content);
            db.alive = false;
            db.Velocity = new Vector2(0, 0);
            wdb.alive = false;
            wdb.Velocity = new Vector2(0, 0);
            IAdb.alive = false;
            IAdb.active = false;
            IAdb.countdown = -1.0f;
            IAdb.Velocity=new Vector2(0,0);
            InvDb.alive = false;
            InvDb.Velocity = new Vector2(0, 0);
            //InvDb.active = false;
            //InvDb.countdown = -1.0f;
        }
        public void update(InvincibleDropBox e)
        {
            this.Position += e.Velocity;

            if (e.alive == false)
            {
                foreach (particle value in particles)
                {
                    value.update();
                    transparency = value.transparency;
                }

            }
        }
 public void draw(SpriteBatch spriteBatch, InvincibleDropBox e, float transparency)
 {
     transparency = this.transparency;
     spriteBatch.Draw(image, e.Position, null, Color.White * transparency, 0f, Vector2.Zero, scale, SpriteEffects.None, 1f);
 }