setupMovePerCell method

void setupMovePerCell({
  1. bool? enabled,
  2. PushableFromEnum? pushableFrom,
  3. bool? pushPerCellEnabled,
  4. Vector2? cellSize,
  5. double? pushPerCellDuration,
  6. Curve? pushPerCellCurve,
})

Implementation

void setupMovePerCell({
  bool? enabled,
  PushableFromEnum? pushableFrom,
  bool? pushPerCellEnabled,
  Vector2? cellSize,
  double? pushPerCellDuration,
  Curve? pushPerCellCurve,
}) {
  _perCellEnabled = enabled ?? _perCellEnabled;
  _pushPerCellEnabled = pushPerCellEnabled ?? _pushPerCellEnabled;
  _cellSize = cellSize ?? _cellSize;
  _pushPerCellDuration = pushPerCellDuration ?? _pushPerCellDuration;
  _pushPerCellCurve = pushPerCellCurve ?? _pushPerCellCurve;
}