setFrom method

  1. @override
Vector2 setFrom(
  1. Vector v
)
override

Implementation

@override
Vector2 setFrom(Vector v) {
  x = v.x;
  y = v.y;
  return this;
}