Pasture Class

Inherits: Building

createWindow
function createWindow

generateFence
function generateFence

generateResourceArea
function generateResourceArea

init
function init

isConsume
function isConsume(resName)

isSizableBuilding
function isSizableBuilding

onPivotsGeneration
function onPivotsGeneration

onPrefabChange
function onPrefabChange

updatePlayer
function updatePlayer(w, checkAction)

updateWorker
function updateWorker(w)