Constructor
new Box2dStaticObject(posopt, sizeopt, tileInfoopt, angleopt, coloropt, renderOrderopt)
Create a LittleJS object with Box2d physics
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
pos | Vector2 | <optional> | ||
size | Vector2 | <optional> | ||
tileInfo | TileInfo | <optional> | ||
angle | number | <optional> | 0 | |
color | Color | <optional> | ||
renderOrder | number | <optional> | 0 |
- Source
Extends
- Box2dObject