11 lines
204 B
GDScript
11 lines
204 B
GDScript
extends Node
|
|
|
|
func _ready() -> void:
|
|
loadGame()
|
|
|
|
|
|
func loadGame():
|
|
G.resetValues()
|
|
for i in get_children():
|
|
i.queue_free()
|
|
add_child(load("res://scenes/game/mainGame/main_game.tscn").instantiate())
|