public Missile getNearestMissile(){
		
		double nearestDistance = 100000;
		Missile nearestMissile = null;
		
		for(Missile missile : missiles){
			
			if(missile != null){
				
				if(settings.screenWidth - missile.posY < nearestDistance){
					
					nearestDistance = settings.screenWidth - missile.posY;
					nearestMissile = missile;
					
				}
				
			}
			
		}
		
		return nearestMissile;
		
	}