Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

play

Description

Play the specified sound.

Arguments

1 string sound

the sound you wish to play. Alternatively can be the sound data.

2 any parent

the parent object that will be playing the sound. For example a developer object, or an office object.

Returns

1 soundContainer

the sound container that's being played back.