Shack2 Class

Inherits: Building

createWindow
function createWindow

init
function init

isConsume
function isConsume(resName)

onPrefabChange
function onPrefabChange

onResourceChange
function onResourceChange

onStateChange
function onStateChange

refreshAnimation
function refreshAnimation

updatePlayer
function updatePlayer(w, checkAction)