Skip to content

Commit 1cfbb31

Browse files
committed
Figured out that it's supposed to be an array of some sort from the pixi source.
1 parent 9023ec1 commit 1cfbb31

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/GameObjectFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Phaser.GameObjectFactory.prototype = {
221221
* @param {number} y - The y coordinate (in world space) to position the TileSprite at.
222222
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the TileSprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.
223223
* @param {string|number} frame - If this TileSprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.
224-
* @param points Something something dark side.
224+
* @param {Array} points Something something dark side.
225225
* @param {Phaser.Group} [group] - Optional Group to add the object to. If not specified it will be added to the World group.
226226
* @return {Phaser.TileSprite} The newly created tileSprite object.
227227
*/

src/gameobjects/Rope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @param {number} y - The y coordinate (in world space) to position the Rope at.
1717
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the Rope during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.
1818
* @param {string|number} frame - If this Rope is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.
19-
* @param points Something something dark side.
19+
* @param {Array} points Something something dark side.
2020
*/
2121
Phaser.Rope = function (game, x, y, key, frame, points) {
2222

0 commit comments

Comments
 (0)