onClose

fun onClose(handler: (Player) -> Unit)

GUI クローズ時のハンドラーを設定