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

Public Member Functions

 KeyTrigger (int glfwKey)
 
int key () const
 
void setKey (int glfwKey)
 
virtual void update (float deltaSec) override
 
- Public Member Functions inherited from Trigger
 Trigger (Triggerable *target=nullptr)
 
Triggerabletarget ()
 
void setTarget (Triggerable *target)
 
void trigger ()
 

Protected Attributes

int m_glfwKey
 
int m_lastState
 
- Protected Attributes inherited from Trigger
Triggerablem_target
 

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