class_name ActionSelectionResult
extends RefCounted

var action_id: StringName
var duration_override := -1.0
var reason: String
var scores: Dictionary


func _init(
	selected_action_id: StringName,
	selected_duration_override: float = -1.0,
	decision_reason: String = "",
	decision_scores: Dictionary = {}
) -> void:
	action_id = selected_action_id
	duration_override = selected_duration_override
	reason = decision_reason
	scores = decision_scores.duplicate(true)
