Function setClearOnCredits

 setClearOnCredits(doClear)

Set whether to clear the playfield when credits start rolling

Clear On Credits is a feature that clears the game field when the credits start. The setClearOnCredits() function enables or disables this feature.

Parameters

- doClear Boolean indicating whether to clear or not

Returns

nothing