More UI work
This commit is contained in:
13
profile_popup.gd
Normal file
13
profile_popup.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
extends Control
|
||||
|
||||
@onready var name_label = %NameLabel
|
||||
@onready var level_label = %LevelLabel
|
||||
@onready var class_label = %ClassLabel
|
||||
@onready var activity_label = %ActivityLabel
|
||||
|
||||
|
||||
func setup(new_name : String, level : int, clss : String, activity : String) -> void:
|
||||
name_label.text = new_name
|
||||
level_label.text = "Lv " + str(level)
|
||||
class_label.text = clss
|
||||
activity_label.text = activity
|
||||
Reference in New Issue
Block a user