Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zjzy_client_game
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
王勇霞
zjzy_client_game
Commits
bd582a83
Commit
bd582a83
authored
Mar 10, 2023
by
王勇霞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除sendLog
parent
39ac0990
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
11 deletions
+4
-11
FailPanel.ts
src/panels/FailPanel.ts
+1
-6
RulePanel.ts
src/panels/RulePanel.ts
+1
-1
SuccessPanel.ts
src/panels/SuccessPanel.ts
+1
-3
GameScene.ts
src/scenes/GameScene.ts
+1
-1
No files found.
src/panels/FailPanel.ts
View file @
bd582a83
...
...
@@ -2,7 +2,7 @@ import { Panel } from "../../module/views/Panel";
import
{
changeScene
,
getCurrentScene
,
showPanel
,
showToast
}
from
"../../module/ctrls"
;
import
{
StartScene
}
from
"../scenes/StartScene"
;
import
{
GuidePanel
}
from
"./GuidePanel"
;
import
{
getWebData
,
WebNetName
,
sendLog
,
LOG_TYPE
,
getPxTokenSave
,
sendWebNet
}
from
"../webNet"
;
import
{
getWebData
,
WebNetName
,
LOG_TYPE
,
getPxTokenSave
,
sendWebNet
}
from
"../webNet"
;
export
class
FailPanel
extends
Panel
{
get
groupNames
()
{
return
[
"FailPanel"
]
};
get
skinName
()
{
return
"FailPanel"
};
...
...
@@ -24,18 +24,13 @@ export class FailPanel extends Panel {
this
.
score
.
x
=
92
this
.
score
.
textWidth
=
568
this
.
score
.
textAlign
=
FYGE
.
TEXT_ALIGN
.
CENTER
sendLog
(
LOG_TYPE
.
EXPOSURE
,
40
)
sendLog
(
LOG_TYPE
.
EXPOSURE
,
39
)
}
back
()
{
this
.
hidePanel
()
sendLog
(
LOG_TYPE
.
CLICK
,
40
)
changeScene
(
StartScene
)
}
isOpen
=
false
async
restart
()
{
sendLog
(
LOG_TYPE
.
CLICK
,
39
)
this
.
btnDelay
(
this
.
restartbtn
)
if
(
!
this
.
isOpen
)
{
this
.
isOpen
=
true
...
...
src/panels/RulePanel.ts
View file @
bd582a83
import
{
Panel
}
from
"../../module/views/Panel"
;
import
{
sendWebNet
,
WebNetName
,
sendLog
,
LOG_TYPE
}
from
"../webNet"
;
import
{
sendWebNet
,
WebNetName
,
LOG_TYPE
}
from
"../webNet"
;
import
{
showToast
}
from
"../../module/ctrls"
;
import
{
RES
}
from
"../../module/RES"
;
export
class
RulePanel
extends
Panel
{
...
...
src/panels/SuccessPanel.ts
View file @
bd582a83
...
...
@@ -2,7 +2,7 @@ import { Panel } from "../../module/views/Panel";
import
{
RES
}
from
"../../module/RES"
;
import
{
changeScene
}
from
"../../module/ctrls"
;
import
{
StartScene
}
from
"../scenes/StartScene"
;
import
{
getWebData
,
WebNetName
,
sendLog
,
LOG_TYPE
}
from
"../webNet"
;
import
{
getWebData
,
WebNetName
,
LOG_TYPE
}
from
"../webNet"
;
export
class
SuccessPanel
extends
Panel
{
get
groupNames
()
{
return
[
"SuccessPanel"
]
};
get
skinName
()
{
return
"SuccessPanel"
};
...
...
@@ -38,11 +38,9 @@ export class SuccessPanel extends Panel {
let
endInfo
=
getWebData
(
WebNetName
.
submitGame
).
data
this
.
score
.
text
=
endInfo
.
score
+
""
this
.
sunscore
.
text
=
"x"
+
endInfo
.
sunNum
+
""
sendLog
(
LOG_TYPE
.
EXPOSURE
,
38
)
}
back
(){
this
.
hidePanel
()
sendLog
(
LOG_TYPE
.
CLICK
,
38
)
changeScene
(
StartScene
)
}
initEvents
()
{
...
...
src/scenes/GameScene.ts
View file @
bd582a83
...
...
@@ -3,7 +3,7 @@ import Role from "./components/Role";
import
{
RES
}
from
"../../module/RES"
;
import
Cloud
from
"./components/Cloud"
;
import
Word
from
"./components/word"
;
import
{
getWebData
,
WebNetName
,
sendWebNet
,
sendLog
,
LOG_TYPE
}
from
"../webNet"
;
import
{
getWebData
,
WebNetName
,
sendWebNet
,
LOG_TYPE
}
from
"../webNet"
;
import
{
showPanel
,
showToast
,
changeScene
}
from
"../../module/ctrls"
;
import
{
GuidePanel
}
from
"../panels/GuidePanel"
;
import
{
StartScene
}
from
"./StartScene"
;
...
...
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