ProductionWindow Class

Inherits: BuildingWindow

getConfigByName
function getConfigByName(name)

getCurrentProductName
function getCurrentProductName

getCurrentRecipe
function getCurrentRecipe

getRecipe
function getRecipe(name)

getRecipeNames
function getRecipeNames

getRecipes
function getRecipes

hasProduct
function hasProduct

init
function init(building, layoutName)

isRecipeAvailable
function isRecipeAvailable(recipe)

onConfirmClick
function onConfirmClick

onRecipeComboChanged
function onRecipeComboChanged

onUpdate
function onUpdate(dt)

refreshCurrentProduct
function refreshCurrentProduct

refreshInventory
function refreshInventory

selectRecipe
function selectRecipe(recipe)

setCurrentRecipe
function setCurrentRecipe(recipe)

setDuration
function setDuration(win, recipe)