WindowManager Class

Inherits: TheSingleton

Properties
helpWindow selectedObjectWindow

Functions
add addMaskIgnoreCitizen addMaskIgnoreGuiElement addMaskIgnoreNothing addMaskIgnoreObject checkInstructionWindows getObjectsWindow getStatsWindow getWindow hideHelp init isMouseClickValid load maskIgnoreEnabled recreateGameMenu refreshCityResBlockState remove resetInstructionFrameWindow resetInstructionLayoutWindow resetInstructionLightWindow resetInstructionMarkWindow resetMaskIgnore save setInstructionFrameWindow setInstructionLayoutWindow setInstructionLightWindow setInstructionMarkWindow showHUD showHelp update updateInstructionWindows

.helpWindow
Type: CEGUI::Window [Read Only]

.selectedObjectWindow
Type: WindowGame [Read Only]

add
function add(window)

addMaskIgnoreCitizen
function addMaskIgnoreCitizen

addMaskIgnoreGuiElement
function addMaskIgnoreGuiElement(winTarget CEGUI::Window )

addMaskIgnoreNothing
function addMaskIgnoreNothing

addMaskIgnoreObject
function addMaskIgnoreObject(uid UID )

checkInstructionWindows
function checkInstructionWindows(win CEGUI::Window )

getObjectsWindow
function getObjectsWindow(uid UID ) -> WindowGame

getStatsWindow
function getStatsWindow(uid UID ) -> WindowGame

getWindow
function getWindow(name string ) -> CEGUI::Window

hideHelp
function hideHelp

init
function init

isMouseClickValid
function isMouseClickValid(x number, y number ) -> boolean

load
function load(saveData)

maskIgnoreEnabled
function maskIgnoreEnabled -> boolean

recreateGameMenu
function recreateGameMenu

refreshCityResBlockState
function refreshCityResBlockState

remove
function remove(window)

resetInstructionFrameWindow
function resetInstructionFrameWindow

resetInstructionLayoutWindow
function resetInstructionLayoutWindow

resetInstructionLightWindow
function resetInstructionLightWindow

resetInstructionMarkWindow
function resetInstructionMarkWindow

resetMaskIgnore
function resetMaskIgnore

save
function save(saveData)

setInstructionFrameWindow
function setInstructionFrameWindow(winTarget CEGUI::Window, blinkTimeout number )

setInstructionLayoutWindow
function setInstructionLayoutWindow(winTarget CEGUI::Window, layout string , text string )

setInstructionLightWindow
function setInstructionLightWindow(winTarget CEGUI::Window )

setInstructionMarkWindow
function setInstructionMarkWindow(winTarget CEGUI::Window )

showHUD
function showHUD

showHelp
function showHelp(layout string, title string , text string , okButton boolean , skipButton boolean ) -> CEGUI::Window

update
function update(dt)

updateInstructionWindows
function updateInstructionWindows(dt number )