Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

load

Arguments

1 string quadName

the name of the quad.

2 string texturePath

the path to the texture this quad will be created for. Alternatively can be an Image object.

3 number x

the X coordinate of the quad on the texture.

4 number y

the Y coordinate of the quad on the texture.

5 number w

the width of the quad.

6 number h

the height of the quad.

Returns

1 quad

the newly-created or previously-created Quad object.