Skip to content

Commit 0fcfe73

Browse files
committed
Missed some cases
1 parent 2c5cadc commit 0fcfe73

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/gameobjects/components/Alpha.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
{

src/gameobjects/components/Origin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
{

src/gameobjects/components/Texture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)