public static Ship nearest(Ship ship)
	{
		Ship temp = null;
		double distance = Double.POSITIVE_INFINITY;		
	
		for(Ship s : BattleLogic.curLogic().getShips())
		{
			double tempDist = distTo(ship, s);
			if(s.getTeam() != ship.getTeam() && tempDist < distance)
			{
				temp = s;
				distance = tempDist;
			}
		}
		return temp;
	}