Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
game-stydy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
谌继荃
game-stydy
Commits
40024c90
Commit
40024c90
authored
Mar 11, 2021
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11.FlppyBird-对象池
parent
28a2d99a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
flppyBirdLib.js
lib/flppyBirdLib.js
+2
-2
No files found.
lib/flppyBirdLib.js
View file @
40024c90
...
@@ -146,7 +146,7 @@ class GameStage extends GameObject {
...
@@ -146,7 +146,7 @@ class GameStage extends GameObject {
}
}
async
_gameStart
()
{
async
_gameStart
()
{
await
this
.
reloadRes
();
await
this
.
p
reloadRes
();
this
.
ready
();
this
.
ready
();
}
}
...
@@ -154,7 +154,7 @@ class GameStage extends GameObject {
...
@@ -154,7 +154,7 @@ class GameStage extends GameObject {
* 预加载资源
* 预加载资源
* @returns {Promise<void>}
* @returns {Promise<void>}
*/
*/
async
reloadRes
()
{
async
p
reloadRes
()
{
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment