// 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 IEventDispatcher from "../Events/IEventDispatcher";

const {ccclass, property} = cc._decorator;


/**
 * 启动器接口
 */
export default interface IInitiator extends IEventDispatcher
{
    /**
     * 启动
     */
    Startup(data?:any):void;

    /**
     * 当前进度
     */
    getProgress():number;

    /**
     * 销毁
     */
    Destroy():void;
}