2022-08-09 07:17:54 +00:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
|
2022-08-16 07:37:53 +00:00
|
|
|
onready var node_variables = get_node("/root/NodeVariables")
|
2022-08-09 07:17:54 +00:00
|
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
|
|
func _ready():
|
|
|
|
pass # Replace with function body.
|
|
|
|
|
|
|
|
func show_start_menu():
|
2022-08-16 07:37:53 +00:00
|
|
|
node_variables.main_screen.visible = true
|
|
|
|
node_variables.start_menu.visible = true
|
|
|
|
node_variables.user_menu.visible = false
|
2022-08-09 07:17:54 +00:00
|
|
|
|
|
|
|
func show_user_menu():
|
2022-08-16 07:37:53 +00:00
|
|
|
node_variables.main_screen.visible = true
|
|
|
|
node_variables.start_menu.visible = false
|
|
|
|
node_variables.user_menu.visible = true
|
2022-08-09 07:17:54 +00:00
|
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
|
|
#func _process(delta):
|
|
|
|
# pass
|