Ejemplo n.º 1
0
 public override void OnLoad(EventArgs e)
 {
     this.Camera.RotateXZTarget = 15.0f;
     this.OnResize(new EventArgs());
     Stream s = File.Open("prologueScene.sc", FileMode.Open, FileAccess.Read);
     this.MainWindow.SceneLoader.LoadScene(s);
     s.Close();
     this.book = new PopupBook(this.pbis.ToArray());
     this.book.OnLoad(e);
 }
Ejemplo n.º 2
0
        public override void OnLoad(EventArgs e)
        {
            this.Camera.RotateXZTarget = 15.0f;
            this.OnResize(new EventArgs());
            Stream s = File.Open("prologueScene.sc", FileMode.Open, FileAccess.Read);

            this.MainWindow.SceneLoader.LoadScene(s);
            s.Close();
            this.book = new PopupBook(this.pbis.ToArray());
            this.book.OnLoad(e);
        }