diff --git a/src/pixi/extras/Rope.js b/src/pixi/extras/Rope.js index c51b725..f4b0852 100644 --- a/src/pixi/extras/Rope.js +++ b/src/pixi/extras/Rope.js @@ -5,6 +5,7 @@ * * @class Rope * @constructor + * @extends Strip * @param texture {Texture} The texture to use * @param points {Array} * diff --git a/src/pixi/extras/Rope.js b/src/pixi/extras/Rope.js index c51b725..f4b0852 100644 --- a/src/pixi/extras/Rope.js +++ b/src/pixi/extras/Rope.js @@ -5,6 +5,7 @@ * * @class Rope * @constructor + * @extends Strip * @param texture {Texture} The texture to use * @param points {Array} * diff --git a/src/pixi/extras/Strip.js b/src/pixi/extras/Strip.js index 0ef5799..8a05520 100644 --- a/src/pixi/extras/Strip.js +++ b/src/pixi/extras/Strip.js @@ -16,6 +16,13 @@ { PIXI.DisplayObjectContainer.call( this ); + + /** + * The texture of the strip + * + * @property texture + * @type Texture + */ this.texture = texture; // set up the main bits.. @@ -33,7 +40,12 @@ this.indices = new PIXI.Uint16Array([0, 1, 2, 3]); - + /** + * Whether the strip is dirty or not + * + * @property dirty + * @type Boolean + */ this.dirty = true; };