mirror of
https://github.com/photonstorm/phaser
synced 2025-03-06 16:27:16 +00:00
13 lines
292 B
JavaScript
13 lines
292 B
JavaScript
|
Phaser.Polygon = function (points) {
|
||
|
|
||
|
PIXI.Polygon.call(this, points);
|
||
|
|
||
|
/**
|
||
|
* @property {Description} type - Description.
|
||
|
*/
|
||
|
this.type = Phaser.POLYGON;
|
||
|
|
||
|
};
|
||
|
|
||
|
Phaser.Polygon.prototype = Object.create(PIXI.Polygon.prototype);
|
||
|
Phaser.Polygon.prototype.constructor = Phaser.Polygon;
|