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
2984fe79
Commit
2984fe79
authored
Jun 05, 2020
by
汪欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拼图成功后不能点击图片
parent
e7da0e0f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
main.js
src/custom/pictures/debug/main.js
+4
-0
main.js.map
src/custom/pictures/debug/main.js.map
+1
-1
GameView.ts
src/custom/pictures/src/game/GameView.ts
+4
-0
No files found.
src/custom/pictures/debug/main.js
View file @
2984fe79
...
@@ -166,6 +166,10 @@
...
@@ -166,6 +166,10 @@
GameView
.
prototype
.
stop
=
function
()
{
GameView
.
prototype
.
stop
=
function
()
{
GAME_TIME
=
props
.
GAME_TIME
;
GAME_TIME
=
props
.
GAME_TIME
;
clearInterval
(
this
.
_timer
);
clearInterval
(
this
.
_timer
);
var
len
=
this
.
pictures
.
length
;
for
(
var
i
=
0
;
i
<
len
;
i
++
)
{
this
.
pictures
[
i
].
removeAllEventListener
();
}
};
};
GameView
.
prototype
.
createRects
=
function
()
{
};
GameView
.
prototype
.
createRects
=
function
()
{
};
GameView
.
prototype
.
setup
=
function
()
{
GameView
.
prototype
.
setup
=
function
()
{
...
...
src/custom/pictures/debug/main.js.map
View file @
2984fe79
This diff is collapsed.
Click to expand it.
src/custom/pictures/src/game/GameView.ts
View file @
2984fe79
...
@@ -123,6 +123,10 @@ export default class GameView extends engine.Container {
...
@@ -123,6 +123,10 @@ export default class GameView extends engine.Container {
stop
()
{
stop
()
{
GAME_TIME
=
props
.
GAME_TIME
GAME_TIME
=
props
.
GAME_TIME
clearInterval
(
this
.
_timer
);
clearInterval
(
this
.
_timer
);
let
len
=
this
.
pictures
.
length
;
for
(
let
i
=
0
;
i
<
len
;
i
++
){
this
.
pictures
[
i
].
removeAllEventListener
();
}
}
}
constructor
()
{
constructor
()
{
...
...
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