You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
386 B
17 lines
386 B
extends Control
|
|
|
|
onready var settings = get_node("menu/settings")
|
|
|
|
func _ready():
|
|
pass
|
|
|
|
func _on_start_pressed():
|
|
var name = settings.get_node("name").text
|
|
var color = settings.get_node("color").color
|
|
var bots = get_node("menu/bots").pressed
|
|
queue_free()
|
|
game.local_game(name,color,bots)
|
|
|
|
func _on_back_pressed():
|
|
queue_free()
|
|
get_tree().get_root().get_node("main_menu").show()
|