3 #include "ai/aigrouptask.h"
9 #include "ai/basictasks/flytotask.h"
10 #include "ai/basictasks/fighttask.h"
21 void addPoint(
const glm::vec3& point);
23 const std::list<glm::vec3>& points();
26 virtual void update(
float deltaSec)
override;
29 virtual void onNewLeader(
Ship* leader)
override;
30 virtual void onMemberJoin(
Ship* member)
override;
34 bool isEnemyInRange();
36 std::unique_ptr<CollisionFilter> m_collisionFilter;
37 std::shared_ptr<FlyToTask> m_leaderFlyTask;
38 std::shared_ptr<FightTask> m_fightTask;
39 std::list<glm::vec3> m_points;
40 std::list<glm::vec3>::iterator m_currentPoint;
41 std::vector<Handle<WorldObject>> m_enemies;
Definition: collisionfilter.h:9
Definition: defendareatask.h:16
Definition: aigrouptask.h:16