mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-20 16:20:18 +01:00
15 lines
227 B
GDScript3
15 lines
227 B
GDScript3
|
extends Control
|
||
|
|
||
|
func _ready():
|
||
|
get_tree().set_auto_accept_quit(true)
|
||
|
|
||
|
func quit():
|
||
|
get_tree().quit()
|
||
|
|
||
|
func levels():
|
||
|
get_tree().change_scene("res://scenes/level_select.tscn")
|
||
|
|
||
|
|
||
|
func on_survey_pressed():
|
||
|
game.open_survey()
|