Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-libs
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-libs
Commits
3f35a094
Commit
3f35a094
authored
Dec 24, 2019
by
XieChuanJin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
派发分数事件
parent
817209c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
Game.ts
src/custom/shoot-planet/Game/Game.ts
+11
-0
No files found.
src/custom/shoot-planet/Game/Game.ts
View file @
3f35a094
...
@@ -297,6 +297,17 @@ export default class Game {
...
@@ -297,6 +297,17 @@ export default class Game {
this
.
onGameOver
&&
this
.
onGameOver
();
this
.
onGameOver
&&
this
.
onGameOver
();
}
}
}
}
this
.
outputEvent
();
}
private
outputEvent
()
{
engine
.
globalEvent
.
dispatchEvent
(
"ShootPlaneGame"
,
{
score
:
this
.
score
,
bulletScore
:
this
.
bulletScore
,
powerScore
:
this
.
powerScore
,
countDown
:
this
.
timer
});
}
}
private
updateMaxBallNum
(
bulletScore
:
number
)
{
private
updateMaxBallNum
(
bulletScore
:
number
)
{
...
...
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