2014-02-19 01:51:14 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2016-04-04 21:15:01 +00:00
|
|
|
* @copyright 2016 Photon Storm Ltd.
|
2014-02-19 01:51:14 +00:00
|
|
|
* @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
|
|
|
* @constructor
|
2014-09-16 16:35:08 +00:00
|
|
|
* @param {number} bitmask - The CollisionGroup bitmask.
|
2014-02-19 01:51:14 +00:00
|
|
|
*/
|
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
|
|
|
};
|