10 lines
183 B
GDScript
10 lines
183 B
GDScript
extends Control
|
|
|
|
|
|
func set_stat_text(text):
|
|
%stat.text = text
|
|
|
|
func set_value(module_type,value):
|
|
var module = module_type.new()
|
|
module.text = str(value)
|
|
%value.add_child(module)
|