setupPushable method
void
setupPushable({})
Implementation
void setupPushable({
bool? enabled,
PushableFromEnum? pushableFrom,
bool? pushPerCellEnabled,
Vector2? cellSize,
double? pushPerCellDuration,
Curve? pushPerCellCurve,
}) {
_enablePushable = enabled ?? _enablePushable;
_pushbleFrom = pushableFrom ?? _pushbleFrom;
_pushPerCellEnabled = pushPerCellEnabled ?? _pushPerCellEnabled;
_cellSize = cellSize ?? _cellSize;
_pushPerCellDuration = pushPerCellDuration ?? _pushPerCellDuration;
_pushPerCellCurve = pushPerCellCurve ?? _pushPerCellCurve;
}