10 lines
265 B
GDScript
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
|