mirror of
https://github.com/photonstorm/phaser
synced 2024-12-30 06:53:07 +00:00
21 lines
499 B
JavaScript
21 lines
499 B
JavaScript
/**
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
* @copyright 2016 Photon Storm Ltd.
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
*/
|
|
|
|
/**
|
|
* Collision Group
|
|
*
|
|
* @class Phaser.Physics.P2.CollisionGroup
|
|
* @constructor
|
|
* @param {number} bitmask - The CollisionGroup bitmask.
|
|
*/
|
|
Phaser.Physics.P2.CollisionGroup = function (bitmask) {
|
|
|
|
/**
|
|
* @property {number} mask - The CollisionGroup bitmask.
|
|
*/
|
|
this.mask = bitmask;
|
|
|
|
};
|