renderItemOverlay
renderItemOverlay: (WidgetItemOverlay, Graphics2D, number, WidgetItem) -> ()Draws over one item. Abstract: a subclass defines it.
WidgetItemOverlay.new()| Method | Returns | Description |
|---|---|---|
renderItemOverlay(Graphics2D, number, WidgetItem) | () | Draws over one item. Abstract: a subclass defines it. |
showOnInventory() | () | Draw after the inventory and every interface that shows it (bank, deposit box, shop, GE, equipment and price checker sides, seed vault, tra… |
showOnBank() | () | Draw after the bank's and the shared bank's item containers. |
showOnEquipment() | () | Draw after the worn equipment interface. |
showOnInterfaces(...number) | () | Draw after each interface id given, as arguments or one array. |
isInstance(any) | boolean | Whether obj is an instance of this class or a subclass of it, as made with class. |
new() | WidgetItemOverlay | Position DYNAMIC, priority PRIORITY_LOW, layer MANUAL. A subclass's new runs it first. |
| Method | Returns | Description |
|---|---|---|
WidgetItemOverlayClass.new | WidgetItemOverlay | Position DYNAMIC, priority PRIORITY_LOW, layer MANUAL. A subclass's new runs it first. |
renderItemOverlayrenderItemOverlay: (WidgetItemOverlay, Graphics2D, number, WidgetItem) -> ()Draws over one item. Abstract: a subclass defines it.
showOnInventoryshowOnInventory: (WidgetItemOverlay) -> ()Draw after the inventory and every interface that shows it (bank, deposit box, shop, GE, equipment and price checker sides, seed vault, trade, costumes).
showOnBankshowOnBank: (WidgetItemOverlay) -> ()Draw after the bank's and the shared bank's item containers.
showOnEquipmentshowOnEquipment: (WidgetItemOverlay) -> ()Draw after the worn equipment interface.
showOnInterfacesshowOnInterfaces: (WidgetItemOverlay, ...number) -> ()Draw after each interface id given, as arguments or one array.
isInstanceisInstance: (any) -> booleanWhether obj is an instance of this class or a subclass of it, as made with class.
newnew: () -> WidgetItemOverlayPosition DYNAMIC, priority PRIORITY_LOW, layer MANUAL. A subclass's new runs it first.