@Override
    public boolean equals(Object obj) {

        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (obj.getClass() != getClass()) {
            return false;
        }
        //Player player = (Player)obj;
        if (this.hashCode() == obj.hashCode()) {
            return true;
        }

        return false; //To change body of generated methods, choose Tools | Templates.
    }