#include <CCScheduler.h>
|
| TimerTargetSelector () |
|
bool | initWithSelector (Scheduler *scheduler, SEL_SCHEDULE selector, Ref *target, float seconds, unsigned int repeat, float delay) |
| Initializes a timer with a target, a selector and an interval in seconds, repeat in number of times to repeat, delay in seconds. More...
|
|
SEL_SCHEDULE | getSelector () const |
|
virtual void | trigger () override |
|
virtual void | cancel () override |
|
float | getInterval () const |
| get interval in seconds More...
|
|
void | setInterval (float interval) |
| set interval in seconds More...
|
|
void | setupTimerWithInterval (float seconds, unsigned int repeat, float delay) |
|
void | update (float dt) |
| triggers the timer More...
|
|
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
| NA NA More...
|
|
bool initWithSelector |
( |
Scheduler * |
scheduler, |
|
|
SEL_SCHEDULE |
selector, |
|
|
Ref * |
target, |
|
|
float |
seconds, |
|
|
unsigned int |
repeat, |
|
|
float |
delay |
|
) |
| |
Initializes a timer with a target, a selector and an interval in seconds, repeat in number of times to repeat, delay in seconds.
The documentation for this class was generated from the following file:
- /Users/huihoo/Software/huihoo-code/cocos2d-x/cocos2d-x-3.3/cocos/base/CCScheduler.h