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

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

create

Description

Creates an instance of developerAction.

Arguments

1 string id

the developer action ID.

2 developer owner

the performer of this action.

Returns

1 developerAction

an instance of developerAction.

Example

-- taken from game/developer/actions.lua

local action = developerActions.create(randomAction.id, employee)
employee:setCurrentAction(action)