added first theme progress and switched all files to use static typing

This commit is contained in:
Luca 2024-10-10 15:26:56 +02:00
parent c9458f3627
commit b5ace17da9
2665 changed files with 50249 additions and 476 deletions

View file

@ -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