public override bool Equals(object obj) { if (obj == null) { return(false); } FluidLineKey fluidLineKey = (FluidLineKey)obj; return(Equals(fluidLineKey)); }
public bool Equals(FluidLineKey other) { if (other == null) { return(false); } if (this.x == other.x && this.y == other.y && this.length == other.length) { return(true); } else { return(false); } }