
import { _decorator, Component, Node, systemEvent } from 'cc';
import { PrefabBase } from '../base/prefabBase';
const { ccclass, property } = _decorator;

@ccclass('Zonghe')
export class Zonghe extends PrefabBase {
    // [1]
    // dummy = '';

    // [2]
    // @property
    // serializableDummy = 0;

    start () {
        // [3]
    }

    // update (deltaTime: number) {
    //     // [4]
    // }
    goIndex(){
        systemEvent.emit("changeWin", "Index");
    }
}

