Commit f5b02bf8 authored by Tt's avatar Tt

内容上传

parent 948c401a
This diff is collapsed.
......@@ -68,8 +68,6 @@ export default class NewClass extends MyCocosSceneComponent {
this.layout_start.active = true;
pg.audio.playAudioByUrl(Game.getIns().question.audio);
// this.log("test initView")
this.initTouzi();
this.initChess();
}
initEvent() {
pg.view.touchOn(pg.view.find(this.layout_start, 'btn_start'), this.onTouchStart, this);
......@@ -117,6 +115,7 @@ export default class NewClass extends MyCocosSceneComponent {
private turnRobot: boolean;//当前是谁操作
private robotLevel: number;
onGameStart() {
this.initTouzi();
this.log("test onGameStart")
this.playerPoint = 0;
this.robotPoint = 0;
......
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