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

Public Member Functions

void applyDamages (std::list< DamageImpact > &damageImpacts)
 
void reset ()
 
std::list< DamageImpact > & dampedDeadlyDamageImpacts ()
 
std::list< DamageImpact > & deadlyDamageImpacts ()
 
std::list< Voxel * > & deadVoxels ()
 
std::list
< WorldObjectModification > & 
worldObjectModifications ()
 

Protected Member Functions

DamageImpact dampDamageImpact (DamageImpact &undamped, float factor)
 

Protected Attributes

std::list< DamageImpactm_dampedDeadlyDamageImpacts
 
std::list< DamageImpactm_deadlyDamageImpacts
 
std::list< Voxel * > m_deadVoxels
 
std::map< WorldObject
*, WorldObjectModification
m_worldObjectModificationMap
 
std::list
< WorldObjectModification
m_worldObjectModifications
 
Property< bool > m_playerShipUndestroyable
 

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