Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

onChanged

Description

Called when the attribute was changed.

Arguments

1 developer employee

the employee.

2 number level

the new level.

Example

function spd:onChanged(employee, newLevel)
	employee:setSpeedBoost(self:getSpeedBoost(newLevel))
end