当前位置: 首页>>代码示例>>Java>>正文


Java IOSApplication类代码示例

本文整理汇总了Java中com.badlogic.gdx.backends.iosmoe.IOSApplication的典型用法代码示例。如果您正苦于以下问题:Java IOSApplication类的具体用法?Java IOSApplication怎么用?Java IOSApplication使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IOSApplication类属于com.badlogic.gdx.backends.iosmoe包,在下文中一共展示了IOSApplication类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.useCompass = true;
    config.useAccelerometer = true;

    mIosApplication = new IOSApplication(new BalanceBallSec(this), config);

    return mIosApplication;
}
 
开发者ID:tgobbens,项目名称:fluffybalance,代码行数:11,代码来源:IOSMoeLauncher.java

示例2: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.useAccelerometer = true;
    config.useCompass = true;
    return new IOSApplication(new MermaniaGame(), config);
}
 
开发者ID:msgilligan,项目名称:Mermania,代码行数:8,代码来源:IOSMoeLauncher.java

示例3: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.orientationLandscape = true;
    config.orientationPortrait = false;
    config.useAccelerometer = false;
    config.allowIpod = true;
    return new IOSApplication(new PayTest(), config);
}
 
开发者ID:libgdx,项目名称:gdx-pay,代码行数:10,代码来源:IOSMoeLauncher.java

示例4: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.useAccelerometer = false;
    return new IOSApplication(new Main(), config);
}
 
开发者ID:Arcxes,项目名称:CursedEcho,代码行数:7,代码来源:IOSMoeLauncher.java

示例5: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.useAccelerometer = false;
    return new IOSApplication(new PonytronGame(), config);
}
 
开发者ID:dsaves,项目名称:Ponytron,代码行数:7,代码来源:IOSMoeLauncher.java

示例6: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.useAccelerometer = false;
    return new IOSApplication(new MyGdxGame(), config);
}
 
开发者ID:athenacadence,项目名称:gdx-complextext,代码行数:7,代码来源:IOSMoeLauncher.java

示例7: load

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
public void load(String adUnit) {


    GADRequest request = GADRequest.request();

    //if (firebaseConfiguration.admobUseTestDevice) {
    //    NSMutableArray nsMutableArray = NSMutableArray.array();
    //    request.setTestDevices(nsMutableArray);
    //}

    GADRewardBasedVideoAd.sharedInstance().setDelegate(this);

    if (firebaseConfiguration.admobUseTestDevice) {
        // adUnit ca-app-pub-3940256099942544/1712485313 for testing
        GADRewardBasedVideoAd.sharedInstance().loadRequestWithAdUnitID(request, "ca-app-pub-3940256099942544/1712485313");
    } else {
        GADRewardBasedVideoAd.sharedInstance().loadRequestWithAdUnitID(request, adUnit);
    }



    controller = ((IOSApplication) Gdx.app).getUIViewController();
}
 
开发者ID:TomGrill,项目名称:gdx-firebase,代码行数:25,代码来源:IOSMOEVideoRewardAd.java

示例8: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.useAccelerometer = false;
    return new IOSApplication(new MyGdxExtensionApp(), config);
}
 
开发者ID:TomGrill,项目名称:my-gdx-extension-app,代码行数:7,代码来源:IOSMoeLauncher.java

示例9: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.useAccelerometer = false;
    return new IOSApplication(new RavTech(null), config);
}
 
开发者ID:Quexten,项目名称:RavTech,代码行数:7,代码来源:IOSMoeLauncher.java

示例10: createApplication

import com.badlogic.gdx.backends.iosmoe.IOSApplication; //导入依赖的package包/类
@Override
protected IOSApplication createApplication() {
    IOSApplicationConfiguration config = new IOSApplicationConfiguration();
    config.useAccelerometer = false;
    return new IOSApplication(new Semiprime(), config);
}
 
开发者ID:entangledloops,项目名称:semiprime,代码行数:7,代码来源:IOSMoeLauncher.java


注:本文中的com.badlogic.gdx.backends.iosmoe.IOSApplication类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。