Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
wildfirecode13
xiaoxiaole
Commits
b38f3c58
Commit
b38f3c58
authored
Aug 26, 2019
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
3d2379da
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-1
MapData.ts
egret/src/something/interface/MapData.ts
+2
-3
No files found.
egret/src/mainScene/MainScene.ts
View file @
b38f3c58
...
...
@@ -199,7 +199,7 @@ export default class MainScene extends Scene {
Tool
.
init
();
//第几关
this
.
chapter
=
(
data
&&
data
.
chapter
)
?
data
.
chapter
:
1
;
this
.
chapter
=
33
;
//
this.chapter = 33;
this
.
chapterTxt
.
text
=
"第"
+
this
.
chapter
+
"关"
;
//关卡数据,1期定制,70,后面35关地图一致,步数减少
var
mapDataIndex
=
this
.
chapter
;
...
...
egret/src/something/interface/MapData.ts
View file @
b38f3c58
...
...
@@ -6,13 +6,12 @@ import { PathData } from "./PathData";
export
interface
MapData
{
/**
* 一维格子数组,步长9
* 0为空,1基本元素,2为浅冰块,3深冰块,4棒棒糖,5石头,6元素枷锁
*
最大
9*9长度
* 0为空,1基本元素,2为浅冰块,3深冰块,4棒棒糖,5石头,6元素枷锁
,废弃
* 9*9长度
* 0无格子
* 1普通格子
* 2浅冰块
* 3深冰块
*
*/
lattices
:
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