Пример #1
0
        public void Restore(IInputStream i, FScene s)
        {
            activeScene = s;

            i.OnBeginScene       += Restore_OnBeginScene;
            i.OnEndScene         += Restore_OnEndScene;
            i.OnBeginSceneObject += Restore_OnBeginSceneObject;
            i.OnEndSceneObject   += Restore_OnEndSceneObject;
            i.OnBeginStruct      += Restore_OnBeginStruct;
            i.OnEndStruct        += Restore_OnEndStruct;
            i.OnAttribute        += Restore_OnAttribute;

            i.Restore();
        }