Interface Window

All Known Implementing Classes:
AbstractTransformerWindowManager.SimpleWindow

public interface Window
Represents a window. A container for the pane and state of a GUI.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Window
    Returns the parent window of this window.
    Returns the state of this window.
    mindustry.gen.Player
    Returns the viewer of this window.
    void
    Hides this window.
    boolean
    Returns whether this window is active.
    void
    Shows this window.
  • Method Details

    • getViewer

      mindustry.gen.Player getViewer()
      Returns the viewer of this window.
    • getState

      Returns the state of this window.
    • getParent

      @Nullable Window getParent()
      Returns the parent window of this window.
    • isActive

      boolean isActive()
      Returns whether this window is active.
    • show

      void show()
      Shows this window.
    • hide

      void hide()
      Hides this window.