CorsixTH Lua Documentation

StaffProfile Class

Declared on: line 21 of Lua/staff_profile.lua.

Method Index

Member Index

function StaffProfile:StaffProfile(world, humanoid_class, local_string)

Parameters:

NameTypeDescription
world ? ?
humanoid_class ? ?
local_string ? ?

Declared on: line 23 of Lua/staff_profile.lua.

function StaffProfile:drawFace(canvas, x, y, parts_bitmap)

Parameters:

NameTypeDescription
canvas ? ?
x ? ?
y ? ?
parts_bitmap ? ?

Declared on: line 190 of Lua/staff_profile.lua.

function StaffProfile:init(skill)

Parameters:

NameTypeDescription
skill ? ?

Declared on: line 47 of Lua/staff_profile.lua.

function StaffProfile:initDoctor(psychiatrist, surgeon, researcher, junior, consultant, skill)

Parameters:

NameTypeDescription
psychiatrist ? ?
surgeon ? ?
researcher ? ?
junior ? ?
consultant ? ?
skill ? ?

Declared on: line 42 of Lua/staff_profile.lua.

function StaffProfile:parseSkillLevel()

Update junior and consultant status

Declared on: line 196 of Lua/staff_profile.lua.

function StaffProfile:randomise(month)

Parameters:

NameTypeDescription
month ? ?

Declared on: line 83 of Lua/staff_profile.lua.

function StaffProfile:setDoctorAbilities(psychiatrist, surgeon, researcher, junior, consultant)

Parameters:

NameTypeDescription
psychiatrist ? ?
surgeon ? ?
researcher ? ?
junior ? ?
consultant ? ?

Declared on: line 34 of Lua/staff_profile.lua.

function StaffProfile:setSkill(skill)

Parameters:

NameTypeDescription
skill ? ?

Declared on: line 53 of Lua/staff_profile.lua.

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