本文整理汇总了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);
}