|
| 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 |
|
| SpecialVoxel (const glm::ivec3 &gridCell, int index, uint32_t color, float mass, float hp) |
|
int | index () const |
|
| 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 |
|
VoxelTreeNode * | voxelTreeNode () |
|
void | setVoxelTreeNode (VoxelTreeNode *voxelTreeNode) |
|
virtual void | addToCluster (VoxelCluster *cluster) |
|
virtual Visuals | visuals () const |
|
float | hp () const |
|
void | applyDamage (float deltaHp) |
|
float | normalizedMass () const |
|
|
static float | defaultMass () |
|
static float | defaultHp () |
|
int | m_index |
|
glm::ivec3 | m_gridCell |
|
VoxelTreeNode * | m_voxelTreeNode |
|
Visuals | m_visuals |
|
float | m_hp |
|
float | m_normalizedMass |
|
static Property< float > * | s_defaultMass |
|
static Property< float > * | s_defaultHp |
|
The documentation for this class was generated from the following files:
- src/voxel/specialvoxels/fuelvoxel.h
- src/voxel/specialvoxels/fuelvoxel.cpp