Rewrote entity system

This commit is contained in:
YourWishes committed 2025-05-09 22:33:51 -05:00
1 parent a69ec56a2d
commit f465880044
29 files changed
+372 -284

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
class_name EventEntityTurn extends "res://scripts/Event/Event.gd"
@export var entity:OverworldEntity = null
@export var direction:OverworldEntity.Direction = OverworldEntity.Direction.SOUTH
@export var entity:Entity = null
@export var direction:EntityDirection.Direction = EntityDirection.Direction.SOUTH
func start():
if entity == null:
return
entity.direction = direction
entity.direction = direction