13 lines
344 B
GDScript
13 lines
344 B
GDScript
class_name OverworldChangeDirectionEvent extends "res://scripts/Cutscene/Event/Entity/OverworldEntityEvent.gd"
|
|
|
|
var direction:OverworldEntity.Direction;
|
|
|
|
func _init(
|
|
entity:OverworldEntity,
|
|
direction:OverworldEntity.Direction,
|
|
) -> void:
|
|
super._init(entity);
|
|
self.direction = direction;
|
|
|
|
func start() -> void:
|
|
entity.direction = direction; |