ld39-dead_in_the_water/game/ui/end_message.gd

13 lines
259 B
GDScript

extends Node2D
# class member variables go here, for example:
# var a = 2
# var b = "textvar"
func _ready():
# Called every time the node is added to the scene.
# Initialization here
pass
func set_message(text):
get_node('buttons/Label').set_text(text)