@Override
public boolean equals(Object obj) {
if (!(obj instanceof Settings))
return false;
Settings that = (Settings) obj;
boolean notEqual = false;
notEqual |= this.rarity != that.rarity;
notEqual |= this.depth != that.depth;
notEqual |= this.nodes != that.nodes;
notEqual |= this.size != that.size;
notEqual |= this.spread != that.spread;
notEqual |= this.hardness != that.hardness;
notEqual |= this.resistance != that.resistance;
notEqual |= this.generate != that.generate;
return notEqual;
}
Comments
0 B
|👍
/👎