Skip to content

Commit 2892f20

Browse files
committed
Depth component added to the Zone Game Object. Fix phaserjs#3213
1 parent 6a9ac03 commit 2892f20

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/gameobjects/zone/Zone.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ var RectangleContains = require('../../geom/rectangle/Contains');
3333
* @constructor
3434
* @since 3.0.0
3535
*
36+
* @extends Phaser.GameObjects.Components.Depth
3637
* @extends Phaser.GameObjects.Components.GetBounds
3738
* @extends Phaser.GameObjects.Components.Origin
3839
* @extends Phaser.GameObjects.Components.ScaleMode
@@ -51,6 +52,7 @@ var Zone = new Class({
5152
Extends: GameObject,
5253

5354
Mixins: [
55+
Components.Depth,
5456
Components.GetBounds,
5557
Components.Origin,
5658
Components.ScaleMode,

0 commit comments

Comments
 (0)