Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

addProp

Description

Adds a prop with the specified data.

Arguments

1 string propType

the prop type. This is basically the unique ID. Can't draw more than one prop of this type.

2 string spritebatchName

the spritebatch ID to draw the prop within.

3 Quad quad

the quad to draw.

4 number x

the X coordinate of the prop.

5 number y

the Y coordinate of the prop.

6 number rotation

the rotation of the prop in radians.

7 number offsetX

the center X offset of the sprite.

8 number offsetY

the center Y offset of the sprite.