/** * Sets the values of this vector using the specified one. */ public void Set(IntVector2 other) { this.x = other.x; this.y = other.y; }
/** * Copy constructor */ public IntVector2(IntVector2 other) : this(other.x, other.y) { }