Package gaiasky.gui

Class CustomInterface

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

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

    • CustomInterface

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

    • reAddObjects

      public void reAddObjects()
    • 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.
    • 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