本文整理匯總了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);
}
示例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);
}
示例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);
}
示例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);
}
示例5: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new MainClass(), config);
}
示例6: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new MyGdxGame(), config);
}
示例7: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new GdxArtemisGame(), config);
}
示例8: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new Asteroids(), config);
}
示例9: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new FlappyChapa(), config);
}
示例10: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new CaramelosGame(), config);
}
示例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);
}
示例12: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new FlappyBaran(), config);
}
示例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);
}
示例14: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new Polymorph(), config);
}
示例15: createApplication
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; //導入依賴的package包/類
@Override
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new PonytronGame(), config);
}