當前位置: 首頁>>代碼示例>>Java>>正文


Java IOSApplicationConfiguration類代碼示例

本文整理匯總了Java中com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration的典型用法代碼示例。如果您正苦於以下問題:Java IOSApplicationConfiguration類的具體用法?Java IOSApplicationConfiguration怎麽用?Java IOSApplicationConfiguration使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


IOSApplicationConfiguration類屬於com.badlogic.gdx.backends.iosrobovm包,在下文中一共展示了IOSApplicationConfiguration類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new Game(new Advertisements() {
        @Override
        public void showAds() {

        }
    }), config);
}
 
開發者ID:MrGussio,項目名稱:EarthInvadersGDX,代碼行數:11,代碼來源:IOSLauncher.java

示例2: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication()
{
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    final String version = NSBundle.getMainBundle().getInfoDictionaryObject("CFBundleShortVersionString").toString();
    return new IOSApplication(new PixelDungeon(new PDPlatformSupport(version, null, new IOSInputProcessor())), config);
}
 
開發者ID:kurtyu,項目名稱:PixelDungeonTC,代碼行數:8,代碼來源:IOSLauncher.java

示例3: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {

    CB.setGlobalScale(1);

    final String appDir = System.getenv("HOME");
    final String localPath = appDir + "/Library/local/";

    LibgdxLogger.PROPERTIES_FILE_HANDLE = new LibgdxLoggerIosFileHandle(localPath, Files.FileType.Absolute).child(LibgdxLogger.CONFIGURATION_FILE_XML);
    LibgdxLogger.initial(LibgdxLogger.PROPERTIES_FILE_HANDLE);


    //initialize platform bitmap factory
    IosGraphics.init();


    //initialize platform connector
    PlatformConnector.init(new IOS_PlatformConnector(this));
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.multisample = GLKViewDrawableMultisample._4X;
    config.orientationLandscape = false;
    config.orientationPortrait = true;
    config.stencilFormat = GLKViewDrawableStencilFormat._8;
    GdxAssets.init("assets/");
    GLAdapter.init(new IosGL());

    return new IOSApplication(new CacheboxMain(), config);
}
 
開發者ID:Longri,項目名稱:cachebox3.0,代碼行數:29,代碼來源:IOS_Launcher.java

示例4: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new GGVmApplication(GameModuleProvider.provideGameModule(), MobileMenu.class, TouchInputProcessor.class), config);
}
 
開發者ID:gradualgames,項目名稱:ggvm,代碼行數:6,代碼來源:IOSLauncher.java

示例5: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new MainClass(), config);
}
 
開發者ID:hypeofpipe,項目名稱:Race99,代碼行數:6,代碼來源:IOSLauncher.java

示例6: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new MyGdxGame(), config);
}
 
開發者ID:davyjoneswang,項目名稱:libgdx-learnlib,代碼行數:6,代碼來源:IOSLauncher.java

示例7: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new GdxArtemisGame(), config);
}
 
開發者ID:DaanVanYperen,項目名稱:odb-artax,代碼行數:6,代碼來源:IOSLauncher.java

示例8: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new Asteroids(), config);
}
 
開發者ID:ezet,項目名稱:penguins-in-space,代碼行數:6,代碼來源:IOSLauncher.java

示例9: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new FlappyChapa(), config);
}
 
開發者ID:RubenMateus,項目名稱:FlappyChapa,代碼行數:6,代碼來源:IOSLauncher.java

示例10: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new CaramelosGame(), config);
}
 
開發者ID:luarca84,項目名稱:Caramelos,代碼行數:6,代碼來源:IOSLauncher.java

示例11: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    Control[] controls = new Control[] {new ControlTouch()};
    return new IOSApplication(new Client(controls, new Audio()), config);
}
 
開發者ID:rolandoislas,項目名稱:drc-sim-client,代碼行數:7,代碼來源:IOSLauncher.java

示例12: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new FlappyBaran(), config);
}
 
開發者ID:kirdmiv,項目名稱:Flappy-Baranus,代碼行數:6,代碼來源:IOSLauncher.java

示例13: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new Klooni(null), config);
}
 
開發者ID:LonamiWebs,項目名稱:Klooni1010,代碼行數:6,代碼來源:IOSLauncher.java

示例14: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new Polymorph(), config);
}
 
開發者ID:DurianHLN,項目名稱:Polymorph,代碼行數:6,代碼來源:IOSLauncher.java

示例15: createApplication

import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    return new IOSApplication(new PonytronGame(), config);
}
 
開發者ID:dsaves,項目名稱:Ponytron,代碼行數:6,代碼來源:IOSLauncher.java


注:本文中的com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。