import SystemBase from "../../extensions/ngame/assets/ngame/system/SystemBase";
import BaseAction from "./action/BaseAction";
import PVPAction from "./action/PVPAction";

export default class AppAction extends SystemBase{

    loadings:BaseAction[] = [
        PVPAction.getIns(), //PVP Action
    ];

    async onInit(): Promise<any> {

        //初始化所有数据类
        for (let index = 0; index < this.loadings.length; index++) {
            const data = this.loadings[index];
            await data.onInit();
        }

    }

}


