CorsixTH Lua Documentation

ReceptionDesk Class

Declared on: line 71 of Lua/objects/reception_desk.lua.
Inheritance: ReceptionDesk » Object » Entity

Method Index

Member Index

(*) only used in superclass methods
function ReceptionDesk:ReceptionDesk(...)

Parameters:

NameTypeDescription
... ? ?

Declared on: line 73 of Lua/objects/reception_desk.lua.

function ReceptionDesk:occupy(receptionist)

Create orders for the specified receptionist to walk to and then staff the reception desk, if not already staffed or someone is on the way

Parameters:

NameTypeDescription
receptionist Staff the receptionist to occupy this desk

Declared on: line 193 of Lua/objects/reception_desk.lua.

function ReceptionDesk:onClick(ui, button)

Parameters:

NameTypeDescription
ui ? ?
button ? ?

Overrides: Object:onClick.
Declared on: line 82 of Lua/objects/reception_desk.lua.

function ReceptionDesk:setTile(x, y)

Parameters:

NameTypeDescription
x ? ?
y ? ?

Overrides: Object:setTile.
Declared on: line 160 of Lua/objects/reception_desk.lua.

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