Collision lines class. This shape is made of one line or more.
Kind: global class
Create the collision shape.
Param | Type | Description |
---|---|---|
lines | Array.<Line> | Line |
Starting line / lines. |
Kind: instance property of LinesShape
Add line or lines to this collision shape.
Kind: instance method of LinesShape
Param | Type | Description |
---|---|---|
lines | Array.<Line> | Line |
Line / lines to add. |
Set this shape from line or lines array.
Kind: instance method of LinesShape
Param | Type | Description |
---|---|---|
lines | Array.<Line> | Line |
Line / lines to set. |
Kind: instance method of LinesShape
Kind: instance method of LinesShape
Kind: instance method of LinesShape
Kind: instance method of LinesShape