Hostel upgrade Class

Inherits: Building

createWindow
function createWindow

generateFence
function generateFence

init
function init

isConsume
function isConsume(resName)

onResourceChange
function onResourceChange

onStateChange
function onStateChange

onTimeout
function onTimeout

prefabChangeFunc
function prefabChangeFunc

refreshResAnimation
function refreshResAnimation

updatePlayer
function updatePlayer(w, checkAction)