15 lines
339 B
GDScript
15 lines
339 B
GDScript
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)
|