Function setBagRetry

 setBagRetry(amount)

Set the number of bag retry attempts

Bag Retry refers to the number of times the random number generator will try to generate a piece not currently in the "bag" (the set of all pieces). The setBagRetry() function configures this amount of retry attempts.

Parameters

- amount Number of retry attempts

Returns

nothing