Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

finish

Description

Called when an employee finishes performing an action.

Arguments

1 developer employee

the employee that performed this action.

Example

-- taken from game/developer/actions.lua


function useWaterDispenser:finish()
	useWaterDispenser.baseClass.finish(self)
	
	self:removeEventHandler()
end

function useWaterDispenser:removeEventHandler()
	events:removeFunctionReceiver(self, studio.expansion.EVENTS.REMOVED_OBJECT)
end