Commit b38f3c58 authored by wjf's avatar wjf

l

parent 3d2379da
...@@ -199,7 +199,7 @@ export default class MainScene extends Scene { ...@@ -199,7 +199,7 @@ export default class MainScene extends Scene {
Tool.init(); Tool.init();
//第几关 //第几关
this.chapter = (data && data.chapter) ? data.chapter : 1; this.chapter = (data && data.chapter) ? data.chapter : 1;
this.chapter = 33; // this.chapter = 33;
this.chapterTxt.text = "第" + this.chapter + "关"; this.chapterTxt.text = "第" + this.chapter + "关";
//关卡数据,1期定制,70,后面35关地图一致,步数减少 //关卡数据,1期定制,70,后面35关地图一致,步数减少
var mapDataIndex = this.chapter; var mapDataIndex = this.chapter;
......
...@@ -6,13 +6,12 @@ import { PathData } from "./PathData"; ...@@ -6,13 +6,12 @@ import { PathData } from "./PathData";
export interface MapData { export interface MapData {
/** /**
* 一维格子数组,步长9 * 一维格子数组,步长9
* 0为空,1基本元素,2为浅冰块,3深冰块,4棒棒糖,5石头,6元素枷锁 * 0为空,1基本元素,2为浅冰块,3深冰块,4棒棒糖,5石头,6元素枷锁,废弃
* 最大9*9长度 * 9*9长度
* 0无格子 * 0无格子
* 1普通格子 * 1普通格子
* 2浅冰块 * 2浅冰块
* 3深冰块 * 3深冰块
*
*/ */
lattices: number[]; lattices: number[];
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment