Class EmiScreenManager.ScreenSpace

java.lang.Object
emi.dev.emi.emi.screen.EmiScreenManager.ScreenSpace
Enclosing class:
EmiScreenManager

public static class EmiScreenManager.ScreenSpace extends Object
  • Field Details

    • batcher

      public final StackBatcher batcher
    • tx

      public final int tx
    • ty

      public final int ty
    • tw

      public final int tw
    • th

      public final int th
    • pageSize

      public final int pageSize
    • rtl

      public final boolean rtl
    • widths

      public final int[] widths
  • Constructor Details

    • ScreenSpace

      public ScreenSpace(int tx, int ty, int tw, int th, boolean rtl, List<Bounds> exclusion, Supplier<SidebarType> typeSupplier, boolean search)
  • Method Details

    • getStacks

      public List<? extends EmiIngredient> getStacks()
    • getPage

      public List<? extends EmiIngredient> getPage(int page)
    • getType

      public SidebarType getType()
    • render

      public void render(EmiDrawContext context, int mouseX, int mouseY, float delta, int startIndex)
    • getWidth

      public int getWidth(int y)
    • getX

      public int getX(int x, int y)
    • getY

      public int getY(int x, int y)
    • getEdgeX

      public int getEdgeX(int off)
    • getEdgeY

      public int getEdgeY(int off)
    • getRawX

      public int getRawX(int off)
    • getRawY

      public int getRawY(int off)
    • getClosestEdge

      public int getClosestEdge(int x, int y)
    • getRawOffsetFromMouse

      public int getRawOffsetFromMouse(int mouseX, int mouseY)
    • getRawOffset

      public int getRawOffset(int x, int y)
    • contains

      public boolean contains(int x, int y)
    • containsNotExcluded

      public boolean containsNotExcluded(int x, int y)