CorsixTH Lua Documentation

UICustomGame Class

Custom Game Window

Declared on: line 21 of Lua/dialogs/resizables/menu_list_dialogs/custom_game.lua.
Inheritance: UICustomGame » UIMenuList » UIResizable » Window

Method Index

Member Index

(*) only used in superclass methods
function UICustomGame:buttonClicked(num)

Overrides the function in the UIMenuList, choosing what should happen when the player clicks a choice in the list.

Parameters:

NameTypeDescription
num ? ?

Overrides: UIMenuList:buttonClicked.
Declared on: line 105 of Lua/dialogs/resizables/menu_list_dialogs/custom_game.lua.

function UICustomGame:draw(canvas, x, y)

Parameters:

NameTypeDescription
canvas ? ?
x ? ?
y ? ?

Overrides: UIResizable:draw.
Declared on: line 146 of Lua/dialogs/resizables/menu_list_dialogs/custom_game.lua.