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/gameobjects/GameObject.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ var GameObject = new Class({
182
182
*
183
183
* @param {boolean} value - True if this Game Object should be set as active, false if not.
184
184
*
185
-
* @return {Phaser.GameObjects.GameObject} This GameObject.
185
+
* @return {this} This GameObject.
186
186
*/
187
187
setActive: function(value)
188
188
{
@@ -200,7 +200,7 @@ var GameObject = new Class({
200
200
*
201
201
* @param {string} value - The name to be given to this Game Object.
202
202
*
203
-
* @return {Phaser.GameObjects.GameObject} This GameObject.
203
+
* @return {this} This GameObject.
204
204
*/
205
205
setName: function(value)
206
206
{
@@ -216,7 +216,7 @@ var GameObject = new Class({
216
216
* @since 3.0.0
217
217
* @see Phaser.Data.DataManager
218
218
*
219
-
* @return {Phaser.GameObjects.GameObject} This GameObject.
219
+
* @return {this} This GameObject.
220
220
*/
221
221
setDataEnabled: function()
222
222
{
@@ -347,7 +347,7 @@ var GameObject = new Class({
347
347
* @param {HitAreaCallback} [callback] - A callback to be invoked when the Game Object is interacted with. If you provide a shape you must also provide a callback.
348
348
* @param {boolean} [dropZone=false] - Should this Game Object be treated as a drop zone target?
349
349
*
350
-
* @return {Phaser.GameObjects.GameObject} This GameObject.
0 commit comments