Files
dota_factory/src/lib/ecs/component/SelectedBehaviorComponent.h
2026-06-15 09:16:56 +02:00

12 lines
317 B
C

#pragma once
#include "BehaviorKind.h"
// Result of the AiSystem selection pass: the highest-scoring behavior for a
// ship this tick. Each behavior's executor acts only when it is the winner.
struct SelectedBehaviorComponent
{
BehaviorKind winner = BehaviorKind::None;
float bestScore = 0.0f;
};