sub method

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

Implementation

@override
Vector2 sub(Vector a) {
  x -= a.x;
  y -= a.y;

  return this;
}