CenterForce constructor

CenterForce(
  1. Offset center
)

Implementation

CenterForce(Offset center) {
  _x = center.dx;
  _y = center.dy;
}