subScalar method

  1. @override
Vector2 subScalar(
  1. num s
)
override

Implementation

@override
Vector2 subScalar(num s) {
  x -= s;
  y -= s;

  return this;
}