diff options
Diffstat (limited to 'UI/Lobby.gd')
-rw-r--r-- | UI/Lobby.gd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/UI/Lobby.gd b/UI/Lobby.gd new file mode 100644 index 0000000..d4eb7c2 --- /dev/null +++ b/UI/Lobby.gd @@ -0,0 +1,11 @@ +extends Control + + +func _on_button_pressed() -> void: + Network.host_game() + get_tree().change_scene_to_file("res://Stages/world.tscn") + + +func _on_button_2_pressed() -> void: + Network.join_game() + get_tree().change_scene_to_file("res://Stages/world.tscn") |