Apiary Class

Inherits: Building

calaculateHivesInApiary
function calaculateHivesInApiary

createWindow
function createWindow

generateFence
function generateFence

generateResourceArea
function generateResourceArea

getHivesInLength
function getHivesInLength

getHivesInWidth
function getHivesInWidth

init
function init

isSizableBuilding
function isSizableBuilding

load
function load(saveData)

onPivotsGeneration
function onPivotsGeneration

onPrefabChange
function onPrefabChange

onStateChange
function onStateChange

save
function save(saveData)

updateIcons
function updateIcons

updatePlayer
function updatePlayer(w, checkAction)

updateWork
function updateWork(dt)

updateWorker
function updateWorker(w)