Function setGhost
setGhost(enableGhost)
Set whether to show ghost preview
Ghost Preview shows the position where the currently controlled Tetrimino will land. The setGhost() function enables or disables this feature.
Parameters
- enableGhost Boolean indicating whether to enable Ghost Preview or not
Returns
nothing