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

Public Member Functions

 LoopingTimer (float interval, const std::function< void()> &callback)
 
- Public Member Functions inherited from Timer
 Timer (float interval, const std::function< void()> &callback)
 
virtual void update (float deltaSec) override
 
- Public Member Functions inherited from EventPoll
 EventPoll (const std::function< void()> &callback)
 
virtual bool isDead ()
 
bool isActive () const
 
void setActive (bool active)
 
Handle< EventPoll > & handle ()
 
- Public Member Functions inherited from Scriptable
int scriptKey () const
 
void setScriptKey (int key)
 
bool isScriptLocal () const
 
void setScriptLocal (bool local)
 

Additional Inherited Members

- Static Public Attributes inherited from Scriptable
static const int INVALID_KEY = -1
 
- Protected Member Functions inherited from Timer
virtual bool poll () override
 
virtual void specialOnCallback () override
 
- Protected Member Functions inherited from EventPoll
void doCallback ()
 
- Protected Attributes inherited from Timer
float m_interval
 
float m_countdown
 
int m_scheduledCalls
 
- Protected Attributes inherited from EventPoll
std::function< void()> m_callback
 
Handle< EventPollm_handle
 
bool m_active
 
- Protected Attributes inherited from Scriptable
int m_key
 
bool m_local
 

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