Example #1
0
            public override bool Equals(object obj)
            {
                if (obj == null)
                {
                    return(false);
                }

                FluidLineKey fluidLineKey = (FluidLineKey)obj;

                return(Equals(fluidLineKey));
            }
Example #2
0
            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);
                }
            }