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

Public Member Functions

 ActionKeyMapping (std::string primary, std::string secondary, std::string name, bool toggleAction=false)
 
InputMapping mapping (InputClass inputClass)
 
void setMapping (InputClass inputClass, InputMapping mapping)
 
const std::string & name ()
 
const std::string & mappingName (InputClass inputClass)
 
bool toggleAction ()
 
bool toggleStatus ()
 
void setToggleStatus (bool status)
 

Protected Attributes

Property< InputMappingm_primaryMapping
 
Property< InputMappingm_secondaryMapping
 
bool m_toggleAction
 
bool m_toggleStatus
 
std::string m_name
 

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