Commit 2cf9fbd9 authored by Tt's avatar Tt

修改类名

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