Брождение npc

This commit is contained in:
2024-12-08 13:21:51 +04:00
parent 1a29a449b0
commit 81054b3572
2 changed files with 13 additions and 5 deletions

View File

@@ -3,6 +3,9 @@ extends Node2D
var id_path: Array[Vector2i]
func is_walking() -> bool:
return not id_path.is_empty()
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
randomize()