new Box2dTileLayer(tileLayer)box2d.js:1241Create a Box2d tile layer object
tileLayerTileCollisionLayerTile layer for this object
Box2d Tile Layer
Extends Box2dStaticObject
new Box2dTileLayer(tileLayer)box2d.js:1241Create a Box2d tile layer object
tileLayer TileCollisionLayerTile layer for this object
tileLayer : TileCollisionLayerbox2d.js:1251The tile layer
buildCollision(friction, restitution)box2d.js:1266Create box2d collision fixtures for solid tiles
friction number optional, default 0.2restitution number optional, default 0