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

Public Member Functions

 FlyToTask (BoardComputer *boardComputer)
 
void setTargetPoint (const glm::vec3 &point, const glm::vec3 &up=glm::vec3(0, 0, 0))
 
virtual void update (float deltaSec) override
 
virtual bool isFinished ()
 
- Public Member Functions inherited from AiTask
 AiTask (BoardComputer *boardComputer)
 
BoardComputerboardComputer ()
 
Handle< AiTask > & handle ()
 
- Public Member Functions inherited from Scriptable
int scriptKey () const
 
void setScriptKey (int key)
 
bool isScriptLocal () const
 
void setScriptLocal (bool local)
 

Protected Attributes

glm::vec3 m_targetPoint
 
glm::vec3 m_targetUp
 
float m_minDistance
 
- Protected Attributes inherited from AiTask
Handle< AiTaskm_handle
 
BoardComputerm_boardComputer
 
- 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: