Skip to content

ActManager

Dmitro Szewczuk edited this page Aug 13, 2017 · 2 revisions

ActManager is table wich contains methods to managing Acts, switching the current Act, adding new Persons to Act and more

-- Getting Act with given name. You can also storage this Act in variable
actManager.get("mainAct")
mainAct = actManager.get("mainAct")

-- Adding new Act
actManager.add("menu")

-- Removing Act
actManager.remove("menu")

-- Checking existance of Act in ActManager. You can also store result in boolean
menuExistance = actManager.exist("menu")

-- Setting Act with given name as current Act
actManager.setCurrent("menu")

-- Removing ALL Acts in ActManager
actManager.clear()

-- Getting all Acts in ActManager. You can also store it in variable.
allActs = actManager.getAllActs()
Clone this wiki locally