Package org.oscim.gdx
Class GdxMapApp
java.lang.Object
org.oscim.gdx.GdxMap
org.oscim.gdx.GdxMapApp
- All Implemented Interfaces:
com.badlogic.gdx.ApplicationListener
public class GdxMapApp
extends org.oscim.gdx.GdxMap
-
Field Summary
FieldsFields inherited from class org.oscim.gdx.GdxMap
mGestureDetector, mMap, mMapRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddispose()protected static com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfigurationstatic voidinit()protected voidinitGLAdapter(com.badlogic.gdx.graphics.glutils.GLVersion version) static voidstatic voidrun(org.oscim.gdx.GdxMap map) static voidrun(org.oscim.gdx.GdxMap map, com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration config, int tileSize) Methods inherited from class org.oscim.gdx.GdxMap
create, getMap, initDefaultLayers, onKeyDown, onKeyUp, pause, render, resize, resume
-
Field Details
-
log
public static final org.slf4j.Logger log
-
-
Constructor Details
-
GdxMapApp
public GdxMapApp()
-
-
Method Details
-
init
public static void init() -
main
-
run
public static void run(org.oscim.gdx.GdxMap map) -
run
public static void run(org.oscim.gdx.GdxMap map, com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration config, int tileSize) -
getConfig
protected static com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration getConfig(String title) -
initGLAdapter
protected void initGLAdapter(com.badlogic.gdx.graphics.glutils.GLVersion version) - Specified by:
initGLAdapterin classorg.oscim.gdx.GdxMap
-
createLayers
public void createLayers()- Overrides:
createLayersin classorg.oscim.gdx.GdxMap
-
dispose
public void dispose()- Specified by:
disposein interfacecom.badlogic.gdx.ApplicationListener- Overrides:
disposein classorg.oscim.gdx.GdxMap
-