Search in sources :

Example 1 with SkinEditorGame

use of org.shadebob.skineditor.SkinEditorGame in project gdx-skineditor by cobolfoo.

the class DesktopLauncher method main.

/**
	 * Entry point
	 */
public static void main(String[] arg) {
    // Set look and feel for Swing dialogs
    try {
        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    } catch (Exception e) {
        e.printStackTrace();
    }
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    config.width = 1024;
    config.height = 768;
    config.resizable = true;
    config.title = "Skin Editor for libGDX (v0.3)";
    config.backgroundFPS = 1;
    config.vSyncEnabled = true;
    new LwjglApplication(new SkinEditorGame(), config);
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) SkinEditorGame(org.shadebob.skineditor.SkinEditorGame) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)

Aggregations

LwjglApplication (com.badlogic.gdx.backends.lwjgl.LwjglApplication)1 LwjglApplicationConfiguration (com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)1 SkinEditorGame (org.shadebob.skineditor.SkinEditorGame)1