Start void after x seconds
how ca I start a function after e.g. 10 sec? I try this but it does not
work :(
-(void)callFunction:(CCTime)dt
{
NSLog(@"Calling...");
}
[self schedule:@selector(callFunction:) interval:10.0f];
But CCTime makes a error : "Expected a type"
Nils
No comments:
Post a Comment