getButton method

Button getButton(
  1. TaskFunction func
)

Get a button with the proper activate sound.

Implementation

Button getButton(final TaskFunction func) =>
    Button(func, activateSound: world.menuActivateSound);