2014-02-19 01:51:14 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2014 Photon Storm Ltd.
|
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Collision Group
|
|
|
|
*
|
2014-03-05 02:36:08 +00:00
|
|
|
* @class Phaser.Physics.P2.CollisionGroup
|
2014-02-19 01:51:14 +00:00
|
|
|
* @classdesc Physics Collision Group Constructor
|
|
|
|
* @constructor
|
|
|
|
*/
|
2014-03-05 02:36:08 +00:00
|
|
|
Phaser.Physics.P2.CollisionGroup = function (bitmask) {
|
2014-02-19 01:51:14 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @property {number} mask - The CollisionGroup bitmask.
|
|
|
|
*/
|
|
|
|
this.mask = bitmask;
|
|
|
|
|
2014-03-23 06:31:26 +00:00
|
|
|
};
|