Exemple #1
0
        protected override void OnWorldInitialized(bool restore)
        {
            if (restore)
            {
                Tree.Reset(World);
                return;
            }

            ShadowRectangle
            .Create(World);

            Engine.Renderer.GUIManager.ShowSoftwareCursor = false;
            Tree.Reset(World);
            World.Interactive = false;
            Ego.EnterScene(Tree.Basement.SceneID);

            Tree.Actors.Ryan.EnterScene(Tree.Basement.SceneID);
            Tree.Actors.RyanVoice.EnterScene(Tree.Basement.SceneID);
            Tree.Actors.Mouse.EnterScene(Tree.Basement.SceneID);

            Tree.Cutscenes.Director.StartSession(Cutscenes.Sessions.One);
        }