Class KeylibApplication

java.lang.Object
com.badlogic.gdx.ApplicationAdapter
org.indiumstudios.keylib.KeylibApplication
All Implemented Interfaces:
com.badlogic.gdx.ApplicationListener

public abstract class KeylibApplication extends com.badlogic.gdx.ApplicationAdapter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
    This tells whether the camera is centered or not.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    Disposes everything created by Keylib.
    protected void
    Any extra startup related things that may be needed.
    protected void
    Any extra rendering that may be needed.
    void
     
    void
    resize(int width, int height)
     

    Methods inherited from class com.badlogic.gdx.ApplicationAdapter

    dispose, pause, resume

    Methods inherited from class java.lang.Object

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

    • centerCamera

      protected boolean centerCamera
      This tells whether the camera is centered or not.
  • Constructor Details

    • KeylibApplication

      public KeylibApplication()
  • Method Details

    • resize

      public void resize(int width, int height)
      Specified by:
      resize in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      resize in class com.badlogic.gdx.ApplicationAdapter
    • render

      public void render()
      Specified by:
      render in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      render in class com.badlogic.gdx.ApplicationAdapter
    • create

      public void create()
      Specified by:
      create in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      create in class com.badlogic.gdx.ApplicationAdapter
    • disposeAll

      protected void disposeAll()
      Disposes everything created by Keylib.
    • extraRendering

      protected void extraRendering()
      Any extra rendering that may be needed.
    • extraCreate

      protected void extraCreate()
      Any extra startup related things that may be needed.