mirror of
https://github.com/photonstorm/phaser
synced 2024-11-29 08:01:04 +00:00
Fake this flag to allow Bobs to get a physics body. Fix #6284
This commit is contained in:
parent
11def7bf38
commit
6220d9b18d
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue