@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Ship other = (Ship) obj;

        // just use the type so that you can have only one type 
        // in a hash set
        if (this.type != other.type) {
            return false;
        }

        //        if (this.orientation != other.orientation) {
//            return false;
//        }
//        if (!Objects.equals(this.startPoint, other.startPoint)) {
//            return false;
//        }
        return true;
    }