private boolean query(Class c) {
			Set<Location> neighbors = neighbors(ORTHOGONAL);
			for(Actor a : actors) {
				Location location = locations.get(a);
				if(c.isInstance(a) && location != null && neighbors.contains(location)) {
					return true;
				}
			}
			return false;
		}