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

Public Member Functions

 DamageImpact (WorldObject *worldObject, Voxel *voxel, const glm::vec3 &damageVec, float fieldOfDamage)
 
WorldObjectworldObject ()
 
const WorldObjectworldObject () const
 
Voxelvoxel ()
 
const Voxelvoxel () const
 
const glm::vec3 & damageVec () const
 
float damage () const
 
float fieldOfDamage () const
 
void add (const DamageImpact &damageImpact)
 

Protected Attributes

WorldObjectm_worldObject
 
Voxelm_voxel
 
glm::vec3 m_damageVec
 
float m_fieldOfDamage
 

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