public virtual LTouchLocation Clone() { LTouchLocation varCopy = new LTouchLocation(); varCopy.id = this.id; varCopy.position.Set(this.position); varCopy.previousPosition.Set(this.previousPosition); varCopy.state = this.state; varCopy.previousState = this.previousState; varCopy.pressure = this.pressure; varCopy.previousPressure = this.previousPressure; return(varCopy); }
public virtual LTouchLocation Clone() { LTouchLocation varCopy = new LTouchLocation(); varCopy.id = this.id; varCopy.position.Set(this.position); varCopy.previousPosition.Set(this.previousPosition); varCopy.state = this.state; varCopy.previousState = this.previousState; varCopy.pressure = this.pressure; varCopy.previousPressure = this.previousPressure; return varCopy; }
public bool Equals(LTouchLocation other) { return (id == other.id) && (this.GetPosition().Equals(other.GetPosition())) && (this.previousPosition.Equals(other.previousPosition)); }
public bool Equals(LTouchLocation other) { return((id == other.id) && (this.GetPosition().Equals(other.GetPosition())) && (this.previousPosition.Equals(other.previousPosition))); }