public void waveUpdater(Wave wave)
	{
		if (wave.intersects(target.getMovementInfo().pos, ERROR_TOLERANCE))
		{			
			waveManager.killWave(wave);
			
			double idealAngle = Utils.calcHeading(wave.initialSituation.ourBotMoveInfo.pos, target.getMovementInfo().pos);
			
			for (GunProfile gunProfile : gunProfiles)
			{
				double error = Math.abs(Utils.calcShortestAngleBetween(idealAngle, gunProfile.gun.computeFiringAngle(wave.initialSituation, firePower)));
				
				gunProfile.rating += 2 * Math.PI - error;
			}
		}
	}