return other.getTerrain().equals(this.terrain) && other.getElevation() == elevation;
return false;
    public boolean equals(Object object) {        if (this == object) {            return true;        } else if (object == null || getClass() != object.getClass()) {            return false;        }        Hex other = (Hex)object;        return other.getTerrain().equals(this.terrain)                && other.getElevation() == elevation;    }