W3cubDocs

/Phaser

Class: Phaser.Physics.P2.CollisionGroup

Constructor

new CollisionGroup(bitmask)

Collision Group

Parameters
Name Type Description
bitmask number

The CollisionGroup bitmask.

Source code: physics/p2/CollisionGroup.js (Line 14)

Public Properties

mask : number

The CollisionGroup bitmask.

Source code: physics/p2/CollisionGroup.js (Line 19)

© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Physics.P2.CollisionGroup.html