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
140f0a58
Commit
140f0a58
authored
Mar 30, 2020
by
13732208043
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阈值更改
parent
78474834
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
pick-tea.json
dist/customs/pick-tea.json
+1
-1
main.js
src/custom/pick-tea/debug/main.js
+2
-2
main.js.map
src/custom/pick-tea/debug/main.js.map
+1
-1
GameView.ts
src/custom/pick-tea/src/game/GameView.ts
+2
-2
No files found.
dist/customs/pick-tea.json
View file @
140f0a58
This diff is collapsed.
Click to expand it.
src/custom/pick-tea/debug/main.js
View file @
140f0a58
...
...
@@ -186,8 +186,8 @@
if
(
this
.
schedule
)
{
clearInterval
(
this
.
schedule
);
}
var
totalNum
=
100
;
var
nowNum
=
90
;
var
totalNum
=
TeaNums
.
totalNum
;
var
nowNum
=
TeaNums
.
nowNum
;
this
.
getTeaPercentage
(
nowNum
,
totalNum
);
var
surplus
=
nowNum
-
totalNum
;
if
(
surplus
==
0
)
{
...
...
src/custom/pick-tea/debug/main.js.map
View file @
140f0a58
This diff is collapsed.
Click to expand it.
src/custom/pick-tea/src/game/GameView.ts
View file @
140f0a58
...
...
@@ -309,8 +309,8 @@ export default class GameView extends engine.Container {
showLog
(
'清理定时器,重新设置同步'
)
clearInterval
(
this
.
schedule
);
}
let
totalNum
=
100
//TeaNums.totalNum;
let
nowNum
=
/*TeaNums.nowNum*/
90
let
totalNum
=
TeaNums
.
totalNum
;
let
nowNum
=
TeaNums
.
nowNum
showLog
(
'nowNum:'
,
nowNum
)
this
.
getTeaPercentage
(
nowNum
,
totalNum
);
let
surplus
=
nowNum
-
totalNum
;
...
...
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