2024-06-13 13:29:05 +02:00
|
|
|
extends Node
|
|
|
|
|
2024-06-19 18:27:40 +02:00
|
|
|
# Function called when "Play" is pressed
|
2024-06-14 09:42:54 +02:00
|
|
|
func _on_button_pressed():
|
2024-06-19 18:27:40 +02:00
|
|
|
get_tree().change_scene_to_file("res://scenes/map/map.tscn")
|
2024-06-14 09:42:54 +02:00
|
|
|
|
2024-06-19 18:27:40 +02:00
|
|
|
# Function called when "View" is pressed
|
2024-06-14 09:42:54 +02:00
|
|
|
func _on_button_2_pressed():
|
2024-06-19 18:27:40 +02:00
|
|
|
get_tree().change_scene_to_file("res://scenes/menu/view.tscn")
|
2024-06-15 20:33:37 +02:00
|
|
|
|
2024-06-19 18:27:40 +02:00
|
|
|
# Function called when "Create" is pressed
|
2024-06-15 20:33:37 +02:00
|
|
|
func _on_button_3_pressed():
|
2024-06-19 18:27:40 +02:00
|
|
|
get_tree().change_scene_to_file("res://scenes/menu/create.tscn")
|