Inventory Class

init
function init(window, inventoryName)

setCenterAlign
function setCenterAlign(value)

setResources
function setResources(resources, offset)

setSlotData
function setSlotData(index, data)

setSlots
function setSlots(slotsType, count)