Class CustomInterface

java.lang.Object
gaiasky.interafce.CustomInterface
All Implemented Interfaces:
IObserver, IGuiInterface

public class CustomInterface
extends java.lang.Object
implements IObserver, IGuiInterface
Widget that displays custom objects on screen. Basically used for scripting.
  • Constructor Summary

    Constructors
    Constructor Description
    CustomInterface​(com.badlogic.gdx.scenes.scene2d.Stage ui, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, java.lang.Object lock)  
  • Method Summary

    Modifier and Type Method Description
    void dispose()  
    boolean isOn()  
    void notify​(Events event, java.lang.Object... data)  
    void reAddObjects()  
    void update()  

    Methods inherited from class java.lang.Object

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

    • CustomInterface

      public CustomInterface​(com.badlogic.gdx.scenes.scene2d.Stage ui, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, java.lang.Object lock)
  • Method Details

    • reAddObjects

      public void reAddObjects()
    • notify

      public void notify​(Events event, java.lang.Object... data)
      Specified by:
      notify in interface IObserver
    • dispose

      public void dispose()
      Specified by:
      dispose in interface IGuiInterface
    • update

      public void update()
      Specified by:
      update in interface IGuiInterface
    • isOn

      public boolean isOn()
      Specified by:
      isOn in interface IGuiInterface