Castle academy Class

Inherits: Building

createWindow
function createWindow

createWithChance
function createWithChance(b_percent, UIDname, mat, prefabPath)

createWithChanceOnGround
function createWithChanceOnGround(b_percent, UIDname, mat, prefabPath)

init
function init

load
function load(saveData)

save
function save(saveData)

updateWork
function updateWork(dt)

updateWorker
function updateWorker(w)