semi-idle-arpg/scripts/Character.gd

15 lines
339 B
GDScript3
Raw Normal View History

2024-09-19 19:03:06 -06:00
class_name Character
extends Node2D
2024-09-19 19:03:06 -06:00
# TODO: do the thing
2024-09-19 19:03:06 -06:00
@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)