Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

drawProp

Description

Draw a prop with the specified parameters.

Arguments

1 string type

the prop type that was previously added via :addProp.

2 number x

the X coordinate.

3 number y

the Y coordinate.

4 number rotation

the rotation in radians.

5 number scaleX

the X scale of the prop. Higher = larger.

6 number scaleY

the Y scale of the prop. Higher = larger.

7 number offsetX

the center X offset.

8 number offsetY

the center Y offset.