@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        Dungeon other = (Dungeon) obj;
        if (connectedDungeons == null) {
            if (other.connectedDungeons != null) {
                return false;
            }
        } else if (!connectedDungeons.equals(other.connectedDungeons)) {
            return false;
        }
        if (items == null) {
            if (other.items != null) {
                return false;
            }
        } else if (!items.equals(other.items)) {
            return false;
        }
        return true;
    }