import { _decorator, ccenum, Component } from 'cc';
import { MainManager } from './MainManager';
const { ccclass, property } = _decorator;

export enum ManagerType
{
    GAME = 0,
    UI = 1,
    USER_DATA_BEHAVIOUR = 2, 
    GAME_SETTINGS = 3,
    SOUND = 4
}
ccenum(ManagerType);

@ccclass('TopLevelManager')
export abstract class TopLevelManager extends Component
{
    @property({type: ManagerType})
    public managerType: ManagerType;

    public abstract fn_InitMainManager(mainManager: MainManager);
}
