private boolean addPosition(KrakenState state, XYLocation kingLocation,XYLocation location,
			ArrayList<KrakenMove> list,XYLocation finalLocation){
		
		if (state.distance(kingLocation, location, finalLocation)){
			if (state.isEmpty(finalLocation)){
				list.add(new KrakenMove(location, finalLocation));
				return false;
			}else{
				if (!state.getValue(finalLocation).getColor().equals(color)){
					list.add(new KrakenMove(location, finalLocation));
					return true;
				}else
					return true;
			}
		}else{
			if (state.getValue(finalLocation) != null && !state.getValue(finalLocation).getColor().equals(color)){
				list.add(new KrakenMove(location, finalLocation));
				return true;
			}
		}
		return true;
	}