CorsixTH Lua Documentation

UISaveGame Class

Save Game Window

Declared on: line 21 of Lua/dialogs/resizables/file_browsers/save_game.lua.
Inheritance: UISaveGame » UIFileBrowser » UIResizable » Window

Method Index

Member Index

(*) only used in superclass methods
function UISaveGame:abortName()

Function called when textbox is aborted (e.g. by pressing escape)

Declared on: line 59 of Lua/dialogs/resizables/file_browsers/save_game.lua.

function UISaveGame:choiceMade(name)

Function called by clicking button of existing save #num

Parameters:

NameTypeDescription
name ? ?

Overrides: UIFileBrowser:choiceMade.
Declared on: line 75 of Lua/dialogs/resizables/file_browsers/save_game.lua.

function UISaveGame:confirmName()

Function called when textbox is confirmed (e.g. by pressing enter)

Declared on: line 65 of Lua/dialogs/resizables/file_browsers/save_game.lua.

function UISaveGame:doSave(filename)

Actually do save the game with given filename.

Parameters:

NameTypeDescription
filename ? ?

Declared on: line 89 of Lua/dialogs/resizables/file_browsers/save_game.lua.

function UISaveGame:trySave(filename)

Try to save the game with given filename; if already exists, create confirmation window first.

Parameters:

NameTypeDescription
filename ? ?

Declared on: line 80 of Lua/dialogs/resizables/file_browsers/save_game.lua.

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