Search in sources :

Example 1 with MainGame

use of me.dumfing.client.maingame.MainGame in project Alkahest-Coffee by AlkahestDev.

the class DesktopLauncher method main.

public static void main(String[] arg) {
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    config.title = "Alkahest Coffee Corporation";
    /*config.fullscreen = true;
        config.width=999999; //TODO: make a better way of fullscreening : i made one in fakeMainGame, but the hitboxes dont work :/
        config.height=999999;*/
    config.width = 1280;
    config.height = 720;
    config.resizable = false;
    config.addIcon("badAlkahest.png", Files.FileType.Internal);
    new LwjglApplication(new MainGame(), config);
}
Also used : LwjglApplication(com.badlogic.gdx.backends.lwjgl.LwjglApplication) MainGame(me.dumfing.client.maingame.MainGame) LwjglApplicationConfiguration(com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)

Aggregations

LwjglApplication (com.badlogic.gdx.backends.lwjgl.LwjglApplication)1 LwjglApplicationConfiguration (com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)1 MainGame (me.dumfing.client.maingame.MainGame)1