private void setGoal() {
		HashMap<Planet, Integer> hmap = new HashMap<Planet, Integer>();
		for(Planet p : G.getPlayerPlanets(this)){
			for(Planet next : G.getNeighborPlanets(p)){
				if(next.getOwner() == this) continue;
				if(!hmap.containsKey(next)){
					hmap.put(p, 1);
				}else{
					int e = hmap.get(p);
					hmap.remove(p);
					hmap.put(p, e+1);
				}
			}
		}
		for(Planet p : hmap.keySet()){
			if(goal == null){
				goal = p;
			}else{
				if(hmap.get(goal) < hmap.get(p)){
					goal = p;
				}
			}
		}

	}