Plant Class

Inherits: Building

createWindow
function createWindow

generateFence
function generateFence

init
function init

isSizableBuilding
function isSizableBuilding

onEvent
function onEvent(s, p1, p2)

onPrefabChange
function onPrefabChange

updatePlayer
function updatePlayer(w, checkAction)

updateWorker
function updateWorker(w)