package kz.ilotterytea.frogartha.gwt; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.backends.gwt.GwtApplication; import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration; import com.github.czyzby.websocket.GwtWebSockets; import kz.ilotterytea.frogartha.FrogarthaGame; /** * Launches the GWT application. */ public class GwtLauncher extends GwtApplication { @Override public GwtApplicationConfiguration getConfig() { // Resizable application, uses available space in browser with no padding: // cfg = new GwtApplicationConfiguration(true); //cfg.padVertical = 0; //cfg.padHorizontal = 0; //return cfg; // If you want a fixed size application, comment out the above resizable section, // and uncomment below: return new GwtApplicationConfiguration(800, 600); } @Override public ApplicationListener createApplicationListener() { GwtWebSockets.initiate(); return FrogarthaGame.getInstance(); } }