refactor AI system
This commit is contained in:
12
src/lib/ecs/system/ai/RepairExecutor.h
Normal file
12
src/lib/ecs/system/ai/RepairExecutor.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
class EntityAdmin;
|
||||
|
||||
// When Repair wins, moves the ship toward its target and assigns that target to
|
||||
// each repair tool that has it in range. RepairSystem applies the healing and
|
||||
// does fallback acquisition for tools whose preferred target is out of range.
|
||||
class RepairExecutor
|
||||
{
|
||||
public:
|
||||
void execute(EntityAdmin& admin);
|
||||
};
|
||||
Reference in New Issue
Block a user