Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
王剑峰
babycare_xiaoxiao
Commits
5639f6f7
Commit
5639f6f7
authored
Jul 24, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Success Panel Effect!
parent
fa4e1cc2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
workspace.xml
.idea/workspace.xml
+5
-7
SuccessNoPrizePanel.ts
src/panels/SuccessNoPrizePanel.ts
+5
-1
SuccessPrizePanel.ts
src/panels/SuccessPrizePanel.ts
+5
-2
No files found.
.idea/workspace.xml
View file @
5639f6f7
...
...
@@ -3,10 +3,8 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"9cef0552-af3c-4a1c-be1f-dc41ebe5b6db"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/res.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/res.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/ResJson.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/ResJson.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/SkinJson.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/SkinJson.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/BuyPowerPanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/BuyPowerPanel.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/SuccessNoPrizePanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/SuccessNoPrizePanel.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/SuccessPrizePanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/SuccessPrizePanel.ts"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -118,7 +116,7 @@
<workItem
from=
"1595382049907"
duration=
"765000"
/>
<workItem
from=
"1595382857407"
duration=
"11007000"
/>
<workItem
from=
"1595468598356"
duration=
"15042000"
/>
<workItem
from=
"1595555429502"
duration=
"1
1023
000"
/>
<workItem
from=
"1595555429502"
duration=
"1
2586
000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"111"
>
<created>
1594122339119
</created>
...
...
@@ -427,9 +425,9 @@
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"157"
y=
"286"
key=
"run.anything.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595475548860"
/>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"159558
2195073
"
>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"159558
4259535
"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"159558
2195073
"
/>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"159558
4259535
"
/>
</component>
</project>
\ No newline at end of file
src/panels/SuccessNoPrizePanel.ts
View file @
5639f6f7
...
...
@@ -133,7 +133,11 @@ export class SuccessNoPrizePanel extends Panel {
* 继续闯关
*/
private
continue
()
{
changeScene
(
MapScene
,
{
level
:
this
.
data
.
level
+
1
});
if
(
this
.
data
.
level
==
120
)
{
changeScene
(
MapScene
);
}
else
{
changeScene
(
MapScene
,
{
level
:
this
.
data
.
level
+
1
});
}
super
.
hidePanel
();
}
...
...
src/panels/SuccessPrizePanel.ts
View file @
5639f6f7
...
...
@@ -125,8 +125,11 @@ export class SuccessPrizePanel extends Panel {
* 继续闯关
*/
private
continue
()
{
console
.
log
(
1
);
changeScene
(
MapScene
,
{
level
:
this
.
data
.
level
+
1
});
if
(
this
.
data
.
level
==
120
)
{
changeScene
(
MapScene
);
}
else
{
changeScene
(
MapScene
,
{
level
:
this
.
data
.
level
+
1
});
}
super
.
hidePanel
();
}
...
...
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