|
| Timer (float interval, const std::function< void()> &callback) |
|
virtual void | update (float deltaSec) override |
|
| EventPoll (const std::function< void()> &callback) |
|
virtual bool | isDead () |
|
bool | isActive () const |
|
void | setActive (bool active) |
|
Handle< EventPoll > & | handle () |
|
int | scriptKey () const |
|
void | setScriptKey (int key) |
|
bool | isScriptLocal () const |
|
void | setScriptLocal (bool local) |
|
|
virtual bool | poll () override |
|
virtual void | specialOnCallback () override |
|
void | doCallback () |
|
|
float | m_interval |
|
float | m_countdown |
|
int | m_scheduledCalls |
|
std::function< void()> | m_callback |
|
Handle< EventPoll > | m_handle |
|
bool | m_active |
|
int | m_key |
|
bool | m_local |
|
|
static const int | INVALID_KEY = -1 |
|
The documentation for this class was generated from the following files:
- src/events/timer.h
- src/events/timer.cpp