desktop: change run parameters
This commit is contained in:
parent
d507022c4a
commit
d50a67527e
@ -63,6 +63,10 @@ public class GdxMapApp extends GdxMap {
|
|||||||
new LwjglApplication(map, (config == null ? getConfig() : config));
|
new LwjglApplication(map, (config == null ? getConfig() : config));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void run(LwjglApplicationConfiguration config, int tileSize, GdxMap map) {
|
||||||
|
run(map, config, tileSize);
|
||||||
|
}
|
||||||
|
|
||||||
static protected LwjglApplicationConfiguration getConfig() {
|
static protected LwjglApplicationConfiguration getConfig() {
|
||||||
LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
|
LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
|
||||||
cfg.title = "vtm-gdx";
|
cfg.title = "vtm-gdx";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user