blob: a4e7ea341d4d27e4e3fd83fb46d8f10c343757b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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 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:
GwtApplicationConfiguration 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(640, 480);
}
@Override
public ApplicationListener createApplicationListener() {
return FrogarthaGame.getInstance();
}
}
|