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);
}
Aggregations