bool HelloWorld::init()
{
CCTimer::timerWithTarget(this,schedule_selector( HelloWorld::testTimerCB), 1);
this->schedule(schedule_selector( HelloWorld::testTimerCB), 1);
return true;
}
Powered by: 博客园 Copyright © 2024 KuPig Powered by .NET 8.0 on Kubernetes