コード例 #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //Game = new TestImageLoad();
            //Game = new TestStaticSpriteFont();
            //Game = new TestDynamicSpriteFont();
            //Game = new TestDynamicSpriteFontJapanese();
            Game = new TestDynamicSpriteFontVarious();

            return(base.FinishedLaunching(app, options));
        }
コード例 #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //Game = new TestImageLoad();
            //Game = new TestStaticSpriteFont();
            //Game = new TestDynamicSpriteFont();
            //Game = new TestDynamicSpriteFontJapanese();
            Game = new TestDynamicSpriteFontVarious();

            return base.FinishedLaunching(app, options);
        }
コード例 #3
0
ファイル: ActivityAndroid.cs プロジェクト: cg123/xenko
        protected override void OnCreate(Bundle bundle)
        {
            RuntimeHelpers.RunModuleConstructor(typeof(MaterialKeys).Module.ModuleHandle);

            base.OnCreate(bundle);
            
            //Game = new TestDrawQuad();
            //Game = new TestGeometricPrimitives();
            //Game = new TestRenderToTexture();
            //Game = new TestSpriteBatch();
            //Game = new TestImageLoad();
            //Game = new TestStaticSpriteFont();
            //Game = new TestDynamicSpriteFont();
            //Game = new TestDynamicSpriteFontJapanese();
            Game = new TestDynamicSpriteFontVarious();

            Game.Run(GameContext);
        }
コード例 #4
0
        protected override void OnCreate(Bundle bundle)
        {
            RuntimeHelpers.RunModuleConstructor(typeof(MaterialKeys).Module.ModuleHandle);

            base.OnCreate(bundle);

            //Game = new TestDrawQuad();
            //Game = new TestGeometricPrimitives();
            //Game = new TestRenderToTexture();
            //Game = new TestSpriteBatch();
            //Game = new TestImageLoad();
            //Game = new TestStaticSpriteFont();
            //Game = new TestDynamicSpriteFont();
            //Game = new TestDynamicSpriteFontJapanese();
            Game = new TestDynamicSpriteFontVarious();

            Game.Run(GameContext);
        }
コード例 #5
0
 public static void Main()
 {
     using (var game = new TestDynamicSpriteFontVarious())
         game.Run();
 }