Class: Employee

Employee

Employee

new Employee()

A member of your staff. Game entity class.

This class could be used to get information about your current staff. The only writable property is establishment, as you can send an employee to another restaurant.
Source:
Employee.js

Members


name :String

Surname, Forename. Read-Only.
Type:
  • String
Source:
Employee.js

qualification :Number

Qualification of this employee for his role. Ranges from 1 to 10. Higher means better. Read-Only.
Type:
  • Number
Source:
Employee.js

jobPosition :String

The job position for this employee. Could be CHEF, WAITER, MANAGER. Read-Only.
Type:
  • String
Source:
Employee.js

salary :Number

The monthly salary. Read-Only.
Type:
  • Number
Source:
Employee.js

establishment :Establishment

The establishment where the employee is working. Read-Write, so it is possible to dispatch the employee to another establishment.
Type:
Source:
Employee.js