Beispiel #1
0
 public void LauncherFinalize( IWindow window, Graphics.IGraphicsDevice graphicsDevice, Audio.IAudioDevice audioDevice )
 {
     if ( updateThread != null )
         updateThread.Abort ();
     updateThread = null;
     if ( audioDevice != null )
         audioDevice.Dispose ();
     graphicsDevice.Dispose ();
     window.Dispose ();
 }
Beispiel #2
0
 public void LauncherInitialize( out IWindow window, out Graphics.IGraphicsDevice graphicsDevice, out Audio.IAudioDevice audioDevice )
 {
     window = new Window ();
     graphicsDevice = new GraphicsDevice ( window );
     audioDevice = new AudioDevice ( window );
 }