@Override
        public void animate() {
        //list.get(bulletNu).animate();
        Enemy place = null;
        if(immunity == 150)
        {
            wasHit = false;
            immunity = 0;
        }
        
        if (wasHit == false)
        {
            for (Drawable e : list)
            {
                if (e instanceof Enemy)
                {
                    place = (Enemy) e;
                    if (place.getYPos()  <= this.yPos + this.hBWidth&& place.getYPos() + place.getWidth() 
                        >= this.yPos + this.hBWidth/8)
                        {
                            if (this.xPos + this.hBLength > place.getXPos() && this.xPos < place.getXPos()
                            + place.getLength())
                            {
                                health = health - place.getDamage();
                                wasHit = true;
                                System.out.println("Took Damage");
                                if (health <= 0)
                                {
                                    this.isDead = true;
                                    list.remove(this);
                                }
                            }
                        }
                }
            }
        }
        
        immunity = immunity + 1;
    }