12345678910111213141516171819 |
- extends VSplitContainer
- func _input(event: InputEvent) -> void:
- if event.is_action_released("ui_pause"):
- # Prevent title screen to be paused
- get_viewport().set_input_as_handled()
- func _on_title_button_pressed():
- get_tree().reload_current_scene()
- func _on_quit_button_pressed():
- get_tree().quit()
- func _on_visibility_changed():
- %TitleButton.grab_focus()
|