|
Voxellancer
0.3
A game about voxels in space
|
#include <aigrouptask.h>
Public Member Functions | |
| AiGroupTask (Squad &squad) | |
| virtual void | update (float deltaSec) |
| virtual bool | isInProgress () |
Public Member Functions inherited from Scriptable | |
| int | scriptKey () const |
| void | setScriptKey (int key) |
| bool | isScriptLocal () const |
| void | setScriptLocal (bool local) |
Protected Member Functions | |
| virtual void | onMemberJoin (Ship *member) |
| virtual void | onMemberLeave (Ship *member) |
| virtual void | onNewLeader (Ship *leader) |
| void | setLeaderTask (std::shared_ptr< AiTask > task) |
| void | setMembersToFollowLeader () |
Protected Attributes | |
| Squad & | m_squad |
Protected Attributes inherited from Scriptable | |
| int | m_key |
| bool | m_local |
Friends | |
| class | Squad |
Additional Inherited Members | |
Static Public Attributes inherited from Scriptable | |
| static const int | INVALID_KEY = -1 |
AiGroupTasks are AiTasks on the level of Squads, e.g. can be executed by multiple Characters / Ships They work by setting the Tasks of the single Characters