本文整理汇总了Java中ethanjones.cubes.core.platform.AdapterInterface类的典型用法代码示例。如果您正苦于以下问题:Java AdapterInterface类的具体用法?Java AdapterInterface怎么用?Java AdapterInterface使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AdapterInterface类属于ethanjones.cubes.core.platform包,在下文中一共展示了AdapterInterface类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: preInit
import ethanjones.cubes.core.platform.AdapterInterface; //导入依赖的package包/类
public static void preInit(AdapterInterface aI) {
if (preInit)
return;
preInit = true;
if (Compatibility.get() == null) {
Log.error(new CubesException("No Compatibility module for this platform: " + Gdx.app.getType().name()
+ ", OS: " + System.getProperty("os.name") + ", Arch:" + System.getProperty("os.arch")));
}
Cubes.adapterInterface = aI;
Compatibility.get().getBaseFolder().mkdirs();
Log.info(Branding.DEBUG); // Can't log till base folder setup
Log.info("https://github.com/ictrobot/Cubes");
Debug.printProperties();
Compatibility.get().logEnvironment();
Executor.init();
Assets.preInit();
}
示例2: preInit
import ethanjones.cubes.core.platform.AdapterInterface; //导入依赖的package包/类
public static void preInit(AdapterInterface adapterInterface) {
if (preInit) return;
preInit = true;
if (Compatibility.get() == null) {
Log.error(new CubesException("No Compatibility module for this platform: " + Gdx.app.getType().name() + ", OS: " + System.getProperty("os.name") + ", Arch:" + System.getProperty("os.arch")));
}
Cubes.adapterInterface = adapterInterface;
Compatibility.get().getBaseFolder().mkdirs();
Log.info(Branding.DEBUG); //Can't log till base folder setup
Log.info("https://github.com/ictrobot/Cubes");
Debug.printProperties();
Compatibility.get().logEnvironment();
Executor.init();
Assets.preInit();
}