CorsixTH Lua Documentation

UIStaffManagement Class

Staff management screen

Declared on: line 23 of Lua/dialogs/fullscreen/staff_management.lua.
Inheritance: UIStaffManagement » UIFullscreen » Window

Method Index

Member Index

(*) only used in superclass methods
function UIStaffManagement:draw(canvas, x, y)

Parameters:

NameTypeDescription
canvas ? ?
x ? ?
y ? ?

Overrides: UIFullscreen:draw.
Declared on: line 222 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:onMouseUp(code, x, y)

Parameters:

NameTypeDescription
code ? ?
x ? ?
y ? ?

Overrides: Window:onMouseUp.
Declared on: line 422 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:selectIndex(idx)

Function to select given list index in the current category. Includes jumping to correct page.

Parameters:

NameTypeDescription
idx ? ?

Declared on: line 203 of Lua/dialogs/fullscreen/staff_management.lua.

function UIStaffManagement:selectStaff(staff)

Function to select a given staff member. Includes switching to correct category and page.

Parameters:

NameTypeDescription
staff ? ?

Declared on: line 210 of Lua/dialogs/fullscreen/staff_management.lua.

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