import Inventory from 'WTF-Adventure/WTF-Adventure/client/interface/inventory.js'
Inventory
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
action: * |
|
public |
actions: * |
|
public |
|
|
public |
body: * |
|
public |
button: * |
|
public |
container: * |
|
public |
game: * |
|
public |
selectedItem: * |
|
public |
selectedSlot: * |
Method Summary
Public Methods | ||
public |
add(info: *) |
|
public |
|
|
public |
click(event: *) |
|
public |
clickAction(event: *) |
|
public |
clickDouble(event: *) |
|
public |
display() |
|
public |
getList(): * |
|
public |
getScale(): * |
|
public |
getSize(): * |
|
public |
hide() |
|
public |
isVisible(): * |
|
public |
loadInventory(data: *) |
|
public |
remove(info: *) |
|
public |
resize() |
Public Constructors
public constructor() source
Public Members
public action: * source
public actions: * source
public body: * source
public button: * source
public container: * source
public game: * source
public selectedItem: * source
public selectedSlot: * source
Public Methods
public add(info: *) source
Params:
Name | Type | Attribute | Description |
info | * |
public clearSelection() source
public click(event: *) source
Params:
Name | Type | Attribute | Description |
event | * |
public clickAction(event: *) source
Params:
Name | Type | Attribute | Description |
event | * |
public clickDouble(event: *) source
Params:
Name | Type | Attribute | Description |
event | * |
public display() source
public hide() source
public loadInventory(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public remove(info: *) source
Params:
Name | Type | Attribute | Description |
info | * |