示例#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
        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);
        }
 public static void Main()
 {
     using (var game = new TestDynamicSpriteFontVarious())
         game.Run();
 }