Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
PatrolWaypointsTask Class Reference
Inheritance diagram for PatrolWaypointsTask:
[legend]
Collaboration diagram for PatrolWaypointsTask:
[legend]

Public Member Functions

 PatrolWaypointsTask (Squad &squad)
 
 PatrolWaypointsTask (Squad &squad, const std::list< glm::vec3 > &points)
 
void appendWaypoint (const glm::vec3 &point)
 
virtual void update (float deltaSec) override
 
const glm::vec3 * currentTargetPoint ()
 
- Public Member Functions inherited from AiGroupTask
 AiGroupTask (Squad &squad)
 
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 onNewLeader (Ship *leader) override
 
virtual void onMemberJoin (Ship *member) override
 
- Protected Member Functions inherited from AiGroupTask
virtual void onMemberLeave (Ship *member)
 
void setLeaderTask (std::shared_ptr< AiTask > task)
 
void setMembersToFollowLeader ()
 

Protected Attributes

std::shared_ptr< FlyToTaskm_leaderFlyTask
 
std::list< glm::vec3 > m_points
 
std::list< glm::vec3 >::iterator m_currentPoint
 
- Protected Attributes inherited from AiGroupTask
Squadm_squad
 
- Protected Attributes inherited from Scriptable
int m_key
 
bool m_local
 

Additional Inherited Members

- Static Public Attributes inherited from Scriptable
static const int INVALID_KEY = -1
 

The documentation for this class was generated from the following files: