For some reason, a schedule that I've set up isn't working. The method I'm trying to call is set up as follows:
- (void)test:(ccTime)dt {
NSLog(@"test");
}
and I'm calling the schedule in my -init method of my subclassed scene as follows:
[self schedule: @selector(test:) interval:0.5f];
NSLog(@"%@", scheduledSelectors);
The log directly following my setup of the schedule prints ""test:" = <Timer = 00E7CB50 | target:TPGameScene selector:(test:)>;", so I know that the schedule is "scheduled". However, the log statement in my scheduled method never prints.
Has anyone come across this before?
Thanks in advance!