I am trying to start a timer, that I have as a public member variable
cocos2d::CCTimer _growingTimer; _growingTimer = cocos2d::CCTimer::timerWithTarget(this, schedule_selector(Broccoli::plantStoppedGrowing), 1);
But I am getting:
Unknown type name 'SEL_SCHEDULE'; did you mean 'cocos2d::SEL_SCHEDULE'?
No matching function for call to 'timerWithTarget'
But even adding a
Does anyone have a working example? I just need to run the timer once and check it periodically to see how far in it is.