9 lines
265 B
GDScript
9 lines
265 B
GDScript
class_name EventEntityTurn extends "res://scripts/Events/Event.gd"
|
|
|
|
@export var entity:OverworldEntity = null
|
|
@export var direction:OverworldEntity.Direction = OverworldEntity.Direction.SOUTH
|
|
|
|
func start():
|
|
if entity == null:
|
|
return
|
|
entity.direction = direction |