Files
dota_factory/src/lib/ecs/system/ai/SalvageScrapEvaluator.h
2026-06-15 09:16:56 +02:00

14 lines
369 B
C++

#pragma once
class EntityAdmin;
class ScrapSystem;
// When cargo is not full, finds the nearest scrap within sensor range and sets
// it as the target, scoring high. Scores inactive when cargo is full or no scrap
// is in range (Advance then handles roaming).
class SalvageScrapEvaluator
{
public:
void evaluate(EntityAdmin& admin, const ScrapSystem& scraps);
};