SHARE
TWEET

Untitled

a guest Feb 14th, 2013 20 Never
  1. - ( void ) moviePlaybackFinished
  2. {
  3.     CCLOG(@ "moviePlaybackFinished" );
  4.  
  5.     NSString * className =  [PublicApi readSceneClassName];
  6.     id aClass = NSClassFromString(className);
  7.     if(aClass!=nil)
  8.     {
  9.      if([aClass respondsToSelector:@selector(moviePlaybackFinished: ResArr: Menu:      MovieNum:)])
  10.     {
  11.  
  12. }
  13.  
  14. self.movieNum++;
  15. }
  16.  
  17. - ( void ) movieStartsPlaying
  18. {
  19.     CCLOG(@ "movieStartsPlaying" );
  20. }
  21.  
  22. #ifdef __IPHONE_OS_VERSION_MAX_ALLOWED
  23. // Updates orientation of CCVideoPlayer. Called from SharedSources/RootViewController.m
  24. - ( void ) updateOrientationWithOrientation: (UIDeviceOrientation) newOrientation
  25. {
  26. CCLOG(@ "updateOrientationWithOrientation" );
  27. [CCVideoPlayer updateOrientationWithOrientation:newOrientation ];
  28. }
  29. #endif
RAW Paste Data
Top