Exemple #1
0
        static void Main()
        {
            bool UAT_APP = true;

            GameContainer game = (UAT_APP ? new UATApplication() as GameContainer : new MonoGameUAT());

            game._init_();

            UATApplication.USE_AOT_DATA_ = true;

            MonoGameConfig config = new MonoGameConfig();

            config.IsMouseVisible            = true;
            config.PreferredBackBufferWidth  = 800;
            config.PreferredBackBufferHeight = 720;
            config.AllowUserResizing         = true;

            using (var mini2DxGame = new Mini2DxGame("org.mini2Dx.uat", game, config))
                mini2DxGame.Run();

            Java.Lang.System.exit(0);
        }