Files
Dawn-Godot/scripts/Event/Entity/EventEntityTurn.gd
2025-05-12 21:00:13 -05:00

10 lines
265 B
GDScript

class_name EventEntityTurn extends "res://scripts/Event/Event.gd"
@export var entity:EntityDirection = null
@export var direction:EntityDirection.Direction = EntityDirection.Direction.SOUTH
func start():
if entity == null:
return
entity.direction = direction