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 Summary

    Fields
    Modifier and Type
    Field
    Description
    com.badlogic.gdx.backends.lwjgl3.Lwjgl3Graphics
     
    com.badlogic.gdx.backends.lwjgl3.Lwjgl3Input
     
    com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GaiaSkyView​(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.graphics.glutils.ShaderProgram spriteShader)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
    notify​(Events event, Object... data)
    Event notification call.
    void
     
    void
     
    void
     
    void
    resize​(int width, int height)
     
    void
     
    void
    setWindow​(com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window window)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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(Events event, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      data - The data associated with this event.
    • postRunnable

      public void postRunnable(Runnable r)