I know how to call method from AppDelegate.
//IN APP DELEGATE
[GameHUD pause];
//IN GAME HUD
+(void)pause{
NSLog(@"Pause");
}
But I can't call any method in GameHUD for some reason.
/IN GAME HUD
+(void)pause{
NSLog(@"Pause");
[self displayPause]; //GET UNRECOGNIZED SELECTOR ERROR HERE
}
I don't know why this doesn't work. What am I doing wrong?
Thanks!