refactor AI system
This commit is contained in:
11
src/lib/ecs/system/ai/RepairEvaluator.h
Normal file
11
src/lib/ecs/system/ai/RepairEvaluator.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
class EntityAdmin;
|
||||
|
||||
// Picks the nearest damaged friendly within sensor range as the repair target.
|
||||
// Scores high when such a target exists.
|
||||
class RepairEvaluator
|
||||
{
|
||||
public:
|
||||
void evaluate(EntityAdmin& admin);
|
||||
};
|
||||
Reference in New Issue
Block a user