mirror of
https://github.com/photonstorm/phaser
synced 2024-12-19 09:34:02 +00:00
21 lines
492 B
JavaScript
21 lines
492 B
JavaScript
/**
|
|
* @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
|
|
*
|
|
* @class Phaser.Physics.P2.CollisionGroup
|
|
* @classdesc Physics Collision Group Constructor
|
|
* @constructor
|
|
*/
|
|
Phaser.Physics.P2.CollisionGroup = function (bitmask) {
|
|
|
|
/**
|
|
* @property {number} mask - The CollisionGroup bitmask.
|
|
*/
|
|
this.mask = bitmask;
|
|
|
|
};
|