public int availableLaser(){ // for player's lasers, enemy uses different method
		lCurTime=System.nanoTime();
		
		if(laserTime<=2000000000){
			if(lSparks){
				if(index==1){
					temp = User.getLaser1Pos();
					rot.rotX(-Math.PI/2);
					temp.mul(rot);
					new WrapParticles(50,20,1,init,last,10000,temp,sceneBG).run();
				}
				if(index==2){
					temp = User.getLaser2Pos();
					rot.rotX(Math.PI/2);
					temp.mul(rot);
					new WrapParticles(50,20,1,init,last,10000,temp,sceneBG).run();
				}
				lSparks = false;
			}
		}
		else {
			if(lCurTime - lLastTime < lStartHeat){
				laserTime -= (lStartHeat - (lCurTime - lLastTime));
				bars.updateLaser(laserTime);
			}
			lLastTime = lCurTime;
			
			lSparks = true;
			for(int i=0;i<noLasers;i++)
				if(lasers[i].getFinishedShot())
					return i;
		}
		return -1;
		
	}