refactor AI system
This commit is contained in:
11
src/lib/ecs/component/RallyBehavior.h
Normal file
11
src/lib/ecs/component/RallyBehavior.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <QVector2D>
|
||||
|
||||
// Player combat ships loiter at the rally point until the departure timer
|
||||
// removes this component (ShipSystem::triggerRallyDeparture).
|
||||
struct RallyBehavior
|
||||
{
|
||||
QVector2D rallyPoint;
|
||||
float score = 0.0f;
|
||||
};
|
||||
Reference in New Issue
Block a user