private void projectileAttack(){
		
		Point startPoint = new Point(Game.PLAYER.getX(), Game.PLAYER.getY());
		Point endPoint = new Point(Mouse.getX() + Game.PLAYER.getCameraX(), Mouse.getY()+ Game.PLAYER.getCameraY());
		
		if(inUse == false){
			if(skillEffects.isEmpty() || hasEffect(SkillEffect.DOUBLE)){
				World.addEffect(new Projectile(32,range, speed, damage,startPoint, endPoint, effectTexture, effectTextureRotation), layer);
				if(!hasEffect(SkillEffect.DOUBLE)) inUse = !inUse;
				if(hasEffect(SkillEffect.DOUBLE)) timer = time + 5;
				previousEndPoint = endPoint;
			}
		}else if(inUse == true){
			if(hasEffect(SkillEffect.DOUBLE) && time == timer){
				World.addEffect(new Projectile(32,range, speed, damage,startPoint, previousEndPoint, effectTexture, effectTextureRotation), layer);
				inUse = !inUse;
				timer = 0;
			}
		}
		
		
	}