private void checkCollision() {
		for(int i = 0; i< StartingClass.hb.size();++i){
			if(r.intersects(StartingClass.hb.get(i).r)){
				visible = false;
			
				if (StartingClass.hb.get(i).health > 0) {
					StartingClass.hb.get(i).health -= 1;
				}
				if (StartingClass.hb.get(i).health == 0) {
					StartingClass.hb.get(i).setCenterX(-100);
					StartingClass.score += 5;

				}
			}
		}
	}