Class VisibilityComponent

java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.VisibilityComponent
All Implemented Interfaces:
IObserver

public class VisibilityComponent extends GuiComponent implements IObserver
  • Field Details

    • buttonMap

      protected Map<String,com.badlogic.gdx.scenes.scene2d.ui.Button> buttonMap
  • Constructor Details

    • VisibilityComponent

      public VisibilityComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
  • Method Details

    • setVisibilityEntitites

      public void setVisibilityEntitites(ComponentTypes.ComponentType[] ve, boolean[] v)
    • initialize

      public void initialize()
      Description copied from class: GuiComponent
      Initialises the component.
      Specified by:
      initialize in class GuiComponent
    • 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()
      Description copied from class: GuiComponent
      Disposes the component.
      Specified by:
      dispose in class GuiComponent