Castle market Class

Inherits: Building

createWindow
function createWindow

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

init
function init

load
function load(saveData)

onBuildProgress
function onBuildProgress

onStateChange
function onStateChange

refreshModules
function refreshModules

save
function save(saveData)

updateWork
function updateWork(dt)