@@ -219,10 +219,12 @@ var StaticBody = new Class({
219219 // If true this Body will dispatch events
220220
221221 /**
222- * Whether the simulation emits a `worldbounds` event when this StaticBody collides with the world boundary (and `collideWorldBounds` is also true).
222+ * Whether the simulation emits a `worldbounds` event when this StaticBody collides with the world boundary.
223+ * Always false for a Static Body. (Static Bodies never collide with the world boundary and never trigger a `worldbounds` event.)
223224 *
224225 * @name Phaser.Physics.Arcade.StaticBody#onWorldBounds
225226 * @type {boolean }
227+ * @readonly
226228 * @default false
227229 * @since 3.0.0
228230 */
@@ -269,7 +271,7 @@ var StaticBody = new Class({
269271 this . immovable = true ;
270272
271273 /**
272- * A flag disabling the default horizontal separation of colliding bodies. Pass your own `processHandler ` to the collider.
274+ * A flag disabling the default horizontal separation of colliding bodies. Pass your own `collideHandler ` to the collider.
273275 *
274276 * @name Phaser.Physics.Arcade.StaticBody#customSeparateX
275277 * @type {boolean }
@@ -279,7 +281,7 @@ var StaticBody = new Class({
279281 this . customSeparateX = false ;
280282
281283 /**
282- * A flag disabling the default vertical separation of colliding bodies. Pass your own `processHandler ` to the collider.
284+ * A flag disabling the default vertical separation of colliding bodies. Pass your own `collideHandler ` to the collider.
283285 *
284286 * @name Phaser.Physics.Arcade.StaticBody#customSeparateY
285287 * @type {boolean }
@@ -319,7 +321,7 @@ var StaticBody = new Class({
319321 this . overlapR = 0 ;
320322
321323 /**
322- * Whether this StaticBody is overlapped with another and both have zero velocity .
324+ * Whether this StaticBody has ever overlapped with another while both were not moving .
323325 *
324326 * @name Phaser.Physics.Arcade.StaticBody#embedded
325327 * @type {boolean }
@@ -330,9 +332,11 @@ var StaticBody = new Class({
330332
331333 /**
332334 * Whether this StaticBody interacts with the world boundary.
335+ * Always false for a Static Body. (Static Bodies never collide with the world boundary.)
333336 *
334337 * @name Phaser.Physics.Arcade.StaticBody#collideWorldBounds
335338 * @type {boolean }
339+ * @readonly
336340 * @default false
337341 * @since 3.0.0
338342 */
@@ -348,7 +352,7 @@ var StaticBody = new Class({
348352 this . checkCollision = { none : false , up : true , down : true , left : true , right : true } ;
349353
350354 /**
351- * Whether this StaticBody is colliding with another and in which direction.
355+ * Whether this StaticBody has ever collided with another body and in which direction.
352356 *
353357 * @name Phaser.Physics.Arcade.StaticBody#touching
354358 * @type {ArcadeBodyCollision }
@@ -357,7 +361,7 @@ var StaticBody = new Class({
357361 this . touching = { none : true , up : false , down : false , left : false , right : false } ;
358362
359363 /**
360- * Whether this StaticBody was colliding with another during the last step, and in which direction.
364+ * Whether this StaticBody was colliding with another body during the last step or any previous step, and in which direction.
361365 *
362366 * @name Phaser.Physics.Arcade.StaticBody#wasTouching
363367 * @type {ArcadeBodyCollision }
@@ -366,7 +370,7 @@ var StaticBody = new Class({
366370 this . wasTouching = { none : true , up : false , down : false , left : false , right : false } ;
367371
368372 /**
369- * Whether this StaticBody is colliding with a tile or the world boundary.
373+ * Whether this StaticBody has ever collided with a tile or the world boundary.
370374 *
371375 * @name Phaser.Physics.Arcade.StaticBody#blocked
372376 * @type {ArcadeBodyCollision }
@@ -379,6 +383,7 @@ var StaticBody = new Class({
379383 *
380384 * @name Phaser.Physics.Arcade.StaticBody#physicsType
381385 * @type {integer }
386+ * @default Phaser.Physics.Arcade.STATIC_BODY
382387 * @since 3.0.0
383388 */
384389 this . physicsType = CONST . STATIC_BODY ;
0 commit comments