8 lines
99 B
GDScript
8 lines
99 B
GDScript
extends Node
|
|
|
|
class_name Damageable
|
|
|
|
@export var max_health: int
|
|
@onready var health = max_health
|
|
|