File tree Expand file tree Collapse file tree
src/gameobjects/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ var Alpha = {
8181 * @method Phaser.GameObjects.Components.Alpha#clearAlpha
8282 * @since 3.0.0
8383 *
84- * @return {Phaser.GameObjects.GameObject } This Game Object instance.
84+ * @return {this } This Game Object instance.
8585 */
8686 clearAlpha : function ( )
8787 {
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ var Origin = {
116116 * @param {number } [x=0.5] - The horizontal origin value.
117117 * @param {number } [y=x] - The vertical origin value. If not defined it will be set to the value of `x`.
118118 *
119- * @return {Phaser.GameObjects.GameObject } This Game Object instance.
119+ * @return {this } This Game Object instance.
120120 */
121121 setOrigin : function ( x , y )
122122 {
@@ -135,7 +135,7 @@ var Origin = {
135135 * @method Phaser.GameObjects.Components.Origin#setOriginFromFrame
136136 * @since 3.0.0
137137 *
138- * @return {Phaser.GameObjects.GameObject } This Game Object instance.
138+ * @return {this } This Game Object instance.
139139 */
140140 setOriginFromFrame : function ( )
141141 {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ var Texture = {
4545 * @param {string } key - The key of the texture to be used, as stored in the Texture Manager.
4646 * @param {(string|integer) } [frame] - The name or index of the frame within the Texture.
4747 *
48- * @return {Phaser.GameObjects.GameObject } This Game Object instance.
48+ * @return {this } This Game Object instance.
4949 */
5050 setTexture : function ( key , frame )
5151 {
You can’t perform that action at this time.
0 commit comments