1
Fork 0
mirror of https://github.com/Cookie-CHR/LD54-SPAce-ltd.git synced 2024-10-16 06:17:28 +00:00
space-ltd/scenes/manage_win_lose.gd
2023-10-15 18:46:50 +02:00

15 lines
304 B
GDScript

extends Control
signal game_success
signal game_fail
var curr_level = 1
# Called when the node enters the scene tree for the first time.
func _ready():
get_child(0).connect("game_success",_next_level)
pass # Replace with function body.
func _next_level():
LevelManager._go_to_level(curr_level+1)