schedules

To add a schedule

[self schedule:@selector(methodName:) interval:0.5];

Method called

- (void)methodName:(ccTime) dt {

}

To remove one:

[self unschedule:@selector(methodName:)];

Leave a Reply

Your email address will not be published. Required fields are marked *