@@ -157,7 +157,7 @@ var GameObject = new Class({
157157 * @since 3.0.0
158158 *
159159 * @param {boolean } value - True if this Game Object should be set as active, false if not.
160- *
160+ *
161161 * @return {Phaser.GameObjects.GameObject } This GameObject.
162162 */
163163 setActive : function ( value )
@@ -175,7 +175,7 @@ var GameObject = new Class({
175175 * @since 3.0.0
176176 *
177177 * @param {string } value - The name to be given to this Game Object.
178- *
178+ *
179179 * @return {Phaser.GameObjects.GameObject } This GameObject.
180180 */
181181 setName : function ( value )
@@ -212,7 +212,7 @@ var GameObject = new Class({
212212 *
213213 * @param {string } key - The key of the property to be stored.
214214 * @param {any } value - The value to store with the key. Can be a string, number, array or object.
215- *
215+ *
216216 * @return {Phaser.GameObjects.GameObject } This GameObject.
217217 */
218218 setData : function ( key , value )
@@ -234,7 +234,7 @@ var GameObject = new Class({
234234 * @since 3.0.0
235235 *
236236 * @param {string } key - The key of the property to be retrieved.
237- *
237+ *
238238 * @return {any } The data, if present in the Data Store.
239239 */
240240 getData : function ( key )
@@ -256,7 +256,7 @@ var GameObject = new Class({
256256 * @param {any } [shape] - A geometric shape that defines the hit area for the Game Object. If not specified a Rectangle will be used.
257257 * @param {function } [callback] - A callback to be invoked when the Game Object is interacted with.
258258 * @param {boolean } [dropZone=false] - Should this Game Object be treated as a drop zone target?
259- *
259+ *
260260 * @return {Phaser.GameObjects.GameObject } This GameObject.
261261 */
262262 setInteractive : function ( shape , callback , dropZone )
@@ -282,7 +282,7 @@ var GameObject = new Class({
282282 * @method Phaser.GameObjects.GameObject#toJSON
283283 * @since 3.0.0
284284 *
285- * @return {object } A JSON representation of the Game Object.
285+ * @return {JSONGameObject } A JSON representation of the Game Object.
286286 */
287287 toJSON : function ( )
288288 {
@@ -305,13 +305,13 @@ var GameObject = new Class({
305305 /**
306306 * Destroys this Game Object removing it from the Display List and Update List and
307307 * severing all ties to parent resources.
308- *
308+ *
309309 * Also removes itself from the Input Manager and Physics Manager if previously enabled.
310- *
310+ *
311311 * Use this to remove a Game Object from your game if you don't ever plan to use it again.
312312 * As long as no reference to it exists within your own code it should become free for
313313 * garbage collection by the browser.
314- *
314+ *
315315 * If you just want to temporarily disable an object then look at using the
316316 * Game Object Pool instead of destroying it, as destroyed objects cannot be resurrected.
317317 *
@@ -364,7 +364,7 @@ var GameObject = new Class({
364364 this . scene = undefined ;
365365
366366 this . emit ( 'destroy' ) ;
367-
367+
368368 this . removeAllListeners ( ) ;
369369 }
370370
0 commit comments