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

Public Member Functions

void forwardDamageImpacts (std::list< DamageImpact > &dampedDeadlyDamageImpacts)
 
void dontForwardTo (std::list< Voxel * > &deadVoxels)
 
std::list< DamageImpactforwardedDamageImpacts ()
 

Protected Member Functions

float forwardFactor (float dotProduct, float fieldOfDamage, int neighbours)
 

Protected Attributes

WorldObjectm_currentWorldObject
 
std::list< Voxel * > * m_currentNeighbours
 
glm::ivec3 m_currentGridCell
 
VoxelAccumulator< DamageImpactm_damageImpactAccumulator
 

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