コード例 #1
0
ファイル: Loader.cs プロジェクト: akadjoker/XNAFlixel
 //application entry point
 static void Main(string[] args)
 {
     using (FlxFactory game = new FlxFactory())
     {
         game.Run();
     }
 }
コード例 #2
0
ファイル: Activity1.cs プロジェクト: akadjoker/XNAFlixel
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Create our OpenGL view, and display it
            FlxFactory.Activity = this;
            var g = new FlxFactory();

            SetContentView(g.Window);
            g.Run();
        }