Deprecated: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /var/www/vhosts/gamedevstudiogame.com/httpdocs/classes/client.php on line 124
Game dev studio

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