コード例 #1
0
ファイル: Launcher.cs プロジェクト: Daramkun/ProjectLiqueur
        public void LauncherInitialize( out IWindow window, out IGraphicsDevice graphicsDevice, out IAudioDevice audioDevice )
        {
            window = new Window ( frame );
            graphicsDevice = new GraphicsDevice ( window );
            audioDevice = new AudioDevice ( window );

            IsInitialized = true;
        }
コード例 #2
0
ファイル: Launcher.cs プロジェクト: Daramkun/ProjectLiqueur
        public void LauncherInitialize( out IWindow window, out IGraphicsDevice graphicsDevice, out IAudioDevice audioDevice )
        {
            window = new Window ( context );
            graphicsDevice = new GraphicsDevice ( window );
            audioDevice = new AudioDevice ( window );

            ( context as Android.App.Activity ).SetContentView ( window.Handle as Android.Views.View );

            IsInitialized = true;
        }
コード例 #3
0
ファイル: Launcher.cs プロジェクト: Daramkun/ProjectLiqueur
 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 );
 }