14 lines
369 B
C++
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);
|
|
};
|