public void update(TestMob[] testMobs){
	
		bulletMng.update();
		if(!hasTarget){
			selectTarget(testMobs);
		}
		if(testMobs[target] != null && hasTarget){ 
			testMobs[target].sprite = Sprite.voidSprite;
			if(getDist(x, y, testMobs[target].x, testMobs[target].y) > range) hasTarget = false;
		}
		
		shootTimer++;
		if(shootTimer > 10){
			shoot( testMobs[target].x, testMobs[target].y);
			shootTimer = 0;
		}
	}