ld41-sim_shitty/game/ui/mapsize.gd

20 lines
401 B
GDScript

extends HBoxContainer
# 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_level_size(size):
get_node('mapsize').text = '%d x %d' % [size.x, size.y]
#func _process(delta):
# # Called every frame. Delta is time since last frame.
# # Update game logic here.
# pass