onFocus method

void onFocus(
  1. Menu menu
)

What happens when this item is focused.

Implementation

void onFocus(final Menu menu) => menu.oldSound = menu.game.outputMessage(
      label,
      oldSound: menu.oldSound,
      soundChannel: menu.soundChannel,
    );