extends State


# Owning dialog player
var _dialog_player


func initialize(dialog_player) -> void:
	_dialog_player = dialog_player


func enter():
	escoria.logger.trace(self, "Dialog State Machine: Entered 'finish'.")


func update(_delta):
	escoria.logger.trace(self, "Dialog State Machine: 'finish' -> 'idle'")
	finished.emit("idle")
	_dialog_player.say_finished.emit()
