|
|
|
@ -10,18 +10,13 @@ |
|
|
|
|
|
|
|
|
|
@interface dcocos_bridge : NSObject |
|
|
|
|
+ (dcocos_bridge *)instance; |
|
|
|
|
/**
|
|
|
|
|
Sets the custom resource directory path. |
|
|
|
|
|
|
|
|
|
@param path The custom path string (e.g., @"/customFolder") that will be appended to the Documents directory. |
|
|
|
|
*/ |
|
|
|
|
- (void)setCustomResourcePath:(NSString *)path; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
Configures Cocos2d-x search paths by using the previously set custom resource path. |
|
|
|
|
If no custom path has been set, it defaults to @"/hhhh". |
|
|
|
|
*/ |
|
|
|
|
- (void)configureCocos2dSearchPaths; |
|
|
|
|
- (void)configureCocos2dSearchPaths:(NSString *)customResourcePath; |
|
|
|
|
; |
|
|
|
|
- (void)initPlatform; |
|
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; |
|
|
|
|
- (void)applicationWillResignActive:(UIApplication *)application; |
|
|
|
|