init method

  1. @override
void init([
  1. FlipInit? initValue
])
override

Initialize this object.

See ObjectPool.acquire for more information on how this gets called.

Implementation

@override
void init([FlipInit? initValue]) {
  flipX = initValue?.flipX ?? false;
  flipY = initValue?.flipY ?? false;
}