Search in sources :

Example 1 with AmazingMazeGame

use of ca.hiphiparray.amazingmaze.AmazingMazeGame in project AmazingMaze by TheVirtualMachine.

the class DesktopLauncher method main.

public static void main(String[] arg) {
    System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    DisplayMode displayMode = LwjglApplicationConfiguration.getDesktopDisplayMode();
    config.setFromDisplayMode(displayMode);
    config.title = "Amazing Maze";
    config.vSyncEnabled = true;
    config.foregroundFPS = 0;
    config.addIcon("icons/128.png", FileType.Internal);
    config.addIcon("icons/32.png", FileType.Internal);
    config.addIcon("icons/16.png", FileType.Internal);
    new LwjglApplication(new AmazingMazeGame(), config);
}
Also used : DisplayMode(com.badlogic.gdx.Graphics.DisplayMode) AmazingMazeGame(ca.hiphiparray.amazingmaze.AmazingMazeGame) LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)

Aggregations

AmazingMazeGame (ca.hiphiparray.amazingmaze.AmazingMazeGame)1 DisplayMode (com.badlogic.gdx.Graphics.DisplayMode)1 LwjglApplication (com.badlogic.gdx.backends.lwjgl.LwjglApplication)1 LwjglApplicationConfiguration (com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)1