ft: switch to click movement
This commit is contained in:
@@ -4,6 +4,7 @@ class_name NPC
|
||||
@export var maxHealth: int = 0
|
||||
@export var idle_sprite: String = "Healthy"
|
||||
var health: int = maxHealth
|
||||
@onready var player = get_tree().get_first_node_in_group("player")
|
||||
|
||||
signal died
|
||||
|
||||
|
||||
Reference in New Issue
Block a user