WidgetItemOverlay

Extends
Overlay
Methods
7
Fields
None

Getting one

WidgetItemOverlay.new()

Methods

MethodReturnsDescription
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)booleanWhether obj is an instance of this class or a subclass of it, as made with class.
new()WidgetItemOverlayPosition DYNAMIC, priority PRIORITY_LOW, layer MANUAL. A subclass's new runs it first.

Returned by

MethodReturnsDescription
WidgetItemOverlayClass.newWidgetItemOverlayPosition DYNAMIC, priority PRIORITY_LOW, layer MANUAL. A subclass's new runs it first.

Method details

showOnInventory

showOnInventory: (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).

isInstance

isInstance: (any) -> boolean

Whether obj is an instance of this class or a subclass of it, as made with class.

new

new: () -> WidgetItemOverlay

Position DYNAMIC, priority PRIORITY_LOW, layer MANUAL. A subclass's new runs it first.