Package mindustry.ui

Class ItemDisplay

All Implemented Interfaces:
Cullable

public class ItemDisplay extends Table
An item image with text.
  • Field Details

    • item

      public final Item item
    • amount

      public final int amount
  • Constructor Details

    • ItemDisplay

      public ItemDisplay(Item item)
    • ItemDisplay

      public ItemDisplay(Item item, int amount, boolean showName)
    • ItemDisplay

      public ItemDisplay(Item item, int amount)
    • ItemDisplay

      public ItemDisplay(Item item, int amount, float timePeriod, boolean showName)
      Displays the item with a "/sec" qualifier based on the time period, in ticks.