newVector method

  1. @override
Vector2 newVector()
override

Create a new instance of T.

Implementation

@override
Vector2 newVector() => Vector2.zero();