fixed camera script and restructured ui folder
This commit is contained in:
parent
877ebafc74
commit
5748d34b34
32 changed files with 781 additions and 162 deletions
11
ui/ingame_menu/party_list_entry.gd
Normal file
11
ui/ingame_menu/party_list_entry.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends HBoxContainer
|
||||
class_name PartyListEntry
|
||||
|
||||
func populate(monster) -> void:
|
||||
%MonsterID.text = str(0)
|
||||
%MonsterName.text = monster.name
|
||||
%MonsterLevel.text = "Lvl. %s" % monster.level
|
||||
%HealthProgressBar.value = monster.health
|
||||
%HealthProgressBar.max_value = monster.health
|
||||
%ExperienceProgressBar.value = monster.xp
|
||||
%ExperienceProgressBar.max_value = monster.base_xp
|
||||
Loading…
Add table
Add a link
Reference in a new issue