Commit 2cf9fbd9 authored by Tt's avatar Tt

修改类名

parent 123f50a1
......@@ -5,10 +5,10 @@
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
const {ccclass, property} = cc._decorator;
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
export default class l2_boardgame2_tree_ItemData extends cc.Component {
@property
letter: string = '';
@property
......@@ -16,5 +16,5 @@ export default class NewClass extends cc.Component {
@property
word: string = '';
@property
jump: string =''
jump: string = ''
}
......@@ -934,7 +934,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
await this.pieceFindRightBlock(rightBlock, idx);
}
this.updateProgress(idx);
pieceRed["cantMove"] = true;
pieceBlue["cantMove"] = true;
this._status.letter = "";
......@@ -961,6 +960,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
await this.pieceFindRightBlock(rightBlock, idx);
}
this.updateProgress(idx);
pieceRed["cantMove"] = true;
pieceBlue["cantMove"] = true;
this._status.letter = "";
......
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