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)
 
WorldObject * worldObject ()
 
const WorldObject * worldObject () const
 
Voxel * voxel ()
 
const Voxel * voxel () const
 
const glm::vec3 & damageVec () const
 
float damage () const
 
float fieldOfDamage () const
 
void add (const DamageImpact &damageImpact)
 

Protected Attributes

WorldObject * m_worldObject
 
Voxel * m_voxel
 
glm::vec3 m_damageVec
 
float m_fieldOfDamage
 

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