Esempio 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);
 }
Esempio 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);
        }