refactor AI system
This commit is contained in:
12
src/lib/ecs/system/ai/RallyEvaluator.h
Normal file
12
src/lib/ecs/system/ai/RallyEvaluator.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
class EntityAdmin;
|
||||
|
||||
// Scores the rally behavior so player combat ships gather at the rally point
|
||||
// until an enemy appears (Attack outscores it) or the departure timer removes
|
||||
// the RallyBehavior component.
|
||||
class RallyEvaluator
|
||||
{
|
||||
public:
|
||||
void evaluate(EntityAdmin& admin);
|
||||
};
|
||||
Reference in New Issue
Block a user