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

Public Member Functions

 EngineSlot (WorldObjectComponents *components, EngineSlotVoxel *voxel)
 
const EngineSlotVoxelvoxel () const
 
const glm::vec3 & direction ()
 
void setDirection (const glm::vec3 &direction)
 
const std::shared_ptr< Engine > & engine ()
 
void setEngine (const std::shared_ptr< Engine > &engine)
 
void update (float deltaSec)
 
void onVoxelRemoval ()
 
- Public Member Functions inherited from WorldObjectSlot
 WorldObjectSlot (WorldObjectComponents *components, int index)
 
std::list< std::string > mountables () const
 
bool mountable (const std::string &name) const
 
void setMountable (const std::string &name, bool mountable)
 
WorldObjectComponentscomponents ()
 
const WorldObjectComponentscomponents () const
 
int index () const
 

Protected Attributes

EngineSlotVoxelm_voxel
 
std::shared_ptr< Enginem_engine
 
glm::vec3 m_direction
 
- Protected Attributes inherited from WorldObjectSlot
WorldObjectComponentsm_components
 
std::map< std::string, bool > m_mountables
 
int m_index
 

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