MarketWindow Class

Inherits: BuildingWindow

calculateSellCount
function calculateSellCount(resBuyName, resBuyCount, resSellName)

init
function init(building, layoutName)

onBuySpinnerChanged
function onBuySpinnerChanged

onDealClick
function onDealClick

onResBuyChanged
function onResBuyChanged

onResSellChanged
function onResSellChanged

onUpdate
function onUpdate(dt)

refreshInventory
function refreshInventory

updateDealInfo
function updateDealInfo