I have a class which inherits from CCNode. What I need is function callback which is called every second to process some logic. I decided to use CCTimer, but when I do this:
void MyClass::MyCallBack(ccTime t)
Nothing happens. It doesn’t work. What is my problem?
Thanks in advance