* Foreign in the sense of "any nation except the active one", where "active"
* is specified by the given game-data.
*/
private static boolean containsForeignTargets(GameDataAccessor gameData,
Long owner, Coordinate pos) {
FieldReader fieldReader = gameData.getFieldReader();
MapObjectReader moReader = gameData.getMapObjectReader();
if (!fieldReader.areUnitsAvailable(pos) || owner == null) {
return false;
} else {
Iterator<Long> unitIterator = fieldReader.getUnits(pos);
while (unitIterator.hasNext()) {
Long currUnit = unitIterator.next();
if (moReader.isMapObjectOwnerAvailable(currUnit)) {
Long foreignOwner = moReader.getMapObjectOwner(currUnit);
if (!(owner.equals(foreignOwner))) {