CorsixTH Lua Documentation

UINewGame Class

Class for the difficulty choice window.

Declared on: line 21 of Lua/dialogs/resizables/new_game.lua.
Inheritance: UINewGame » UIResizable » Window

Method Index

Member Index

(*) only used in superclass methods
function UINewGame:UINewGame(ui)

Parameters:

NameTypeDescription
ui ? ?

Declared on: line 39 of Lua/dialogs/resizables/new_game.lua.

function UINewGame:buttonTutorial(checked, button)

Parameters:

NameTypeDescription
checked ? ?
button ? ?

Declared on: line 124 of Lua/dialogs/resizables/new_game.lua.

function UINewGame:dropdownDifficulty(activate, button)

Parameters:

NameTypeDescription
activate ? ?
button ? ?

Declared on: line 129 of Lua/dialogs/resizables/new_game.lua.

function UINewGame:selectDifficulty(number)

Parameters:

NameTypeDescription
number ? ?

Declared on: line 143 of Lua/dialogs/resizables/new_game.lua.

function UINewGame:startGame(difficulty)

Parameters:

NameTypeDescription
difficulty ? ?

Declared on: line 153 of Lua/dialogs/resizables/new_game.lua.