diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-24 00:36:06 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-24 00:36:06 +0100 |
commit | 6e2deea3d1b2fb4d79dac02a0d4310936c7f317c (patch) | |
tree | 05590a7d9f7cecde037aad7a5487ff2c62176932 /ui/login/character_selection_status.gd | |
parent | 7b3f386449aeab124d84d2aff4c273e646e68763 (diff) |
next commit
Diffstat (limited to 'ui/login/character_selection_status.gd')
-rw-r--r-- | ui/login/character_selection_status.gd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ui/login/character_selection_status.gd b/ui/login/character_selection_status.gd new file mode 100644 index 0000000..2c0e450 --- /dev/null +++ b/ui/login/character_selection_status.gd @@ -0,0 +1,19 @@ +extends PanelContainer + + +func set_info(info: CharacterInformation): + %Name.text = info.name + %Job.text = Constants.Job.find_key(info.job) + %Level.text = str(info.level) + %Exp.text = str(info.experience) + %Hp.text = str(info.maximum_health_points) + %Sp.text = str(info.maximum_spell_points) + + %Str.text = str(info.strength) + %Agi.text = str(info.agility) + %Vit.text = str(info.vitality) + %Int.text = str(info.intelligence) + %Dex.text = str(info.dexterity) + %Luk.text = str(info.luck) + + %Map.text = info.map_name.substr(0, info.map_name.length() - 4) |