class_name Character extends Node2D # TODO: do the thing @export var charName := "Character" @export var maxHealth := 10 @export var dmgTaken := 0 func _init() -> void: pass #%NameLabel.text = self.charName #%CharacterMaxHealth.text = str(self.maxHealth) #%CharacterCurrHealth.text = str(self.maxHealth - self.dmgTaken)