minibaldur/godot/scripts/classes/Damageable.gd

8 lines
99 B
GDScript3
Raw Normal View History

2023-10-27 17:12:47 -05:00
extends Node
class_name Damageable
@export var max_health: int
@onready var health = max_health