Exemplo n.º 1
0
 void LoadSpecific(int index)
 {
     intro = Game.GameData.GetIntroSceneSpecific(index);
     scene.Dispose();
     scene.BeginScene(intro.Scripts);
     scene.Update(1 / 60.0); //Do all the setup events - smoother entrance
     Game.Sound.PlayMusic(intro.Music);
 }
Exemplo n.º 2
0
 public override void Unregister()
 {
     Game.Keyboard.TextInput -= Game_TextInput;
     Game.Keyboard.KeyDown   -= Keyboard_KeyDown;
     hud.Dispose();
     scene.Dispose();
 }
Exemplo n.º 3
0
        public override void Unregister()
        {
#if DEBUG
            Game.Keyboard.KeyDown -= Keyboard_KeyDown;
#endif
            Game.WillClose -= G_WillClose;
            manager.Dispose();
            scene.Dispose();
        }