Fake this flag to allow Bobs to get a physics body. Fix #6284

This commit is contained in:
Richard Davey 2022-11-14 21:41:37 +00:00
parent 11def7bf38
commit 6220d9b18d

View file

@ -140,6 +140,17 @@ var Bob = new Class({
* @since 3.0.0
*/
this.flipY = false;
/**
* Private read-only property used to allow Bobs to have physics bodies.
*
* @name Phaser.GameObjects.Bob#hasTransformComponent
* @type {boolean}
* @private
* @readonly
* @since 3.60.0
*/
this.hasTransformComponent = true;
},
/**