icarus_groundmark 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/Test.zip +0 -0
- package/package.json +31 -0
- package/src/Icarus.ts +2485 -0
package/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
对象池实例:
|
|
2
|
+
A:
|
|
3
|
+
pool.init_pool(new PoolConfig(config))
|
|
4
|
+
B:
|
|
5
|
+
const PoolConfig = {
|
|
6
|
+
pool: [
|
|
7
|
+
{ name: 'Bullet', path: 'prefab/Bullet', count: 1000, auto_supplement: 0.5, auto_expansion: true, auto_example: false, handler: true },
|
|
8
|
+
]
|
|
9
|
+
}
|
|
10
|
+
pool.init_pool(PoolConfig)
|
package/Test.zip
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "icarus_groundmark",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Create By Lee",
|
|
5
|
+
"main": "./src/Icarus.ts",
|
|
6
|
+
"types": "./src/Icarus.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"No test specified\""
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"cocos",
|
|
12
|
+
"cocos-creator",
|
|
13
|
+
"game",
|
|
14
|
+
"utils",
|
|
15
|
+
"audio",
|
|
16
|
+
"i18n"
|
|
17
|
+
],
|
|
18
|
+
"author": "Your Name",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"files": [
|
|
21
|
+
"src",
|
|
22
|
+
"README.md",
|
|
23
|
+
"Test.zip"
|
|
24
|
+
],
|
|
25
|
+
"dependencies": {
|
|
26
|
+
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
}
|