Package gaiasky

Class GaiaSkyView

java.lang.Object
gaiasky.GaiaSkyView
All Implemented Interfaces:
com.badlogic.gdx.ApplicationListener, IObserver

public class GaiaSkyView extends Object implements com.badlogic.gdx.ApplicationListener, IObserver
This application implements the external view of Gaia Sky, which renders the main back render buffer into a different window.
  • Field Details

    • window

      public com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window window
    • graphics

      public com.badlogic.gdx.backends.lwjgl3.Lwjgl3Graphics graphics
    • input

      public com.badlogic.gdx.backends.lwjgl3.Lwjgl3Input input
  • Constructor Details

    • GaiaSkyView

      public GaiaSkyView(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.graphics.glutils.ShaderProgram spriteShader)
  • Method Details

    • setWindow

      public void setWindow(com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window window)
    • create

      public void create()
      Specified by:
      create in interface com.badlogic.gdx.ApplicationListener
    • resize

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

      public void render()
      Specified by:
      render in interface com.badlogic.gdx.ApplicationListener
    • pause

      public void pause()
      Specified by:
      pause in interface com.badlogic.gdx.ApplicationListener
    • resume

      public void resume()
      Specified by:
      resume in interface com.badlogic.gdx.ApplicationListener
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.ApplicationListener
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.
    • postRunnable

      public void postRunnable(Runnable r)