added first theme progress and switched all files to use static typing
This commit is contained in:
parent
c9458f3627
commit
b5ace17da9
2665 changed files with 50249 additions and 476 deletions
|
|
@ -1,11 +1,11 @@
|
|||
extends HBoxContainer
|
||||
extends PanelContainer
|
||||
class_name PartyListEntry
|
||||
|
||||
func populate(monster: MonsterData) -> void:
|
||||
func update(monster: MonsterData) -> void:
|
||||
%MonsterID.text = str(0)
|
||||
%MonsterName.text = monster.name
|
||||
%MonsterLevel.text = "Lvl. %s" % monster.level
|
||||
%HealthProgressBar.value = monster.current_health
|
||||
%HealthProgressBar.max_value = monster.health
|
||||
%ExperienceProgressBar.value = monster.xp
|
||||
%ExperienceProgressBar.max_value = monster.base_xp
|
||||
%ExperienceProgressBar.max_value = monster.xp_for_levelup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue