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

Public Member Functions

float scanInterval () const
 
void setScanInterval (float scanInterval)
 
float scanRadius () const
 
void setScanRadius (float scanRadius)
 
const std::list< WorldObject * > & worldObjects ()
 
const std::list< WorldObject * > & foundWorldObjects ()
 
const std::list< WorldObject * > & lostWorldObjects ()
 
void update (float deltaSec, WorldObject *worldObject)
 
void update (float deltaSec, const glm::vec3 &position)
 
virtual void onFoundWorldObject (WorldObject *worldObject)
 
virtual void onLostWorldObject (WorldObject *worldObject)
 

Protected Member Functions

void update (float deltaSec, WorldObject *worldObject, const glm::vec3 &position)
 
void scan (WorldObject *worldObject, const glm::vec3 &position)
 
void callHooks ()
 

Protected Attributes

float m_scanInterval
 
float m_scanCountdown
 
float m_scanRadius
 
std::list< WorldObject * > m_worldObjects
 
std::list< WorldObject * > m_foundWorldObjects
 
std::list< WorldObject * > m_lostWorldObjects
 

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