Search in sources :

Example 1 with RubeLoaderTest

use of com.gushikustudios.rube.RubeLoaderTest in project RubeLoader by tescott.

the class RubeLoaderTestDesktop method mainLaunch.

/**
	 * @param args
	 */
public static void mainLaunch(int width, int height) {
    LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
    cfg.title = GAME_NAME;
    cfg.useGL20 = true;
    cfg.width = width;
    cfg.height = height;
    new LwjglApplication(new RubeLoaderTest(), cfg);
}
Also used : RubeLoaderTest(com.gushikustudios.rube.RubeLoaderTest) LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)

Example 2 with RubeLoaderTest

use of com.gushikustudios.rube.RubeLoaderTest in project RubeLoader by tescott.

the class MainActivity method onCreate.

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration();
    initialize(new RubeLoaderTest(true), cfg);
}
Also used : RubeLoaderTest(com.gushikustudios.rube.RubeLoaderTest) AndroidApplicationConfiguration(com.badlogic.gdx.backends.android.AndroidApplicationConfiguration)

Example 3 with RubeLoaderTest

use of com.gushikustudios.rube.RubeLoaderTest in project RubeLoader by tescott.

the class RubeLoaderTestDesktop method mainLaunch.

/**
	 * @param args
	 */
public static void mainLaunch(int width, int height, boolean useAssetManager, int rubeListIndex) {
    LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
    cfg.title = GAME_NAME;
    cfg.width = width;
    cfg.height = height;
    new LwjglApplication(new RubeLoaderTest(useAssetManager, rubeListIndex), cfg);
}
Also used : RubeLoaderTest(com.gushikustudios.rube.RubeLoaderTest) LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)

Aggregations

RubeLoaderTest (com.gushikustudios.rube.RubeLoaderTest)3 LwjglApplication (com.badlogic.gdx.backends.lwjgl.LwjglApplication)2 LwjglApplicationConfiguration (com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)2 AndroidApplicationConfiguration (com.badlogic.gdx.backends.android.AndroidApplicationConfiguration)1