Ejemplo n.º 1
0
    public override void OnInitialize()
    {
        OnInitInterface += new Func <bool>(() =>
        {
            Resource.ResourceGroupList.Create();
            GroupTraveller.Create();
            RendererContainor.Create();
            VcamList.Create();
            RendererContainor.Create();
            GroupTraveller.Create();
            OutputBuffer.Create();
            ResourceDisplayList.Create();
            TransitionManager.Create();
            return(true);
        });


        //OnLoadResouce += new Func<bool>(() => {
        //    return true;
        //});

        OnSetUpRenderer += new Func <bool>(() => {
            return(true);
        });

        OnLoadDevice += new Func <bool>(() => {
            VcamList.Instance.LoadConfig();
            OutputBuffer.Instance.InitFromConfig();
            ResourceDisplayList.Instance.InitProcess();
            GroupTraveller.Instance.OnInit();
            return(true);
        });
    }