mirror of https://github.com/axmolengine/axmol.git
67d16bee98
If the delta time dt passed to cocos2d::Timer::update(float) is longer than the interval of the timer, then the timer will be triggered several times even if the selector is unscheduled during the call. This commit adds a flag in cocos2d::Timer stop the update loop if the selector has been unscheduled. |
||
---|---|---|
.. | ||
SchedulerTest.cpp | ||
SchedulerTest.h |