ScrollableInventory (of InventoryBase
)¶
-
class
ScrollableInventory
¶ Defined in ScrollableInventory.sc.
This class is used for the default inventory management UI of the template game. It lets the user choose and manipulate inventory items.
Properties¶
Inherited from InventoryBase
:
Property | Description |
---|---|
elements | |
size | |
height | |
underBits | |
oldMouseX | |
oldMouseY | |
curIcon | |
highlightedIcon | |
prevIcon | |
curInvIcon | |
useIconItem | |
helpIconItem | |
walkIconItem | |
port | |
window | |
state | |
activateHeight | |
y | |
normalHeading | |
heading | |
empty | |
iconBarInvItem | |
okButton | |
selectIcon | |
name |
Defined in ScrollableInventory:
Property | Description |
---|---|
curPos | |
dispAmount | |
items | |
numCols | |
numRows | |
scrollAmount | |
firstThru | |
upIcon | |
downIcon |
Methods¶
-
dispose
(param1)
-
hide
(param1)
-
advance
(param1)
-
retreat
(param1)
-
drawInvWindow
(param1 param2)
-
scroll
(param1)