add method

  1. @override
Vector2 add(
  1. Vector a
)
override

Implementation

@override
Vector2 add(Vector a) {
  x += a.x;
  y += a.y;

  return this;
}