|
83 | 83 | * @param name Name of the package |
84 | 84 | * @param enableAfterDownload If the package should be enabled in cocos2d after download. You can enable it with the enablePackage: method later on. |
85 | 85 | */ |
86 | | -- (CCPackage *)downloadPackageWithName:(NSString *)name enableAfterDownload:(BOOL)enableAfterDownload; |
| 86 | +- (CCPackage *)downloadPackageWithName:(NSString *)name |
| 87 | + enableAfterDownload:(BOOL)enableAfterDownload; |
87 | 88 |
|
88 | 89 | /** |
89 | 90 | * Like the method above. Instead of using the baseURL, name and resolution you can provide the URL directly. |
|
94 | 95 | * @param resolution Resolution of the package, e.g. phonehd, tablethd etc. |
95 | 96 | * @param enableAfterDownload If the package should be enabled in cocos2d after download. You can enable it with the enablePackage: method later on. |
96 | 97 | */ |
97 | | -- (CCPackage *)downloadPackageWithName:(NSString *)name resolution:(NSString *)resolution enableAfterDownload:(BOOL)enableAfterDownload; |
| 98 | +- (CCPackage *)downloadPackageWithName:(NSString *)name |
| 99 | + resolution:(NSString *)resolution |
| 100 | + enableAfterDownload:(BOOL)enableAfterDownload; |
98 | 101 |
|
99 | 102 | /** |
100 | 103 | * Like the method above. Instead of using the baseURL and name you can provide the URL directly. |
|
104 | 107 | * @param remoteURL URL of the package to be downloaded |
105 | 108 | * @param enableAfterDownload If the package should be enabled in cocos2d after download. You can enable it with the enablePackage: method later on. |
106 | 109 | */ |
107 | | -- (CCPackage *)downloadPackageWithName:(NSString *)name remoteURL:(NSURL *)remoteURL enableAfterDownload:(BOOL)enableAfterDownload; |
| 110 | +- (CCPackage *)downloadPackageWithName:(NSString *)name |
| 111 | + remoteURL:(NSURL *)remoteURL |
| 112 | + enableAfterDownload:(BOOL)enableAfterDownload; |
108 | 113 |
|
109 | 114 | /** |
110 | 115 | * Like the method above. Instead of using the baseURL, name and resolution you can provide the URL directly. |
|
115 | 120 | * @param remoteURL URL of the package to be downloaded |
116 | 121 | * @param enableAfterDownload If the package should be enabled in cocos2d after download. You can enable it with the enablePackage: method later on. |
117 | 122 | */ |
118 | | -- (CCPackage *)downloadPackageWithName:(NSString *)name resolution:(NSString *)resolution remoteURL:(NSURL *)remoteURL enableAfterDownload:(BOOL)enableAfterDownload; |
| 123 | +- (CCPackage *)downloadPackageWithName:(NSString *)name |
| 124 | + resolution:(NSString *)resolution |
| 125 | + remoteURL:(NSURL *)remoteURL |
| 126 | + enableAfterDownload:(BOOL)enableAfterDownload; |
119 | 127 |
|
120 | 128 | /** |
121 | 129 | * Downloads a package. This is supposed to work in conjunction with addPackage where a package is created without the package manager |
|
0 commit comments