You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/Group.js
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
* Groups can be nested within other Groups and have their own local transforms.
10
10
*
11
11
* @class Phaser.Group
12
+
* @extends PIXI.DisplayObjectContainer
12
13
* @constructor
13
14
* @param {Phaser.Game} game - A reference to the currently running game.
14
15
* @param {Phaser.Group|Phaser.Sprite|null} parent - The parent Group, DisplayObject or DisplayObjectContainer that this Group will be added to. If `undefined` it will use game.world. If null it won't be added to anything.
Copy file name to clipboardExpand all lines: src/gameobjects/Rope.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,17 @@
7
7
/**
8
8
* A Rope is a Sprite that has a repeating texture. The texture can be scrolled and scaled and will automatically wrap on the edges as it does so.
9
9
* Please note that Ropes, as with normal Sprites, have no input handler or physics bodies by default. Both need enabling.
10
+
* Example usage: https://github.com/codevinsky/phaser-rope-demo/blob/master/dist/demo.js
10
11
*
11
12
* @class Phaser.Rope
12
13
* @constructor
13
-
* @extendsPixi.Rope
14
+
* @extendsPIXI.Rope
14
15
* @param {Phaser.Game} game - A reference to the currently running game.
15
16
* @param {number} x - The x coordinate (in world space) to position the Rope at.
16
17
* @param {number} y - The y coordinate (in world space) to position the Rope at.
17
18
* @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.
18
19
* @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
20
* @param {Array} points - An array of {Phaser.Point}.
20
-
* Example usage: https://github.com/codevinsky/phaser-rope-demo/blob/master/dist/demo.js
0 commit comments