refactor AI system
This commit is contained in:
12
src/lib/ecs/system/ai/DeliverScrapExecutor.h
Normal file
12
src/lib/ecs/system/ai/DeliverScrapExecutor.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
class EntityAdmin;
|
||||
class BuildingSystem;
|
||||
|
||||
// Moves a ship toward its delivery bay when DeliverScrap is the winning
|
||||
// behavior. Never decrements cargo — SalvagerSystem performs the delivery.
|
||||
class DeliverScrapExecutor
|
||||
{
|
||||
public:
|
||||
void execute(EntityAdmin& admin, const BuildingSystem& buildings);
|
||||
};
|
||||
Reference in New Issue
Block a user