Correct types for GameObject#body?

This commit is contained in:
samme 2020-05-02 16:16:16 -07:00
parent d6e8600766
commit b7bc26d06f

View file

@ -169,7 +169,7 @@ var GameObject = new Class({
* If this Game Object is enabled for Arcade or Matter Physics then this property will contain a reference to a Physics Body.
*
* @name Phaser.GameObjects.GameObject#body
* @type {?(object|Phaser.Physics.Arcade.Body|MatterJS.BodyType)}
* @type {?(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody|MatterJS.BodyType)}
* @default null
* @since 3.0.0
*/