From 3c96ca73ec9a9a0c48c433ccac807e95c06b552c Mon Sep 17 00:00:00 2001 From: TadejZupancic Date: Tue, 12 Jun 2018 15:49:02 +0200 Subject: [PATCH] Update Zone.js --- src/gameobjects/zone/Zone.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/gameobjects/zone/Zone.js b/src/gameobjects/zone/Zone.js index d6b860e70..e9fd1edd3 100644 --- a/src/gameobjects/zone/Zone.js +++ b/src/gameobjects/zone/Zone.js @@ -256,6 +256,18 @@ var Zone = new Class({ return this; }, + /** + * A NOOP method so you can pass a Zone to a Container. + * Calling this method will do nothing. It is intentionally empty. + * + * @method Phaser.GameObjects.Zone#setAlpha + * @private + * @since 3.10.0 + */ + setAlpha: function () + { + }, + /** * A Zone does not render. *