// Learn TypeScript:
//  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html

import GUIManager from "../../GEngine/gui/GUIManager";

const {ccclass, property} = cc._decorator;

@ccclass
export default class UIConst{

    /**
     * 游戏准备界面
     */
    public static PREPARE_UI:number=0;

    /**
     * 战斗界面
     */
    public static FIGHTING_UI:number=1;

    //注册所有游戏UI
    static RegisterGUI():void{
        GUIManager.single.RegisterGUI(this.PREPARE_UI,"prefabs/PrepareUI");
        GUIManager.single.RegisterGUI(this.FIGHTING_UI,"prefabs/FightingUI");
    }
}
