ProductionPage Class

Inherits: GeneralPage

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

refreshCurrentProduct
function refreshCurrentProduct

refreshInventory
function refreshInventory

selectRecipe
function selectRecipe(recipe)

setCurrentRecipe
function setCurrentRecipe(recipe)

setDuration
function setDuration(win, recipe)

update
function update(dt)