Class ComponentRenderOverlayEvent

java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.ComponentRenderOverlayEvent

public final class ComponentRenderOverlayEvent extends Event
This event is fired when a GuiComponent renders its overlay using GuiComponent.renderOverlay(IGameInstance, IAssetManager, IRenderer, int, int). Cancelling it will result in the overlay not rendering.
  • Field Details

    • gui

      public final Gui gui
    • id

      public final int id
    • component

      public final GuiComponent component
  • Constructor Details

    • ComponentRenderOverlayEvent

      public ComponentRenderOverlayEvent(Gui gui, int id, GuiComponent component)