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

Public Member Functions

 VoxelParticleRemover (VoxelParticleEngine *world)
 
void addCheck (std::shared_ptr< VoxelParticleRemoveCheck > checker)
 
void setPlayer (Player &player)
 
float interval () const
 
void setInterval (float interval)
 
virtual void update (float deltaSec)
 

Protected Member Functions

void performChecks (int checkCount)
 
bool isDead (VoxelParticleData &particle)
 
void beforeCheck ()
 

Protected Attributes

VoxelParticleEnginem_particleEngine
 
std::vector< std::shared_ptr
< VoxelParticleRemoveCheck > > 
m_checker
 
std::unique_ptr< ThreadPool
< VoxelParticleData > > 
m_threadPool
 
Property< float > m_interval
 
Property< bool > m_multithreaded
 
int m_currentIndex
 

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