1234567891011121314151617181920 |
- import { _decorator, Component, Node } from 'cc';
- import { UIButton } from '../gcommon/UIButton';
- import GBoardChess from './ChessGame/GBoardChess';
- const { ccclass, property } = _decorator;
- @ccclass('wait_renji')
- export class wait_renji extends Component {
- @property(Node) btn_re_start:Node = null;
- start() {
- UIButton.BindClick(this.btn_re_start,()=>{
- GBoardChess.instance.restartGame()
- },this)
- }
- update(deltaTime: number) {
-
- }
- }
|