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

Public Member Functions

 FuelVoxel (const glm::ivec3 &gridCell, int index)
 
virtual void addToObject (WorldObject *worldObject) override
 
virtual float damageForwardingDestructionDamage () override
 
virtual void onRemoval () override
 
virtual void onDestruction () override
 
- Public Member Functions inherited from SpecialVoxel
 SpecialVoxel (const glm::ivec3 &gridCell, int index, uint32_t color, float mass, float hp)
 
int index () const
 
- Public Member Functions inherited from Voxel
 Voxel (const glm::ivec3 &gridCell, uint32_t color=0xFFFFFF, float mass=defaultMass(), float hp=defaultHp(), float emissiveness=0)
 
 Voxel (const Voxel &other)
 
const glm::ivec3 & gridCell () const
 
glm::vec3 position () const
 
VoxelTreeNodevoxelTreeNode ()
 
void setVoxelTreeNode (VoxelTreeNode *voxelTreeNode)
 
virtual void addToCluster (VoxelCluster *cluster)
 
virtual Visuals visuals () const
 
float hp () const
 
void applyDamage (float deltaHp)
 
float normalizedMass () const
 

Additional Inherited Members

- Static Protected Member Functions inherited from Voxel
static float defaultMass ()
 
static float defaultHp ()
 
- Protected Attributes inherited from SpecialVoxel
int m_index
 
- Protected Attributes inherited from Voxel
glm::ivec3 m_gridCell
 
VoxelTreeNodem_voxelTreeNode
 
Visuals m_visuals
 
float m_hp
 
float m_normalizedMass
 
- Static Protected Attributes inherited from Voxel
static Property< float > * s_defaultMass
 
static Property< float > * s_defaultHp
 

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