CorsixTH Lua Documentation

UIInformation Class

Dialog that informs the player of for example what the goals for the level are.

Declared on: line 21 of Lua/dialogs/information.lua.
Inheritance: UIInformation ยป Window

Method Index

Member Index

(*) only used in superclass methods
function UIInformation:UIInformation(ui, text, use_built_in_font)

Constructor for the Information Dialog.

Parameters:

NameTypeDescription
ui ? ?
text ? The text to show, held in a table. All elements of the table will be written beneath each other. If instead a table within the table is supplied the texts will be shown in consecutive dialogs.
use_built_in_font ? Whether the built-in font should be used to make sure that the given message can be read without distortions.

Declared on: line 24 of Lua/dialogs/information.lua.

function UIInformation:draw(canvas, x, y)

Parameters:

NameTypeDescription
canvas ? ?
x ? ?
y ? ?

Overrides: Window:draw.
Declared on: line 99 of Lua/dialogs/information.lua.

function UIInformation:hitTest(x, y)

Parameters:

NameTypeDescription
x ? ?
y ? ?

Overrides: Window:hitTest.
Declared on: line 112 of Lua/dialogs/information.lua.

Page generated on Sat Feb 07, 2015 at 18:38:28 by LDocGen.