Class CustomInterface

java.lang.Object
gaiasky.interafce.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(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.
    • 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