Package org.oscim.gdx

Class GdxMapApp

  • All Implemented Interfaces:
    com.badlogic.gdx.ApplicationListener

    public class GdxMapApp
    extends org.oscim.gdx.GdxMap
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger log  
      • Fields inherited from class org.oscim.gdx.GdxMap

        mGestureDetector, mMap, mMapRenderer
    • Constructor Summary

      Constructors 
      Constructor Description
      GdxMapApp()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createLayers()  
      void dispose()  
      protected static com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration getConfig​(java.lang.String title)  
      static void init()  
      protected void initGLAdapter​(com.badlogic.gdx.graphics.glutils.GLVersion version)  
      static void main​(java.lang.String[] args)  
      static void run​(org.oscim.gdx.GdxMap map)  
      static void run​(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, pause, render, resize, resume
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        public static final org.slf4j.Logger log
    • Constructor Detail

      • GdxMapApp

        public GdxMapApp()
    • Method Detail

      • init

        public static void init()
      • main

        public static void main​(java.lang.String[] args)
      • 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​(java.lang.String title)
      • initGLAdapter

        protected void initGLAdapter​(com.badlogic.gdx.graphics.glutils.GLVersion version)
        Specified by:
        initGLAdapter in class org.oscim.gdx.GdxMap
      • createLayers

        public void createLayers()
        Overrides:
        createLayers in class org.oscim.gdx.GdxMap
      • dispose

        public void dispose()
        Specified by:
        dispose in interface com.badlogic.gdx.ApplicationListener
        Overrides:
        dispose in class org.oscim.gdx.GdxMap