Microsoft.Xna.Framework.OpenTKGamePlatform.OpenTKGamePlatform C# (CSharp) Method

OpenTKGamePlatform() public method

public OpenTKGamePlatform ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System
		public OpenTKGamePlatform(Game game)
            : base(game)
        {
            toolkit = Toolkit.Init();
            _view = new OpenTKGameWindow(game);
            this.Window = _view;

			// Setup our OpenALSoundController to handle our SoundBuffer pools
            try
            {
                soundControllerInstance = OpenALSoundController.GetInstance;
            }
            catch (DllNotFoundException ex)
            {
                throw (new NoAudioHardwareException("Failed to init OpenALSoundController", ex));
            }
        }