diff --git a/CHANGELOG-v3.60.md b/CHANGELOG-v3.60.md index 5d57f84eb..ed40f0121 100644 --- a/CHANGELOG-v3.60.md +++ b/CHANGELOG-v3.60.md @@ -138,6 +138,8 @@ The following are API-breaking, in that a new optional parameter has been insert * The `path` package used by the TS Defs generator has been moved to `devDependencies` (thanks @antkhnvsk) * The `GetValue` function has a new optional parameter `altSource` which allows you to provide an alternative object to source the value from. * The `Renderer.Snapshot.WebGL` function has had its first parameter changed from an `HTMLCanvasElement` to a `WebGLRenderingContext`. This is now passed in from the `snapshot` methods inside the WebGL Renderer. The change was made to allow it to work with WebGL2 custom contexts (thanks @andymikulski) +* If you start a Scene that is already starting (START, LOADING, or CREATING) then the start operation is now ignored (thanks @samme) +* If you start a Scene that is Sleeping, it is shut down before starting again. This matches how Phaser currently handles paused scenes (thanks @samme) ### Bug Fixes @@ -202,6 +204,13 @@ The following are API-breaking, in that a new optional parameter has been insert * `TextureManager.getBase64` will now skip the `drawImage` call in canvas if the frame width or height are zero. * `TilemapLayerCanvasRenderer` will now skip the `drawImage` call in canvas if the frame width or height are zero. * Audio will now unlock properly again on iOS14 and above in Safari. Fix #5696 (thanks @laineus) +* Drawing Game Objects to a Render Texture in WebGL would skip their blend modes. This is now applied correctly. Fix #5565 #5996 (thanks @sjb933 @danarcher) +* Loading a Script File Type will now default the 'type' property to 'script' when a type is not provided. Fix #5994 (thanks @samme @ItsGravix) +* Using `RenderTexture.fill` in CANVAS mode only would produce a nearly always black color due to float conversion (thanks @andymikulski) +* If you Paused or Stopped a Scene that was in a preload state, it would still call 'create' after the Scene had shutdown (thanks @samme) +* BitmapText rendering wouldn't correctly apply per-character kerning offsets. These are now implemented during rendering (thanks @arbassic) +* Child Spine objects inside Containers wouldn't correctly inherit the parent Containers alpha. Fix #5853 (thanks @spayton) +* The DisplayList will now enter a while loop until all Game Objects are destroyed, rather than cache the list length. This prevents "cannot read property 'destroy' of undefined" errors in Scenes. Fix #5520 (thanks @schontz @astei) ### Examples, Documentation and TypeScript diff --git a/plugins/spine/src/SpineFile.js b/plugins/spine/src/SpineFile.js index 74a782c4b..3f57b63fc 100644 --- a/plugins/spine/src/SpineFile.js +++ b/plugins/spine/src/SpineFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2018 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ diff --git a/plugins/spine/src/SpinePlugin.js b/plugins/spine/src/SpinePlugin.js index bc8d168d7..acbdf1bf9 100644 --- a/plugins/spine/src/SpinePlugin.js +++ b/plugins/spine/src/SpinePlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ diff --git a/plugins/spine/src/container/SpineContainer.js b/plugins/spine/src/container/SpineContainer.js index 541ec01e2..0d66042ae 100644 --- a/plugins/spine/src/container/SpineContainer.js +++ b/plugins/spine/src/container/SpineContainer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ diff --git a/plugins/spine/src/container/SpineContainerCanvasRenderer.js b/plugins/spine/src/container/SpineContainerCanvasRenderer.js index e54b051e6..bf2965be2 100644 --- a/plugins/spine/src/container/SpineContainerCanvasRenderer.js +++ b/plugins/spine/src/container/SpineContainerCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/container/SpineContainerRender.js b/plugins/spine/src/container/SpineContainerRender.js index abc2c3d26..b2a0be692 100644 --- a/plugins/spine/src/container/SpineContainerRender.js +++ b/plugins/spine/src/container/SpineContainerRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/container/SpineContainerWebGLRenderer.js b/plugins/spine/src/container/SpineContainerWebGLRenderer.js index 09e710b8f..0a6b07343 100644 --- a/plugins/spine/src/container/SpineContainerWebGLRenderer.js +++ b/plugins/spine/src/container/SpineContainerWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/events/COMPLETE_EVENT.js b/plugins/spine/src/events/COMPLETE_EVENT.js index 1fddd73e1..872254c7f 100644 --- a/plugins/spine/src/events/COMPLETE_EVENT.js +++ b/plugins/spine/src/events/COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/events/DISPOSE_EVENT.js b/plugins/spine/src/events/DISPOSE_EVENT.js index fe1ec5f92..b8877c566 100644 --- a/plugins/spine/src/events/DISPOSE_EVENT.js +++ b/plugins/spine/src/events/DISPOSE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/events/END_EVENT.js b/plugins/spine/src/events/END_EVENT.js index 1c7dbf9ed..99ec71ab6 100644 --- a/plugins/spine/src/events/END_EVENT.js +++ b/plugins/spine/src/events/END_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/events/EVENT_EVENT.js b/plugins/spine/src/events/EVENT_EVENT.js index 9020c9a73..304e4e83a 100644 --- a/plugins/spine/src/events/EVENT_EVENT.js +++ b/plugins/spine/src/events/EVENT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/events/INTERRUPTED_EVENT.js b/plugins/spine/src/events/INTERRUPTED_EVENT.js index 46fdf0c0a..f1e3048b6 100644 --- a/plugins/spine/src/events/INTERRUPTED_EVENT.js +++ b/plugins/spine/src/events/INTERRUPTED_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/events/START_EVENT.js b/plugins/spine/src/events/START_EVENT.js index 56c98ce0b..311ccc8e4 100644 --- a/plugins/spine/src/events/START_EVENT.js +++ b/plugins/spine/src/events/START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/events/index.js b/plugins/spine/src/events/index.js index 896774c2f..42085e03f 100644 --- a/plugins/spine/src/events/index.js +++ b/plugins/spine/src/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/plugins/spine/src/gameobject/SpineGameObject.js b/plugins/spine/src/gameobject/SpineGameObject.js index b494af096..1c79998a3 100644 --- a/plugins/spine/src/gameobject/SpineGameObject.js +++ b/plugins/spine/src/gameobject/SpineGameObject.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ diff --git a/plugins/spine/src/gameobject/SpineGameObjectCanvasRenderer.js b/plugins/spine/src/gameobject/SpineGameObjectCanvasRenderer.js index 3b5d8d6fc..b17299543 100644 --- a/plugins/spine/src/gameobject/SpineGameObjectCanvasRenderer.js +++ b/plugins/spine/src/gameobject/SpineGameObjectCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ diff --git a/plugins/spine/src/gameobject/SpineGameObjectRender.js b/plugins/spine/src/gameobject/SpineGameObjectRender.js index 9acc2bc11..c6a7e0bc5 100644 --- a/plugins/spine/src/gameobject/SpineGameObjectRender.js +++ b/plugins/spine/src/gameobject/SpineGameObjectRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ diff --git a/plugins/spine/src/gameobject/SpineGameObjectWebGLDirect.js b/plugins/spine/src/gameobject/SpineGameObjectWebGLDirect.js index 76b702d13..809d3a00d 100644 --- a/plugins/spine/src/gameobject/SpineGameObjectWebGLDirect.js +++ b/plugins/spine/src/gameobject/SpineGameObjectWebGLDirect.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ diff --git a/plugins/spine/src/gameobject/SpineGameObjectWebGLRenderer.js b/plugins/spine/src/gameobject/SpineGameObjectWebGLRenderer.js index 9bc0f4dac..14b2b8040 100644 --- a/plugins/spine/src/gameobject/SpineGameObjectWebGLRenderer.js +++ b/plugins/spine/src/gameobject/SpineGameObjectWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ diff --git a/src/actions/AlignTo.js b/src/actions/AlignTo.js index 9d539f06f..c95b33384 100644 --- a/src/actions/AlignTo.js +++ b/src/actions/AlignTo.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/Angle.js b/src/actions/Angle.js index b40fe9409..3cff5dea0 100644 --- a/src/actions/Angle.js +++ b/src/actions/Angle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/Call.js b/src/actions/Call.js index 403bdc150..e06932eee 100644 --- a/src/actions/Call.js +++ b/src/actions/Call.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/GetFirst.js b/src/actions/GetFirst.js index b6d123130..90ebe7351 100644 --- a/src/actions/GetFirst.js +++ b/src/actions/GetFirst.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/GetLast.js b/src/actions/GetLast.js index d25667887..fa74c593e 100644 --- a/src/actions/GetLast.js +++ b/src/actions/GetLast.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/GridAlign.js b/src/actions/GridAlign.js index 6fac388f7..d06b6d590 100644 --- a/src/actions/GridAlign.js +++ b/src/actions/GridAlign.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/IncAlpha.js b/src/actions/IncAlpha.js index b68db3347..a1a363fc0 100644 --- a/src/actions/IncAlpha.js +++ b/src/actions/IncAlpha.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/IncX.js b/src/actions/IncX.js index d9da254c5..11f194f97 100644 --- a/src/actions/IncX.js +++ b/src/actions/IncX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/IncXY.js b/src/actions/IncXY.js index c92406a7b..2805920f1 100644 --- a/src/actions/IncXY.js +++ b/src/actions/IncXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/IncY.js b/src/actions/IncY.js index d78b8e61c..bcfc77b2c 100644 --- a/src/actions/IncY.js +++ b/src/actions/IncY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/PlaceOnCircle.js b/src/actions/PlaceOnCircle.js index 687dad837..701739aa1 100644 --- a/src/actions/PlaceOnCircle.js +++ b/src/actions/PlaceOnCircle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/PlaceOnEllipse.js b/src/actions/PlaceOnEllipse.js index 0d5e49206..0b8d52b61 100644 --- a/src/actions/PlaceOnEllipse.js +++ b/src/actions/PlaceOnEllipse.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/PlaceOnLine.js b/src/actions/PlaceOnLine.js index 025cc2e45..4af5b28b3 100644 --- a/src/actions/PlaceOnLine.js +++ b/src/actions/PlaceOnLine.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/PlaceOnRectangle.js b/src/actions/PlaceOnRectangle.js index ec679dec9..4dd08dc52 100644 --- a/src/actions/PlaceOnRectangle.js +++ b/src/actions/PlaceOnRectangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/PlaceOnTriangle.js b/src/actions/PlaceOnTriangle.js index e935cddd0..d3af9098a 100644 --- a/src/actions/PlaceOnTriangle.js +++ b/src/actions/PlaceOnTriangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/PlayAnimation.js b/src/actions/PlayAnimation.js index 63ab3ebf1..a3862c359 100644 --- a/src/actions/PlayAnimation.js +++ b/src/actions/PlayAnimation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/PropertyValueInc.js b/src/actions/PropertyValueInc.js index 8f432cf16..556cc2405 100644 --- a/src/actions/PropertyValueInc.js +++ b/src/actions/PropertyValueInc.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/PropertyValueSet.js b/src/actions/PropertyValueSet.js index e93111297..7f0f174e2 100644 --- a/src/actions/PropertyValueSet.js +++ b/src/actions/PropertyValueSet.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/RandomCircle.js b/src/actions/RandomCircle.js index 5038e8f44..eb9b27703 100644 --- a/src/actions/RandomCircle.js +++ b/src/actions/RandomCircle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/RandomEllipse.js b/src/actions/RandomEllipse.js index 0b8a97b77..13fbf4cc6 100644 --- a/src/actions/RandomEllipse.js +++ b/src/actions/RandomEllipse.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/RandomLine.js b/src/actions/RandomLine.js index 44220a435..469a39d1c 100644 --- a/src/actions/RandomLine.js +++ b/src/actions/RandomLine.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/RandomRectangle.js b/src/actions/RandomRectangle.js index 4abec349c..ec1982b98 100644 --- a/src/actions/RandomRectangle.js +++ b/src/actions/RandomRectangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/RandomTriangle.js b/src/actions/RandomTriangle.js index 091202cf3..9a12350b9 100644 --- a/src/actions/RandomTriangle.js +++ b/src/actions/RandomTriangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/Rotate.js b/src/actions/Rotate.js index e8b604b48..be9dd1f14 100644 --- a/src/actions/Rotate.js +++ b/src/actions/Rotate.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/RotateAround.js b/src/actions/RotateAround.js index 6978dfc2f..e9aee824a 100644 --- a/src/actions/RotateAround.js +++ b/src/actions/RotateAround.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/RotateAroundDistance.js b/src/actions/RotateAroundDistance.js index 724c33537..82aa68e37 100644 --- a/src/actions/RotateAroundDistance.js +++ b/src/actions/RotateAroundDistance.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/ScaleX.js b/src/actions/ScaleX.js index 8893cb86f..f37445bb1 100644 --- a/src/actions/ScaleX.js +++ b/src/actions/ScaleX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/ScaleXY.js b/src/actions/ScaleXY.js index 25310b791..1340501b9 100644 --- a/src/actions/ScaleXY.js +++ b/src/actions/ScaleXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/ScaleY.js b/src/actions/ScaleY.js index c899e5c3d..5634c03cd 100644 --- a/src/actions/ScaleY.js +++ b/src/actions/ScaleY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetAlpha.js b/src/actions/SetAlpha.js index a2e9a1134..985cd6609 100644 --- a/src/actions/SetAlpha.js +++ b/src/actions/SetAlpha.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetBlendMode.js b/src/actions/SetBlendMode.js index a4e3bc430..efa953c1e 100644 --- a/src/actions/SetBlendMode.js +++ b/src/actions/SetBlendMode.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetDepth.js b/src/actions/SetDepth.js index 0d47fd07b..edac69813 100644 --- a/src/actions/SetDepth.js +++ b/src/actions/SetDepth.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetHitArea.js b/src/actions/SetHitArea.js index 5024dc42f..ae19439f2 100644 --- a/src/actions/SetHitArea.js +++ b/src/actions/SetHitArea.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetOrigin.js b/src/actions/SetOrigin.js index 04f1f9741..25e171828 100644 --- a/src/actions/SetOrigin.js +++ b/src/actions/SetOrigin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetRotation.js b/src/actions/SetRotation.js index 4cb6f1fbb..9e51bd7c5 100644 --- a/src/actions/SetRotation.js +++ b/src/actions/SetRotation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetScale.js b/src/actions/SetScale.js index c13319988..2fff49946 100644 --- a/src/actions/SetScale.js +++ b/src/actions/SetScale.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetScaleX.js b/src/actions/SetScaleX.js index 946dc61a5..397937a13 100644 --- a/src/actions/SetScaleX.js +++ b/src/actions/SetScaleX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetScaleY.js b/src/actions/SetScaleY.js index 6667f8870..a2a81e82f 100644 --- a/src/actions/SetScaleY.js +++ b/src/actions/SetScaleY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetScrollFactor.js b/src/actions/SetScrollFactor.js index 9d4fbc66c..607012123 100644 --- a/src/actions/SetScrollFactor.js +++ b/src/actions/SetScrollFactor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetScrollFactorX.js b/src/actions/SetScrollFactorX.js index 338aa3339..996346c19 100644 --- a/src/actions/SetScrollFactorX.js +++ b/src/actions/SetScrollFactorX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetScrollFactorY.js b/src/actions/SetScrollFactorY.js index c63425d85..44814598f 100644 --- a/src/actions/SetScrollFactorY.js +++ b/src/actions/SetScrollFactorY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetTint.js b/src/actions/SetTint.js index ce687138b..f760f63f4 100644 --- a/src/actions/SetTint.js +++ b/src/actions/SetTint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetVisible.js b/src/actions/SetVisible.js index 07ba32e40..62791e99c 100644 --- a/src/actions/SetVisible.js +++ b/src/actions/SetVisible.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetX.js b/src/actions/SetX.js index 5e7f1df8d..aa5f8b82e 100644 --- a/src/actions/SetX.js +++ b/src/actions/SetX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetXY.js b/src/actions/SetXY.js index 5eccf5626..09906826c 100644 --- a/src/actions/SetXY.js +++ b/src/actions/SetXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SetY.js b/src/actions/SetY.js index a52466dac..25206624a 100644 --- a/src/actions/SetY.js +++ b/src/actions/SetY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/ShiftPosition.js b/src/actions/ShiftPosition.js index c98c47618..4f5bbdce3 100644 --- a/src/actions/ShiftPosition.js +++ b/src/actions/ShiftPosition.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/Shuffle.js b/src/actions/Shuffle.js index 933beac68..effc327be 100644 --- a/src/actions/Shuffle.js +++ b/src/actions/Shuffle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SmoothStep.js b/src/actions/SmoothStep.js index b97396cb5..7f2d09937 100644 --- a/src/actions/SmoothStep.js +++ b/src/actions/SmoothStep.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/SmootherStep.js b/src/actions/SmootherStep.js index 0fb21d781..3f9db61a0 100644 --- a/src/actions/SmootherStep.js +++ b/src/actions/SmootherStep.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/Spread.js b/src/actions/Spread.js index 61e87bf18..f7b466601 100644 --- a/src/actions/Spread.js +++ b/src/actions/Spread.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/ToggleVisible.js b/src/actions/ToggleVisible.js index 294013797..ea636d67d 100644 --- a/src/actions/ToggleVisible.js +++ b/src/actions/ToggleVisible.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/WrapInRectangle.js b/src/actions/WrapInRectangle.js index 63e74c2d7..a73097ff5 100644 --- a/src/actions/WrapInRectangle.js +++ b/src/actions/WrapInRectangle.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/index.js b/src/actions/index.js index e7bc94c72..5041300a1 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/actions/typedefs/index.js b/src/actions/typedefs/index.js index dd8bb2e75..f4b65b6e3 100644 --- a/src/actions/typedefs/index.js +++ b/src/actions/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/Animation.js b/src/animations/Animation.js index 5ba684670..10c4bf62c 100644 --- a/src/animations/Animation.js +++ b/src/animations/Animation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/AnimationFrame.js b/src/animations/AnimationFrame.js index 1a43eeb09..76fecf3be 100644 --- a/src/animations/AnimationFrame.js +++ b/src/animations/AnimationFrame.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/AnimationManager.js b/src/animations/AnimationManager.js index 246b64d7b..9d80208eb 100644 --- a/src/animations/AnimationManager.js +++ b/src/animations/AnimationManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/AnimationState.js b/src/animations/AnimationState.js index 0a6704496..024b768c5 100644 --- a/src/animations/AnimationState.js +++ b/src/animations/AnimationState.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/ADD_ANIMATION_EVENT.js b/src/animations/events/ADD_ANIMATION_EVENT.js index 1c288cbfe..1076f1d64 100644 --- a/src/animations/events/ADD_ANIMATION_EVENT.js +++ b/src/animations/events/ADD_ANIMATION_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/ANIMATION_COMPLETE_EVENT.js b/src/animations/events/ANIMATION_COMPLETE_EVENT.js index 68c60adb9..0c175f835 100644 --- a/src/animations/events/ANIMATION_COMPLETE_EVENT.js +++ b/src/animations/events/ANIMATION_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/ANIMATION_COMPLETE_KEY_EVENT.js b/src/animations/events/ANIMATION_COMPLETE_KEY_EVENT.js index 404f9b735..76c542738 100644 --- a/src/animations/events/ANIMATION_COMPLETE_KEY_EVENT.js +++ b/src/animations/events/ANIMATION_COMPLETE_KEY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/ANIMATION_REPEAT_EVENT.js b/src/animations/events/ANIMATION_REPEAT_EVENT.js index 6a3032afd..4e4ade4fe 100644 --- a/src/animations/events/ANIMATION_REPEAT_EVENT.js +++ b/src/animations/events/ANIMATION_REPEAT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/ANIMATION_RESTART_EVENT.js b/src/animations/events/ANIMATION_RESTART_EVENT.js index 17d3167e6..339ed6e6b 100644 --- a/src/animations/events/ANIMATION_RESTART_EVENT.js +++ b/src/animations/events/ANIMATION_RESTART_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/ANIMATION_START_EVENT.js b/src/animations/events/ANIMATION_START_EVENT.js index f0b9419b1..e4a113ecb 100644 --- a/src/animations/events/ANIMATION_START_EVENT.js +++ b/src/animations/events/ANIMATION_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/ANIMATION_STOP_EVENT.js b/src/animations/events/ANIMATION_STOP_EVENT.js index cc11045b8..a8d0fa293 100644 --- a/src/animations/events/ANIMATION_STOP_EVENT.js +++ b/src/animations/events/ANIMATION_STOP_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/ANIMATION_UPDATE_EVENT.js b/src/animations/events/ANIMATION_UPDATE_EVENT.js index 840df3307..f4b457b7d 100644 --- a/src/animations/events/ANIMATION_UPDATE_EVENT.js +++ b/src/animations/events/ANIMATION_UPDATE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/PAUSE_ALL_EVENT.js b/src/animations/events/PAUSE_ALL_EVENT.js index b4ba939d7..c0ae9ce13 100644 --- a/src/animations/events/PAUSE_ALL_EVENT.js +++ b/src/animations/events/PAUSE_ALL_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/REMOVE_ANIMATION_EVENT.js b/src/animations/events/REMOVE_ANIMATION_EVENT.js index c37de03d6..51b51fd1b 100644 --- a/src/animations/events/REMOVE_ANIMATION_EVENT.js +++ b/src/animations/events/REMOVE_ANIMATION_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/RESUME_ALL_EVENT.js b/src/animations/events/RESUME_ALL_EVENT.js index c02f43028..fa871bbf1 100644 --- a/src/animations/events/RESUME_ALL_EVENT.js +++ b/src/animations/events/RESUME_ALL_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/events/index.js b/src/animations/events/index.js index 91a465812..973f49efc 100644 --- a/src/animations/events/index.js +++ b/src/animations/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/index.js b/src/animations/index.js index f4a35ac72..da0d1990e 100644 --- a/src/animations/index.js +++ b/src/animations/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/animations/typedefs/index.js b/src/animations/typedefs/index.js index b20cd2c49..a5f37b78e 100644 --- a/src/animations/typedefs/index.js +++ b/src/animations/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cache/BaseCache.js b/src/cache/BaseCache.js index 50a1a17cc..7da8ee8e2 100644 --- a/src/cache/BaseCache.js +++ b/src/cache/BaseCache.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cache/CacheManager.js b/src/cache/CacheManager.js index 16f96be72..2a4677724 100644 --- a/src/cache/CacheManager.js +++ b/src/cache/CacheManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cache/events/ADD_EVENT.js b/src/cache/events/ADD_EVENT.js index 78d1d0bec..367728d3c 100644 --- a/src/cache/events/ADD_EVENT.js +++ b/src/cache/events/ADD_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cache/events/REMOVE_EVENT.js b/src/cache/events/REMOVE_EVENT.js index 5f57d76f4..09c3fb6ac 100644 --- a/src/cache/events/REMOVE_EVENT.js +++ b/src/cache/events/REMOVE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cache/events/index.js b/src/cache/events/index.js index 11a2b0880..ab2c0f86b 100644 --- a/src/cache/events/index.js +++ b/src/cache/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cache/index.js b/src/cache/index.js index 45db4eff9..072894edc 100644 --- a/src/cache/index.js +++ b/src/cache/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/BaseCamera.js b/src/cameras/2d/BaseCamera.js index 3c8524ecd..415d366f7 100644 --- a/src/cameras/2d/BaseCamera.js +++ b/src/cameras/2d/BaseCamera.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/Camera.js b/src/cameras/2d/Camera.js index 13478b36b..762f48b02 100644 --- a/src/cameras/2d/Camera.js +++ b/src/cameras/2d/Camera.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/CameraManager.js b/src/cameras/2d/CameraManager.js index efbbccccb..5ce7ca4fb 100644 --- a/src/cameras/2d/CameraManager.js +++ b/src/cameras/2d/CameraManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/effects/Fade.js b/src/cameras/2d/effects/Fade.js index 1336c5a30..debabbd69 100644 --- a/src/cameras/2d/effects/Fade.js +++ b/src/cameras/2d/effects/Fade.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/effects/Flash.js b/src/cameras/2d/effects/Flash.js index a6e71e95f..4c55114eb 100644 --- a/src/cameras/2d/effects/Flash.js +++ b/src/cameras/2d/effects/Flash.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/effects/Pan.js b/src/cameras/2d/effects/Pan.js index b767a8506..a09cd2a11 100644 --- a/src/cameras/2d/effects/Pan.js +++ b/src/cameras/2d/effects/Pan.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/effects/Shake.js b/src/cameras/2d/effects/Shake.js index cf59ce2ce..54f978840 100644 --- a/src/cameras/2d/effects/Shake.js +++ b/src/cameras/2d/effects/Shake.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/effects/Zoom.js b/src/cameras/2d/effects/Zoom.js index 6f05cbe45..2dd55a43c 100644 --- a/src/cameras/2d/effects/Zoom.js +++ b/src/cameras/2d/effects/Zoom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/effects/index.js b/src/cameras/2d/effects/index.js index 3b06bf8b3..9d7e8eebd 100644 --- a/src/cameras/2d/effects/index.js +++ b/src/cameras/2d/effects/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/DESTROY_EVENT.js b/src/cameras/2d/events/DESTROY_EVENT.js index 80175e07a..21f27b6f8 100644 --- a/src/cameras/2d/events/DESTROY_EVENT.js +++ b/src/cameras/2d/events/DESTROY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/FADE_IN_COMPLETE_EVENT.js b/src/cameras/2d/events/FADE_IN_COMPLETE_EVENT.js index 3ce221956..5921baf03 100644 --- a/src/cameras/2d/events/FADE_IN_COMPLETE_EVENT.js +++ b/src/cameras/2d/events/FADE_IN_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/FADE_IN_START_EVENT.js b/src/cameras/2d/events/FADE_IN_START_EVENT.js index 621e9fea8..b138525c9 100644 --- a/src/cameras/2d/events/FADE_IN_START_EVENT.js +++ b/src/cameras/2d/events/FADE_IN_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/FADE_OUT_COMPLETE_EVENT.js b/src/cameras/2d/events/FADE_OUT_COMPLETE_EVENT.js index 1794376c8..03f4ff5c5 100644 --- a/src/cameras/2d/events/FADE_OUT_COMPLETE_EVENT.js +++ b/src/cameras/2d/events/FADE_OUT_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/FADE_OUT_START_EVENT.js b/src/cameras/2d/events/FADE_OUT_START_EVENT.js index cadc4386c..dc84c873f 100644 --- a/src/cameras/2d/events/FADE_OUT_START_EVENT.js +++ b/src/cameras/2d/events/FADE_OUT_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/FLASH_COMPLETE_EVENT.js b/src/cameras/2d/events/FLASH_COMPLETE_EVENT.js index f4d6aaad3..a74128ea6 100644 --- a/src/cameras/2d/events/FLASH_COMPLETE_EVENT.js +++ b/src/cameras/2d/events/FLASH_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/FLASH_START_EVENT.js b/src/cameras/2d/events/FLASH_START_EVENT.js index 422b02073..e6dcc1b6d 100644 --- a/src/cameras/2d/events/FLASH_START_EVENT.js +++ b/src/cameras/2d/events/FLASH_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/FOLLOW_UPDATE_EVENT.js b/src/cameras/2d/events/FOLLOW_UPDATE_EVENT.js index e41ec44a3..dc2862708 100644 --- a/src/cameras/2d/events/FOLLOW_UPDATE_EVENT.js +++ b/src/cameras/2d/events/FOLLOW_UPDATE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/PAN_COMPLETE_EVENT.js b/src/cameras/2d/events/PAN_COMPLETE_EVENT.js index 7e65955fd..dc49d541f 100644 --- a/src/cameras/2d/events/PAN_COMPLETE_EVENT.js +++ b/src/cameras/2d/events/PAN_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/PAN_START_EVENT.js b/src/cameras/2d/events/PAN_START_EVENT.js index ef270397f..5c8c96c51 100644 --- a/src/cameras/2d/events/PAN_START_EVENT.js +++ b/src/cameras/2d/events/PAN_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/POST_RENDER_EVENT.js b/src/cameras/2d/events/POST_RENDER_EVENT.js index 40fe8cb76..a1b40d99b 100644 --- a/src/cameras/2d/events/POST_RENDER_EVENT.js +++ b/src/cameras/2d/events/POST_RENDER_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/PRE_RENDER_EVENT.js b/src/cameras/2d/events/PRE_RENDER_EVENT.js index 9e02ee873..d082e3ade 100644 --- a/src/cameras/2d/events/PRE_RENDER_EVENT.js +++ b/src/cameras/2d/events/PRE_RENDER_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/ROTATE_COMPLETE_EVENT.js b/src/cameras/2d/events/ROTATE_COMPLETE_EVENT.js index 39e425894..fb787c577 100644 --- a/src/cameras/2d/events/ROTATE_COMPLETE_EVENT.js +++ b/src/cameras/2d/events/ROTATE_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/ROTATE_START_EVENT.js b/src/cameras/2d/events/ROTATE_START_EVENT.js index 6846b53ad..979a36808 100644 --- a/src/cameras/2d/events/ROTATE_START_EVENT.js +++ b/src/cameras/2d/events/ROTATE_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/SHAKE_COMPLETE_EVENT.js b/src/cameras/2d/events/SHAKE_COMPLETE_EVENT.js index 188a9ed10..c6fc5e069 100644 --- a/src/cameras/2d/events/SHAKE_COMPLETE_EVENT.js +++ b/src/cameras/2d/events/SHAKE_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/SHAKE_START_EVENT.js b/src/cameras/2d/events/SHAKE_START_EVENT.js index 25003058a..f16484c80 100644 --- a/src/cameras/2d/events/SHAKE_START_EVENT.js +++ b/src/cameras/2d/events/SHAKE_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/ZOOM_COMPLETE_EVENT.js b/src/cameras/2d/events/ZOOM_COMPLETE_EVENT.js index 243936dc2..319b186c4 100644 --- a/src/cameras/2d/events/ZOOM_COMPLETE_EVENT.js +++ b/src/cameras/2d/events/ZOOM_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/ZOOM_START_EVENT.js b/src/cameras/2d/events/ZOOM_START_EVENT.js index c80eea7e9..987d5a2d0 100644 --- a/src/cameras/2d/events/ZOOM_START_EVENT.js +++ b/src/cameras/2d/events/ZOOM_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/events/index.js b/src/cameras/2d/events/index.js index e595b561f..c0d15dba8 100644 --- a/src/cameras/2d/events/index.js +++ b/src/cameras/2d/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/index.js b/src/cameras/2d/index.js index 5ca74e54e..e69c8a47b 100644 --- a/src/cameras/2d/index.js +++ b/src/cameras/2d/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/2d/typedefs/index.js b/src/cameras/2d/typedefs/index.js index d5aa6d1b7..b57183a83 100644 --- a/src/cameras/2d/typedefs/index.js +++ b/src/cameras/2d/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/controls/FixedKeyControl.js b/src/cameras/controls/FixedKeyControl.js index 3a4e93fd2..50fad8842 100644 --- a/src/cameras/controls/FixedKeyControl.js +++ b/src/cameras/controls/FixedKeyControl.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/controls/SmoothedKeyControl.js b/src/cameras/controls/SmoothedKeyControl.js index 6189d3bef..92eb5a506 100644 --- a/src/cameras/controls/SmoothedKeyControl.js +++ b/src/cameras/controls/SmoothedKeyControl.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/controls/index.js b/src/cameras/controls/index.js index f93ebb552..1212043a5 100644 --- a/src/cameras/controls/index.js +++ b/src/cameras/controls/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/controls/typedefs/index.js b/src/cameras/controls/typedefs/index.js index 6a28e6b28..dcbde34d4 100644 --- a/src/cameras/controls/typedefs/index.js +++ b/src/cameras/controls/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/cameras/index.js b/src/cameras/index.js index 5ee2b99cf..fa70b9a54 100644 --- a/src/cameras/index.js +++ b/src/cameras/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/const.js b/src/const.js index ef9498467..4fa7e8124 100644 --- a/src/const.js +++ b/src/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/Config.js b/src/core/Config.js index 9ef990877..be58a2f0c 100644 --- a/src/core/Config.js +++ b/src/core/Config.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/CreateRenderer.js b/src/core/CreateRenderer.js index 662f25328..319458a15 100644 --- a/src/core/CreateRenderer.js +++ b/src/core/CreateRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/DebugHeader.js b/src/core/DebugHeader.js index 31af296da..29ddb4048 100644 --- a/src/core/DebugHeader.js +++ b/src/core/DebugHeader.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/Game.js b/src/core/Game.js index f9b4dc688..5254e1493 100644 --- a/src/core/Game.js +++ b/src/core/Game.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/TimeStep.js b/src/core/TimeStep.js index 971fdaa88..d20c4b8d5 100644 --- a/src/core/TimeStep.js +++ b/src/core/TimeStep.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/VisibilityHandler.js b/src/core/VisibilityHandler.js index 84e92fdbf..1e6845485 100644 --- a/src/core/VisibilityHandler.js +++ b/src/core/VisibilityHandler.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/BLUR_EVENT.js b/src/core/events/BLUR_EVENT.js index 70ed78c88..5dd6a2c96 100644 --- a/src/core/events/BLUR_EVENT.js +++ b/src/core/events/BLUR_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/BOOT_EVENT.js b/src/core/events/BOOT_EVENT.js index a0c0d98e0..b8d1e8754 100644 --- a/src/core/events/BOOT_EVENT.js +++ b/src/core/events/BOOT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/CONTEXT_LOST_EVENT.js b/src/core/events/CONTEXT_LOST_EVENT.js index b02b36590..1b7502eae 100644 --- a/src/core/events/CONTEXT_LOST_EVENT.js +++ b/src/core/events/CONTEXT_LOST_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/CONTEXT_RESTORED_EVENT.js b/src/core/events/CONTEXT_RESTORED_EVENT.js index 013aafa4f..d831f1423 100644 --- a/src/core/events/CONTEXT_RESTORED_EVENT.js +++ b/src/core/events/CONTEXT_RESTORED_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/DESTROY_EVENT.js b/src/core/events/DESTROY_EVENT.js index b85a912ad..07cfc2f6f 100644 --- a/src/core/events/DESTROY_EVENT.js +++ b/src/core/events/DESTROY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/FOCUS_EVENT.js b/src/core/events/FOCUS_EVENT.js index d8ca467a0..693ab69da 100644 --- a/src/core/events/FOCUS_EVENT.js +++ b/src/core/events/FOCUS_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/HIDDEN_EVENT.js b/src/core/events/HIDDEN_EVENT.js index 85954c80e..e88fee38e 100644 --- a/src/core/events/HIDDEN_EVENT.js +++ b/src/core/events/HIDDEN_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/PAUSE_EVENT.js b/src/core/events/PAUSE_EVENT.js index 658c26063..d721a297d 100644 --- a/src/core/events/PAUSE_EVENT.js +++ b/src/core/events/PAUSE_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Pause Event. - * + * * This event is dispatched when the Game loop enters a paused state, usually as a result of the Visibility Handler. * * @event Phaser.Core.Events#PAUSE diff --git a/src/core/events/POST_RENDER_EVENT.js b/src/core/events/POST_RENDER_EVENT.js index 80ed9b758..5e66d79e4 100644 --- a/src/core/events/POST_RENDER_EVENT.js +++ b/src/core/events/POST_RENDER_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/POST_STEP_EVENT.js b/src/core/events/POST_STEP_EVENT.js index 2e4eb6957..2e7c0a21d 100644 --- a/src/core/events/POST_STEP_EVENT.js +++ b/src/core/events/POST_STEP_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/PRE_RENDER_EVENT.js b/src/core/events/PRE_RENDER_EVENT.js index 9f62ae71d..cd5f9efde 100644 --- a/src/core/events/PRE_RENDER_EVENT.js +++ b/src/core/events/PRE_RENDER_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/PRE_STEP_EVENT.js b/src/core/events/PRE_STEP_EVENT.js index 2c3eaafe8..a4ccedb1f 100644 --- a/src/core/events/PRE_STEP_EVENT.js +++ b/src/core/events/PRE_STEP_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/READY_EVENT.js b/src/core/events/READY_EVENT.js index 41ae33171..7cc2f6313 100644 --- a/src/core/events/READY_EVENT.js +++ b/src/core/events/READY_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Ready Event. - * + * * This event is dispatched when the Phaser Game instance has finished booting, the Texture Manager is fully ready, * and all local systems are now able to start. * diff --git a/src/core/events/RESUME_EVENT.js b/src/core/events/RESUME_EVENT.js index bd9b2bafe..c75e0450d 100644 --- a/src/core/events/RESUME_EVENT.js +++ b/src/core/events/RESUME_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Resume Event. - * + * * This event is dispatched when the game loop leaves a paused state and resumes running. * * @event Phaser.Core.Events#RESUME diff --git a/src/core/events/STEP_EVENT.js b/src/core/events/STEP_EVENT.js index 02a93f4ea..dc69e2b1d 100644 --- a/src/core/events/STEP_EVENT.js +++ b/src/core/events/STEP_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/VISIBLE_EVENT.js b/src/core/events/VISIBLE_EVENT.js index 1382bd9db..4563f4d4d 100644 --- a/src/core/events/VISIBLE_EVENT.js +++ b/src/core/events/VISIBLE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/events/index.js b/src/core/events/index.js index 825dbea89..33ad510e0 100644 --- a/src/core/events/index.js +++ b/src/core/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/index.js b/src/core/index.js index 1c0422af3..f203c0d26 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/core/typedefs/index.js b/src/core/typedefs/index.js index ebc550130..581bf7df3 100644 --- a/src/core/typedefs/index.js +++ b/src/core/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/create/GenerateTexture.js b/src/create/GenerateTexture.js index 87f682970..32b1fb99d 100644 --- a/src/create/GenerateTexture.js +++ b/src/create/GenerateTexture.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/create/index.js b/src/create/index.js index f59f89beb..3cbf11b04 100644 --- a/src/create/index.js +++ b/src/create/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,7 +9,7 @@ */ module.exports = { - + GenerateTexture: require('./GenerateTexture'), Palettes: require('./palettes') diff --git a/src/create/palettes/Arne16.js b/src/create/palettes/Arne16.js index 2f21e8f25..db7c2bc69 100644 --- a/src/create/palettes/Arne16.js +++ b/src/create/palettes/Arne16.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/create/palettes/C64.js b/src/create/palettes/C64.js index 4f2fd057d..596e78ade 100644 --- a/src/create/palettes/C64.js +++ b/src/create/palettes/C64.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/create/palettes/CGA.js b/src/create/palettes/CGA.js index dcdd25a42..1208d8802 100644 --- a/src/create/palettes/CGA.js +++ b/src/create/palettes/CGA.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/create/palettes/JMP.js b/src/create/palettes/JMP.js index 0744994c5..d5e01a574 100644 --- a/src/create/palettes/JMP.js +++ b/src/create/palettes/JMP.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/create/palettes/MSX.js b/src/create/palettes/MSX.js index a7e248bb8..a56f86bda 100644 --- a/src/create/palettes/MSX.js +++ b/src/create/palettes/MSX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/create/palettes/index.js b/src/create/palettes/index.js index df1666f47..b6d5a6e35 100644 --- a/src/create/palettes/index.js +++ b/src/create/palettes/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/create/typedefs/index.js b/src/create/typedefs/index.js index ef13d33bd..1144abd74 100644 --- a/src/create/typedefs/index.js +++ b/src/create/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/CubicBezierCurve.js b/src/curves/CubicBezierCurve.js index d7ef99f0c..a194deabc 100644 --- a/src/curves/CubicBezierCurve.js +++ b/src/curves/CubicBezierCurve.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/Curve.js b/src/curves/Curve.js index 5341d4c32..5fb7afbca 100644 --- a/src/curves/Curve.js +++ b/src/curves/Curve.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/EllipseCurve.js b/src/curves/EllipseCurve.js index 17a255aa3..471ef0b2e 100644 --- a/src/curves/EllipseCurve.js +++ b/src/curves/EllipseCurve.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/LineCurve.js b/src/curves/LineCurve.js index b1274870d..1368f39e0 100644 --- a/src/curves/LineCurve.js +++ b/src/curves/LineCurve.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/QuadraticBezierCurve.js b/src/curves/QuadraticBezierCurve.js index 37effb9ef..9fd5384f7 100644 --- a/src/curves/QuadraticBezierCurve.js +++ b/src/curves/QuadraticBezierCurve.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/SplineCurve.js b/src/curves/SplineCurve.js index 781e0b453..ef849646d 100644 --- a/src/curves/SplineCurve.js +++ b/src/curves/SplineCurve.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/index.js b/src/curves/index.js index 29eac74ac..585ff22c7 100644 --- a/src/curves/index.js +++ b/src/curves/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/path/MoveTo.js b/src/curves/path/MoveTo.js index 28f863885..fb0f680a9 100644 --- a/src/curves/path/MoveTo.js +++ b/src/curves/path/MoveTo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/path/Path.js b/src/curves/path/Path.js index 0377b44b5..7e599f4fa 100644 --- a/src/curves/path/Path.js +++ b/src/curves/path/Path.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/curves/typedefs/index.js b/src/curves/typedefs/index.js index ed8807be1..113a4be98 100644 --- a/src/curves/typedefs/index.js +++ b/src/curves/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/DataManager.js b/src/data/DataManager.js index 101d70f19..7eedbecf2 100644 --- a/src/data/DataManager.js +++ b/src/data/DataManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/DataManagerPlugin.js b/src/data/DataManagerPlugin.js index 3245a536d..7413309a3 100644 --- a/src/data/DataManagerPlugin.js +++ b/src/data/DataManagerPlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/events/CHANGE_DATA_EVENT.js b/src/data/events/CHANGE_DATA_EVENT.js index ca9219315..71cf9bb8a 100644 --- a/src/data/events/CHANGE_DATA_EVENT.js +++ b/src/data/events/CHANGE_DATA_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/events/CHANGE_DATA_KEY_EVENT.js b/src/data/events/CHANGE_DATA_KEY_EVENT.js index 93be4bc31..0a40e8b6e 100644 --- a/src/data/events/CHANGE_DATA_KEY_EVENT.js +++ b/src/data/events/CHANGE_DATA_KEY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/events/DESTROY_EVENT.js b/src/data/events/DESTROY_EVENT.js index de5f4eb3b..cb7507a71 100644 --- a/src/data/events/DESTROY_EVENT.js +++ b/src/data/events/DESTROY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/events/REMOVE_DATA_EVENT.js b/src/data/events/REMOVE_DATA_EVENT.js index 7e0e5c9a2..da4f4acc1 100644 --- a/src/data/events/REMOVE_DATA_EVENT.js +++ b/src/data/events/REMOVE_DATA_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/events/SET_DATA_EVENT.js b/src/data/events/SET_DATA_EVENT.js index aa03c6c56..4ff6d25e5 100644 --- a/src/data/events/SET_DATA_EVENT.js +++ b/src/data/events/SET_DATA_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/events/index.js b/src/data/events/index.js index ce54d6edb..8b099a661 100644 --- a/src/data/events/index.js +++ b/src/data/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/data/index.js b/src/data/index.js index a1406eba1..ce07d767d 100644 --- a/src/data/index.js +++ b/src/data/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/Audio.js b/src/device/Audio.js index 168a0e8f6..0d5483557 100644 --- a/src/device/Audio.js +++ b/src/device/Audio.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/Browser.js b/src/device/Browser.js index 9b268aa4a..44fdff8be 100644 --- a/src/device/Browser.js +++ b/src/device/Browser.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/CanvasFeatures.js b/src/device/CanvasFeatures.js index 2928bde32..5b19c6532 100644 --- a/src/device/CanvasFeatures.js +++ b/src/device/CanvasFeatures.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/Features.js b/src/device/Features.js index 0935d60c6..b231b87f1 100644 --- a/src/device/Features.js +++ b/src/device/Features.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/Fullscreen.js b/src/device/Fullscreen.js index 6bff8864d..40b28ed23 100644 --- a/src/device/Fullscreen.js +++ b/src/device/Fullscreen.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/Input.js b/src/device/Input.js index ae7ac27b6..c7acd18f5 100644 --- a/src/device/Input.js +++ b/src/device/Input.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/OS.js b/src/device/OS.js index 0a7c514b1..536eb5a33 100644 --- a/src/device/OS.js +++ b/src/device/OS.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/Video.js b/src/device/Video.js index 3aa4fe050..19d8a9ab1 100644 --- a/src/device/Video.js +++ b/src/device/Video.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/device/index.js b/src/device/index.js index 98b5af2c4..5dd541c5a 100644 --- a/src/device/index.js +++ b/src/device/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/ColorMatrix.js b/src/display/ColorMatrix.js index 221d5a2cd..baef9b64c 100644 --- a/src/display/ColorMatrix.js +++ b/src/display/ColorMatrix.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/RGB.js b/src/display/RGB.js index ff9e1951f..16b559fcd 100644 --- a/src/display/RGB.js +++ b/src/display/RGB.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/const.js b/src/display/align/const.js index abde5c12a..b115148d7 100644 --- a/src/display/align/const.js +++ b/src/display/align/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/BottomCenter.js b/src/display/align/in/BottomCenter.js index fd4271dd9..0069dc5ba 100644 --- a/src/display/align/in/BottomCenter.js +++ b/src/display/align/in/BottomCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/BottomLeft.js b/src/display/align/in/BottomLeft.js index b0bc69953..881f82e31 100644 --- a/src/display/align/in/BottomLeft.js +++ b/src/display/align/in/BottomLeft.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/BottomRight.js b/src/display/align/in/BottomRight.js index d5f729e6c..81735727e 100644 --- a/src/display/align/in/BottomRight.js +++ b/src/display/align/in/BottomRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/Center.js b/src/display/align/in/Center.js index 5179e4505..f1415053c 100644 --- a/src/display/align/in/Center.js +++ b/src/display/align/in/Center.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/LeftCenter.js b/src/display/align/in/LeftCenter.js index f00bec9e8..1aff6612f 100644 --- a/src/display/align/in/LeftCenter.js +++ b/src/display/align/in/LeftCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/QuickSet.js b/src/display/align/in/QuickSet.js index 0993619ac..a3b72ff4f 100644 --- a/src/display/align/in/QuickSet.js +++ b/src/display/align/in/QuickSet.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/RightCenter.js b/src/display/align/in/RightCenter.js index 47f2711cc..6fcb55e73 100644 --- a/src/display/align/in/RightCenter.js +++ b/src/display/align/in/RightCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/TopCenter.js b/src/display/align/in/TopCenter.js index 2d8f734e7..90df2bc16 100644 --- a/src/display/align/in/TopCenter.js +++ b/src/display/align/in/TopCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/TopLeft.js b/src/display/align/in/TopLeft.js index 12246f906..a4f02403a 100644 --- a/src/display/align/in/TopLeft.js +++ b/src/display/align/in/TopLeft.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/TopRight.js b/src/display/align/in/TopRight.js index c544dd9e2..669240194 100644 --- a/src/display/align/in/TopRight.js +++ b/src/display/align/in/TopRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/in/index.js b/src/display/align/in/index.js index adb9a29cc..eb59fee5e 100644 --- a/src/display/align/in/index.js +++ b/src/display/align/in/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/index.js b/src/display/align/index.js index 61286cbe1..ecffd8bc9 100644 --- a/src/display/align/index.js +++ b/src/display/align/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/BottomCenter.js b/src/display/align/to/BottomCenter.js index 615d58b41..3db33fab0 100644 --- a/src/display/align/to/BottomCenter.js +++ b/src/display/align/to/BottomCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/BottomLeft.js b/src/display/align/to/BottomLeft.js index 0c8874a9b..63a066f56 100644 --- a/src/display/align/to/BottomLeft.js +++ b/src/display/align/to/BottomLeft.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/BottomRight.js b/src/display/align/to/BottomRight.js index b4969dbf6..a9fc330a8 100644 --- a/src/display/align/to/BottomRight.js +++ b/src/display/align/to/BottomRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/LeftBottom.js b/src/display/align/to/LeftBottom.js index 6991236f2..4b95e3219 100644 --- a/src/display/align/to/LeftBottom.js +++ b/src/display/align/to/LeftBottom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/LeftCenter.js b/src/display/align/to/LeftCenter.js index 09d05a101..46246fcce 100644 --- a/src/display/align/to/LeftCenter.js +++ b/src/display/align/to/LeftCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/LeftTop.js b/src/display/align/to/LeftTop.js index 8dafc8dbf..b26f7d486 100644 --- a/src/display/align/to/LeftTop.js +++ b/src/display/align/to/LeftTop.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/QuickSet.js b/src/display/align/to/QuickSet.js index 8278c5890..67ea0d22d 100644 --- a/src/display/align/to/QuickSet.js +++ b/src/display/align/to/QuickSet.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/RightBottom.js b/src/display/align/to/RightBottom.js index 7c6e2e708..93a995bfc 100644 --- a/src/display/align/to/RightBottom.js +++ b/src/display/align/to/RightBottom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/RightCenter.js b/src/display/align/to/RightCenter.js index 92d3babde..674d29e28 100644 --- a/src/display/align/to/RightCenter.js +++ b/src/display/align/to/RightCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/RightTop.js b/src/display/align/to/RightTop.js index 89bc01286..30e7a4fe5 100644 --- a/src/display/align/to/RightTop.js +++ b/src/display/align/to/RightTop.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/TopCenter.js b/src/display/align/to/TopCenter.js index 5b393b0dd..dec82f227 100644 --- a/src/display/align/to/TopCenter.js +++ b/src/display/align/to/TopCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/TopLeft.js b/src/display/align/to/TopLeft.js index 88662607e..c7a4a6490 100644 --- a/src/display/align/to/TopLeft.js +++ b/src/display/align/to/TopLeft.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/TopRight.js b/src/display/align/to/TopRight.js index 6019165ce..ef17a6c78 100644 --- a/src/display/align/to/TopRight.js +++ b/src/display/align/to/TopRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/align/to/index.js b/src/display/align/to/index.js index 8f7dffdc4..1338797bd 100644 --- a/src/display/align/to/index.js +++ b/src/display/align/to/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/CenterOn.js b/src/display/bounds/CenterOn.js index ea3820c75..da825da3c 100644 --- a/src/display/bounds/CenterOn.js +++ b/src/display/bounds/CenterOn.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetBottom.js b/src/display/bounds/GetBottom.js index e404b13ca..accc24b89 100644 --- a/src/display/bounds/GetBottom.js +++ b/src/display/bounds/GetBottom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetBounds.js b/src/display/bounds/GetBounds.js index eb04fb986..a7d060d32 100644 --- a/src/display/bounds/GetBounds.js +++ b/src/display/bounds/GetBounds.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetCenterX.js b/src/display/bounds/GetCenterX.js index 05b16d6bc..e088c3a5d 100644 --- a/src/display/bounds/GetCenterX.js +++ b/src/display/bounds/GetCenterX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetCenterY.js b/src/display/bounds/GetCenterY.js index 924538381..3fae4fee1 100644 --- a/src/display/bounds/GetCenterY.js +++ b/src/display/bounds/GetCenterY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetLeft.js b/src/display/bounds/GetLeft.js index c57e32766..b012dfff6 100644 --- a/src/display/bounds/GetLeft.js +++ b/src/display/bounds/GetLeft.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetOffsetX.js b/src/display/bounds/GetOffsetX.js index be57b14a9..6f84e7189 100644 --- a/src/display/bounds/GetOffsetX.js +++ b/src/display/bounds/GetOffsetX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetOffsetY.js b/src/display/bounds/GetOffsetY.js index a61eced71..138addc0a 100644 --- a/src/display/bounds/GetOffsetY.js +++ b/src/display/bounds/GetOffsetY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetRight.js b/src/display/bounds/GetRight.js index d38fcc6d6..036e8017b 100644 --- a/src/display/bounds/GetRight.js +++ b/src/display/bounds/GetRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/GetTop.js b/src/display/bounds/GetTop.js index db338d698..92d955df0 100644 --- a/src/display/bounds/GetTop.js +++ b/src/display/bounds/GetTop.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/SetBottom.js b/src/display/bounds/SetBottom.js index 643b5ad33..fee19ac93 100644 --- a/src/display/bounds/SetBottom.js +++ b/src/display/bounds/SetBottom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/SetCenterX.js b/src/display/bounds/SetCenterX.js index 7fd454aae..53c310d7c 100644 --- a/src/display/bounds/SetCenterX.js +++ b/src/display/bounds/SetCenterX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/SetCenterY.js b/src/display/bounds/SetCenterY.js index 4a225ec2b..1860e28ef 100644 --- a/src/display/bounds/SetCenterY.js +++ b/src/display/bounds/SetCenterY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/SetLeft.js b/src/display/bounds/SetLeft.js index 95fd46811..03290766d 100644 --- a/src/display/bounds/SetLeft.js +++ b/src/display/bounds/SetLeft.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/SetRight.js b/src/display/bounds/SetRight.js index cfd986750..58df8b4a6 100644 --- a/src/display/bounds/SetRight.js +++ b/src/display/bounds/SetRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/SetTop.js b/src/display/bounds/SetTop.js index ba9a755e8..c84cd8909 100644 --- a/src/display/bounds/SetTop.js +++ b/src/display/bounds/SetTop.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/bounds/index.js b/src/display/bounds/index.js index e42a3e9fb..0c40b7746 100644 --- a/src/display/bounds/index.js +++ b/src/display/bounds/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/canvas/CanvasInterpolation.js b/src/display/canvas/CanvasInterpolation.js index d38d31cc0..6f5a8b8eb 100644 --- a/src/display/canvas/CanvasInterpolation.js +++ b/src/display/canvas/CanvasInterpolation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/canvas/CanvasPool.js b/src/display/canvas/CanvasPool.js index 7b1ecc2c7..8273dca8c 100644 --- a/src/display/canvas/CanvasPool.js +++ b/src/display/canvas/CanvasPool.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/canvas/Smoothing.js b/src/display/canvas/Smoothing.js index 93af63077..94a77fef7 100644 --- a/src/display/canvas/Smoothing.js +++ b/src/display/canvas/Smoothing.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/canvas/TouchAction.js b/src/display/canvas/TouchAction.js index 24f97e86a..9ff74f0ca 100644 --- a/src/display/canvas/TouchAction.js +++ b/src/display/canvas/TouchAction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/canvas/UserSelect.js b/src/display/canvas/UserSelect.js index 20e6a93e2..0d1516c23 100644 --- a/src/display/canvas/UserSelect.js +++ b/src/display/canvas/UserSelect.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/canvas/index.js b/src/display/canvas/index.js index eb5d57096..b5c1c517f 100644 --- a/src/display/canvas/index.js +++ b/src/display/canvas/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,5 +15,5 @@ module.exports = { Smoothing: require('./Smoothing'), TouchAction: require('./TouchAction'), UserSelect: require('./UserSelect') - + }; diff --git a/src/display/color/Color.js b/src/display/color/Color.js index 57e883cf0..310bcfc45 100644 --- a/src/display/color/Color.js +++ b/src/display/color/Color.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/ColorSpectrum.js b/src/display/color/ColorSpectrum.js index 483d47bc7..80e4a8037 100644 --- a/src/display/color/ColorSpectrum.js +++ b/src/display/color/ColorSpectrum.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/ColorToRGBA.js b/src/display/color/ColorToRGBA.js index dfc3998f8..7fb9fe614 100644 --- a/src/display/color/ColorToRGBA.js +++ b/src/display/color/ColorToRGBA.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/ComponentToHex.js b/src/display/color/ComponentToHex.js index 97073c832..48c7a7653 100644 --- a/src/display/color/ComponentToHex.js +++ b/src/display/color/ComponentToHex.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/GetColor.js b/src/display/color/GetColor.js index 4029d6e93..a1b439f93 100644 --- a/src/display/color/GetColor.js +++ b/src/display/color/GetColor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/GetColor32.js b/src/display/color/GetColor32.js index 9329e658f..345b6e391 100644 --- a/src/display/color/GetColor32.js +++ b/src/display/color/GetColor32.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/HSLToColor.js b/src/display/color/HSLToColor.js index 1e64591ce..c89828ea7 100644 --- a/src/display/color/HSLToColor.js +++ b/src/display/color/HSLToColor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/HSVColorWheel.js b/src/display/color/HSVColorWheel.js index ca00c82b7..7ca4cd288 100644 --- a/src/display/color/HSVColorWheel.js +++ b/src/display/color/HSVColorWheel.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/HSVToRGB.js b/src/display/color/HSVToRGB.js index b3a2f0691..eb492c3f2 100644 --- a/src/display/color/HSVToRGB.js +++ b/src/display/color/HSVToRGB.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/HexStringToColor.js b/src/display/color/HexStringToColor.js index 0cabced5b..24aed3f25 100644 --- a/src/display/color/HexStringToColor.js +++ b/src/display/color/HexStringToColor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/HueToComponent.js b/src/display/color/HueToComponent.js index 0387429a2..646d345a8 100644 --- a/src/display/color/HueToComponent.js +++ b/src/display/color/HueToComponent.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/IntegerToColor.js b/src/display/color/IntegerToColor.js index 6d3d0d9c7..18937b115 100644 --- a/src/display/color/IntegerToColor.js +++ b/src/display/color/IntegerToColor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/IntegerToRGB.js b/src/display/color/IntegerToRGB.js index c9939cef3..76fb47901 100644 --- a/src/display/color/IntegerToRGB.js +++ b/src/display/color/IntegerToRGB.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/Interpolate.js b/src/display/color/Interpolate.js index 22b4d6f25..27d615bb1 100644 --- a/src/display/color/Interpolate.js +++ b/src/display/color/Interpolate.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/ObjectToColor.js b/src/display/color/ObjectToColor.js index 6a4bfe5ce..bb7135d74 100644 --- a/src/display/color/ObjectToColor.js +++ b/src/display/color/ObjectToColor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/RGBStringToColor.js b/src/display/color/RGBStringToColor.js index 5ef3c7d4c..bf660939a 100644 --- a/src/display/color/RGBStringToColor.js +++ b/src/display/color/RGBStringToColor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/RGBToHSV.js b/src/display/color/RGBToHSV.js index 800c0f07f..a2bb0f73f 100644 --- a/src/display/color/RGBToHSV.js +++ b/src/display/color/RGBToHSV.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/RGBToString.js b/src/display/color/RGBToString.js index 3bb124441..aad552df3 100644 --- a/src/display/color/RGBToString.js +++ b/src/display/color/RGBToString.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/RandomRGB.js b/src/display/color/RandomRGB.js index 8a4b3dccb..b38e5e8cb 100644 --- a/src/display/color/RandomRGB.js +++ b/src/display/color/RandomRGB.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/ValueToColor.js b/src/display/color/ValueToColor.js index 6d03b2169..1bc61ad31 100644 --- a/src/display/color/ValueToColor.js +++ b/src/display/color/ValueToColor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/color/index.js b/src/display/color/index.js index 9abcf48bd..4a492aadf 100644 --- a/src/display/color/index.js +++ b/src/display/color/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/index.js b/src/display/index.js index 9fe5ad227..a6fcd306a 100644 --- a/src/display/index.js +++ b/src/display/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/mask/BitmapMask.js b/src/display/mask/BitmapMask.js index 5a6ee84d6..e6ff90011 100644 --- a/src/display/mask/BitmapMask.js +++ b/src/display/mask/BitmapMask.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/mask/GeometryMask.js b/src/display/mask/GeometryMask.js index f58e64286..ed4c90862 100644 --- a/src/display/mask/GeometryMask.js +++ b/src/display/mask/GeometryMask.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/mask/index.js b/src/display/mask/index.js index eb3f26fd9..9576440e0 100644 --- a/src/display/mask/index.js +++ b/src/display/mask/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/display/shader/BaseShader.js b/src/display/shader/BaseShader.js index 469e7d869..476f9d4bb 100644 --- a/src/display/shader/BaseShader.js +++ b/src/display/shader/BaseShader.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/AddToDOM.js b/src/dom/AddToDOM.js index f3c468bb4..f5a31598c 100644 --- a/src/dom/AddToDOM.js +++ b/src/dom/AddToDOM.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/CreateDOMContainer.js b/src/dom/CreateDOMContainer.js index 30208f003..13e6cb46a 100644 --- a/src/dom/CreateDOMContainer.js +++ b/src/dom/CreateDOMContainer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/DOMContentLoaded.js b/src/dom/DOMContentLoaded.js index adb6ccf9b..c60d53a25 100644 --- a/src/dom/DOMContentLoaded.js +++ b/src/dom/DOMContentLoaded.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/GetInnerHeight.js b/src/dom/GetInnerHeight.js index cd9992014..c30fb2a69 100644 --- a/src/dom/GetInnerHeight.js +++ b/src/dom/GetInnerHeight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -26,7 +26,7 @@ var GetInnerHeight = function (iOS) var axis = Math.abs(window.orientation); var size = { w: 0, h: 0 }; - + var ruler = document.createElement('div'); ruler.setAttribute('style', 'position: fixed; height: 100vh; width: 0; top: 0'); diff --git a/src/dom/GetScreenOrientation.js b/src/dom/GetScreenOrientation.js index b723948cd..37f47c069 100644 --- a/src/dom/GetScreenOrientation.js +++ b/src/dom/GetScreenOrientation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/GetTarget.js b/src/dom/GetTarget.js index 4dbeab10e..fa3939d96 100644 --- a/src/dom/GetTarget.js +++ b/src/dom/GetTarget.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/ParseXML.js b/src/dom/ParseXML.js index 275a8c9ed..df5c92ee5 100644 --- a/src/dom/ParseXML.js +++ b/src/dom/ParseXML.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/RemoveFromDOM.js b/src/dom/RemoveFromDOM.js index 4f8534d4e..3a1cc86ae 100644 --- a/src/dom/RemoveFromDOM.js +++ b/src/dom/RemoveFromDOM.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/RequestAnimationFrame.js b/src/dom/RequestAnimationFrame.js index f6655a3af..962d6b35d 100644 --- a/src/dom/RequestAnimationFrame.js +++ b/src/dom/RequestAnimationFrame.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/dom/index.js b/src/dom/index.js index 7284855f2..a23fc7440 100644 --- a/src/dom/index.js +++ b/src/dom/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/events/EventEmitter.js b/src/events/EventEmitter.js index 8e16a56e9..d9a487dd8 100644 --- a/src/events/EventEmitter.js +++ b/src/events/EventEmitter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/events/index.js b/src/events/index.js index dd19e5cdd..9ae74769e 100644 --- a/src/events/index.js +++ b/src/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/BuildGameObject.js b/src/gameobjects/BuildGameObject.js index e86b6d44f..380066d0a 100644 --- a/src/gameobjects/BuildGameObject.js +++ b/src/gameobjects/BuildGameObject.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/BuildGameObjectAnimation.js b/src/gameobjects/BuildGameObjectAnimation.js index aee8b1007..a71119f8b 100644 --- a/src/gameobjects/BuildGameObjectAnimation.js +++ b/src/gameobjects/BuildGameObjectAnimation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/DisplayList.js b/src/gameobjects/DisplayList.js index c0542094a..f83c2eaf0 100644 --- a/src/gameobjects/DisplayList.js +++ b/src/gameobjects/DisplayList.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -231,15 +231,11 @@ var DisplayList = new Class({ { var list = this.list; - var i = list.length; - - while (i--) + while (list.length) { - list[i].destroy(true); + list[0].destroy(true); } - list.length = 0; - this.events.off(SceneEvents.SHUTDOWN, this.shutdown, this); }, diff --git a/src/gameobjects/GameObject.js b/src/gameobjects/GameObject.js index 7474fb1bd..e808ece47 100644 --- a/src/gameobjects/GameObject.js +++ b/src/gameobjects/GameObject.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/GameObjectCreator.js b/src/gameobjects/GameObjectCreator.js index 05d12e20f..f4fb6e2a5 100644 --- a/src/gameobjects/GameObjectCreator.js +++ b/src/gameobjects/GameObjectCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/GameObjectFactory.js b/src/gameobjects/GameObjectFactory.js index 943bd6a1a..c5eb9c8a5 100644 --- a/src/gameobjects/GameObjectFactory.js +++ b/src/gameobjects/GameObjectFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/GetCalcMatrix.js b/src/gameobjects/GetCalcMatrix.js index be5500b72..80c416552 100644 --- a/src/gameobjects/GetCalcMatrix.js +++ b/src/gameobjects/GetCalcMatrix.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/UpdateList.js b/src/gameobjects/UpdateList.js index a9a4bb9af..0e11c5a3d 100644 --- a/src/gameobjects/UpdateList.js +++ b/src/gameobjects/UpdateList.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/BatchChar.js b/src/gameobjects/bitmaptext/BatchChar.js index 8f3f18d6d..a2b86d79d 100644 --- a/src/gameobjects/bitmaptext/BatchChar.js +++ b/src/gameobjects/bitmaptext/BatchChar.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/GetBitmapTextSize.js b/src/gameobjects/bitmaptext/GetBitmapTextSize.js index 57d743bbb..77340aa54 100644 --- a/src/gameobjects/bitmaptext/GetBitmapTextSize.js +++ b/src/gameobjects/bitmaptext/GetBitmapTextSize.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -386,7 +386,7 @@ var GetBitmapTextSize = function (src, round, updateOrigin, out) i: charIndex, char: text[i], code: charCode, - x: (glyph.xOffset + xAdvance) * scale, + x: (glyph.xOffset + x) * scale, y: (glyph.yOffset + yAdvance) * scale, w: glyph.width * scale, h: glyph.height * scale, @@ -397,7 +397,7 @@ var GetBitmapTextSize = function (src, round, updateOrigin, out) glyph: glyph }); - xAdvance += glyph.xAdvance + letterSpacing; + xAdvance += glyph.xAdvance + letterSpacing + ((kerningOffset !== undefined) ? kerningOffset : 0); lastGlyph = glyph; lastCharCode = charCode; currentLineWidth = gw * scale; diff --git a/src/gameobjects/bitmaptext/ParseFromAtlas.js b/src/gameobjects/bitmaptext/ParseFromAtlas.js index 7950f05a9..a7dd1305a 100644 --- a/src/gameobjects/bitmaptext/ParseFromAtlas.js +++ b/src/gameobjects/bitmaptext/ParseFromAtlas.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/ParseRetroFont.js b/src/gameobjects/bitmaptext/ParseRetroFont.js index ea18c1e44..7590bb26f 100644 --- a/src/gameobjects/bitmaptext/ParseRetroFont.js +++ b/src/gameobjects/bitmaptext/ParseRetroFont.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/ParseXMLBitmapFont.js b/src/gameobjects/bitmaptext/ParseXMLBitmapFont.js index 4cf067f01..ee5097a8f 100644 --- a/src/gameobjects/bitmaptext/ParseXMLBitmapFont.js +++ b/src/gameobjects/bitmaptext/ParseXMLBitmapFont.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/RetroFont.js b/src/gameobjects/bitmaptext/RetroFont.js index 45d2a5f75..8e2339445 100644 --- a/src/gameobjects/bitmaptext/RetroFont.js +++ b/src/gameobjects/bitmaptext/RetroFont.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/const.js b/src/gameobjects/bitmaptext/const.js index ce02e7731..aef31d6b3 100644 --- a/src/gameobjects/bitmaptext/const.js +++ b/src/gameobjects/bitmaptext/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js index d90d445f4..471d89d85 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCanvasRenderer.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCanvasRenderer.js index 3819b9e87..a3cfbb862 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCanvasRenderer.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCreator.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCreator.js index ce66f9edf..cb042ddcb 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCreator.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextFactory.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextFactory.js index efc3083ec..a45bfa57c 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextFactory.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js index 498350a92..62bf3ba11 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js index c845de19a..dfd81ac9f 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/static/BitmapText.js b/src/gameobjects/bitmaptext/static/BitmapText.js index 0aa97f560..fa0429bf8 100644 --- a/src/gameobjects/bitmaptext/static/BitmapText.js +++ b/src/gameobjects/bitmaptext/static/BitmapText.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/static/BitmapTextCanvasRenderer.js b/src/gameobjects/bitmaptext/static/BitmapTextCanvasRenderer.js index 97c29c6d5..c7b786a60 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextCanvasRenderer.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/static/BitmapTextCreator.js b/src/gameobjects/bitmaptext/static/BitmapTextCreator.js index 79ce10c85..59a704721 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextCreator.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/static/BitmapTextFactory.js b/src/gameobjects/bitmaptext/static/BitmapTextFactory.js index 70ffb49ca..e4ef76181 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextFactory.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/static/BitmapTextRender.js b/src/gameobjects/bitmaptext/static/BitmapTextRender.js index 01daa7969..ae9e3ee81 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextRender.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js b/src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js index bb9b916ad..feee5011b 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/bitmaptext/typedefs/index.js b/src/gameobjects/bitmaptext/typedefs/index.js index b45c35b32..43e31d67b 100644 --- a/src/gameobjects/bitmaptext/typedefs/index.js +++ b/src/gameobjects/bitmaptext/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/blitter/Blitter.js b/src/gameobjects/blitter/Blitter.js index 9bfad9e08..f98d78d36 100644 --- a/src/gameobjects/blitter/Blitter.js +++ b/src/gameobjects/blitter/Blitter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/blitter/BlitterCanvasRenderer.js b/src/gameobjects/blitter/BlitterCanvasRenderer.js index 444e843e1..6047ea564 100644 --- a/src/gameobjects/blitter/BlitterCanvasRenderer.js +++ b/src/gameobjects/blitter/BlitterCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/blitter/BlitterCreator.js b/src/gameobjects/blitter/BlitterCreator.js index 68d8b979c..c89a7c8cd 100644 --- a/src/gameobjects/blitter/BlitterCreator.js +++ b/src/gameobjects/blitter/BlitterCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/blitter/BlitterFactory.js b/src/gameobjects/blitter/BlitterFactory.js index ed6702aa8..974ef18a2 100644 --- a/src/gameobjects/blitter/BlitterFactory.js +++ b/src/gameobjects/blitter/BlitterFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/blitter/BlitterRender.js b/src/gameobjects/blitter/BlitterRender.js index 7e8e0ace9..3520cb119 100644 --- a/src/gameobjects/blitter/BlitterRender.js +++ b/src/gameobjects/blitter/BlitterRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/blitter/BlitterWebGLRenderer.js b/src/gameobjects/blitter/BlitterWebGLRenderer.js index 1299bd1c9..a14db88f6 100644 --- a/src/gameobjects/blitter/BlitterWebGLRenderer.js +++ b/src/gameobjects/blitter/BlitterWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/blitter/Bob.js b/src/gameobjects/blitter/Bob.js index 24ef3ba84..277c3df4c 100644 --- a/src/gameobjects/blitter/Bob.js +++ b/src/gameobjects/blitter/Bob.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/Alpha.js b/src/gameobjects/components/Alpha.js index 6c48edcdb..fd1d836c7 100644 --- a/src/gameobjects/components/Alpha.js +++ b/src/gameobjects/components/Alpha.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/AlphaSingle.js b/src/gameobjects/components/AlphaSingle.js index 8aaac608b..ab993e6b8 100644 --- a/src/gameobjects/components/AlphaSingle.js +++ b/src/gameobjects/components/AlphaSingle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/BlendMode.js b/src/gameobjects/components/BlendMode.js index 01a6ac7f7..ce6d312df 100644 --- a/src/gameobjects/components/BlendMode.js +++ b/src/gameobjects/components/BlendMode.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -18,7 +18,7 @@ var BlendMode = { /** * Private internal value. Holds the current blend mode. - * + * * @name Phaser.GameObjects.Components.BlendMode#_blendMode * @type {number} * @private diff --git a/src/gameobjects/components/ComputedSize.js b/src/gameobjects/components/ComputedSize.js index 909bffd29..bf24acbfc 100644 --- a/src/gameobjects/components/ComputedSize.js +++ b/src/gameobjects/components/ComputedSize.js @@ -1,13 +1,13 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for calculating and setting the size of a non-Frame based Game Object. * Should be applied as a mixin and not used directly. - * + * * @namespace Phaser.GameObjects.Components.ComputedSize * @since 3.0.0 */ @@ -16,11 +16,11 @@ var ComputedSize = { /** * The native (un-scaled) width of this Game Object. - * + * * Changing this value will not change the size that the Game Object is rendered in-game. * For that you need to either set the scale of the Game Object (`setScale`) or use * the `displayWidth` property. - * + * * @name Phaser.GameObjects.Components.ComputedSize#width * @type {number} * @since 3.0.0 @@ -29,11 +29,11 @@ var ComputedSize = { /** * The native (un-scaled) height of this Game Object. - * + * * Changing this value will not change the size that the Game Object is rendered in-game. * For that you need to either set the scale of the Game Object (`setScale`) or use * the `displayHeight` property. - * + * * @name Phaser.GameObjects.Components.ComputedSize#height * @type {number} * @since 3.0.0 @@ -42,11 +42,11 @@ var ComputedSize = { /** * The displayed width of this Game Object. - * + * * This value takes into account the scale factor. - * + * * Setting this value will adjust the Game Object's scale property. - * + * * @name Phaser.GameObjects.Components.ComputedSize#displayWidth * @type {number} * @since 3.0.0 @@ -67,11 +67,11 @@ var ComputedSize = { /** * The displayed height of this Game Object. - * + * * This value takes into account the scale factor. - * + * * Setting this value will adjust the Game Object's scale property. - * + * * @name Phaser.GameObjects.Components.ComputedSize#displayHeight * @type {number} * @since 3.0.0 @@ -92,21 +92,21 @@ var ComputedSize = { /** * Sets the internal size of this Game Object, as used for frame or physics body creation. - * + * * This will not change the size that the Game Object is rendered in-game. * For that you need to either set the scale of the Game Object (`setScale`) or call the * `setDisplaySize` method, which is the same thing as changing the scale but allows you * to do so by giving pixel values. - * + * * If you have enabled this Game Object for input, changing the size will _not_ change the * size of the hit area. To do this you should adjust the `input.hitArea` object directly. - * + * * @method Phaser.GameObjects.Components.ComputedSize#setSize * @since 3.4.0 * * @param {number} width - The width of this Game Object. * @param {number} height - The height of this Game Object. - * + * * @return {this} This Game Object instance. */ setSize: function (width, height) @@ -119,15 +119,15 @@ var ComputedSize = { /** * Sets the display size of this Game Object. - * + * * Calling this will adjust the scale. - * + * * @method Phaser.GameObjects.Components.ComputedSize#setDisplaySize * @since 3.4.0 * * @param {number} width - The width of this Game Object. * @param {number} height - The height of this Game Object. - * + * * @return {this} This Game Object instance. */ setDisplaySize: function (width, height) diff --git a/src/gameobjects/components/Crop.js b/src/gameobjects/components/Crop.js index 18d858aab..632f3be71 100644 --- a/src/gameobjects/components/Crop.js +++ b/src/gameobjects/components/Crop.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -44,24 +44,24 @@ var Crop = { /** * Applies a crop to a texture based Game Object, such as a Sprite or Image. - * + * * The crop is a rectangle that limits the area of the texture frame that is visible during rendering. - * + * * Cropping a Game Object does not change its size, dimensions, physics body or hit area, it just * changes what is shown when rendered. - * + * * The crop coordinates are relative to the texture frame, not the Game Object, meaning 0 x 0 is the top-left. - * + * * Therefore, if you had a Game Object that had an 800x600 sized texture, and you wanted to show only the left * half of it, you could call `setCrop(0, 0, 400, 600)`. - * + * * It is also scaled to match the Game Object scale automatically. Therefore a crop rect of 100x50 would crop * an area of 200x100 when applied to a Game Object that had a scale factor of 2. - * + * * You can either pass in numeric values directly, or you can provide a single Rectangle object as the first argument. - * + * * Call this method with no arguments at all to reset the crop, or toggle the property `isCropped` to `false`. - * + * * You should do this if the crop rectangle becomes the same size as the frame itself, as it will allow * the renderer to skip several internal calculations. * @@ -106,7 +106,7 @@ var Crop = { * @method Phaser.GameObjects.Components.Crop#resetCropObject * @private * @since 3.12.0 - * + * * @return {object} The crop object. */ resetCropObject: function () diff --git a/src/gameobjects/components/Depth.js b/src/gameobjects/components/Depth.js index c59225c11..e36716c0a 100644 --- a/src/gameobjects/components/Depth.js +++ b/src/gameobjects/components/Depth.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/FX.js b/src/gameobjects/components/FX.js index 1c9a4740e..e01d9703a 100644 --- a/src/gameobjects/components/FX.js +++ b/src/gameobjects/components/FX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/Flip.js b/src/gameobjects/components/Flip.js index 14441493d..577dc4931 100644 --- a/src/gameobjects/components/Flip.js +++ b/src/gameobjects/components/Flip.js @@ -1,13 +1,13 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for visually flipping a Game Object. * Should be applied as a mixin and not used directly. - * + * * @namespace Phaser.GameObjects.Components.Flip * @since 3.0.0 */ @@ -16,11 +16,11 @@ var Flip = { /** * The horizontally flipped state of the Game Object. - * + * * A Game Object that is flipped horizontally will render inversed on the horizontal axis. * Flipping always takes place from the middle of the texture and does not impact the scale value. * If this Game Object has a physics body, it will not change the body. This is a rendering toggle only. - * + * * @name Phaser.GameObjects.Components.Flip#flipX * @type {boolean} * @default false @@ -30,11 +30,11 @@ var Flip = { /** * The vertically flipped state of the Game Object. - * + * * A Game Object that is flipped vertically will render inversed on the vertical axis (i.e. upside down) * Flipping always takes place from the middle of the texture and does not impact the scale value. * If this Game Object has a physics body, it will not change the body. This is a rendering toggle only. - * + * * @name Phaser.GameObjects.Components.Flip#flipY * @type {boolean} * @default false @@ -44,14 +44,14 @@ var Flip = { /** * Toggles the horizontal flipped state of this Game Object. - * + * * A Game Object that is flipped horizontally will render inversed on the horizontal axis. * Flipping always takes place from the middle of the texture and does not impact the scale value. * If this Game Object has a physics body, it will not change the body. This is a rendering toggle only. - * + * * @method Phaser.GameObjects.Components.Flip#toggleFlipX * @since 3.0.0 - * + * * @return {this} This Game Object instance. */ toggleFlipX: function () @@ -63,10 +63,10 @@ var Flip = { /** * Toggles the vertical flipped state of this Game Object. - * + * * @method Phaser.GameObjects.Components.Flip#toggleFlipY * @since 3.0.0 - * + * * @return {this} This Game Object instance. */ toggleFlipY: function () @@ -78,16 +78,16 @@ var Flip = { /** * Sets the horizontal flipped state of this Game Object. - * + * * A Game Object that is flipped horizontally will render inversed on the horizontal axis. * Flipping always takes place from the middle of the texture and does not impact the scale value. * If this Game Object has a physics body, it will not change the body. This is a rendering toggle only. - * + * * @method Phaser.GameObjects.Components.Flip#setFlipX * @since 3.0.0 * * @param {boolean} value - The flipped state. `false` for no flip, or `true` to be flipped. - * + * * @return {this} This Game Object instance. */ setFlipX: function (value) @@ -99,12 +99,12 @@ var Flip = { /** * Sets the vertical flipped state of this Game Object. - * + * * @method Phaser.GameObjects.Components.Flip#setFlipY * @since 3.0.0 * * @param {boolean} value - The flipped state. `false` for no flip, or `true` to be flipped. - * + * * @return {this} This Game Object instance. */ setFlipY: function (value) @@ -116,17 +116,17 @@ var Flip = { /** * Sets the horizontal and vertical flipped state of this Game Object. - * + * * A Game Object that is flipped will render inversed on the flipped axis. * Flipping always takes place from the middle of the texture and does not impact the scale value. * If this Game Object has a physics body, it will not change the body. This is a rendering toggle only. - * + * * @method Phaser.GameObjects.Components.Flip#setFlip * @since 3.0.0 * * @param {boolean} x - The horizontal flipped state. `false` for no flip, or `true` to be flipped. * @param {boolean} y - The horizontal flipped state. `false` for no flip, or `true` to be flipped. - * + * * @return {this} This Game Object instance. */ setFlip: function (x, y) @@ -139,7 +139,7 @@ var Flip = { /** * Resets the horizontal and vertical flipped state of this Game Object back to their default un-flipped state. - * + * * @method Phaser.GameObjects.Components.Flip#resetFlip * @since 3.0.0 * diff --git a/src/gameobjects/components/GetBounds.js b/src/gameobjects/components/GetBounds.js index 89bbc3661..ac5d8b7c3 100644 --- a/src/gameobjects/components/GetBounds.js +++ b/src/gameobjects/components/GetBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -287,7 +287,7 @@ var GetBounds = { var TLx, TLy, TRx, TRy, BLx, BLy, BRx, BRy; - // Instead of doing a check if parent container is + // Instead of doing a check if parent container is // defined per corner we only do it once. if (this.parentContainer) { diff --git a/src/gameobjects/components/Mask.js b/src/gameobjects/components/Mask.js index 2e16b2a75..f77d66b61 100644 --- a/src/gameobjects/components/Mask.js +++ b/src/gameobjects/components/Mask.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/Origin.js b/src/gameobjects/components/Origin.js index 6f724ca91..b7c116add 100644 --- a/src/gameobjects/components/Origin.js +++ b/src/gameobjects/components/Origin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/PathFollower.js b/src/gameobjects/components/PathFollower.js index 87380e6d2..b587368db 100644 --- a/src/gameobjects/components/PathFollower.js +++ b/src/gameobjects/components/PathFollower.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/Pipeline.js b/src/gameobjects/components/Pipeline.js index 5cc33018f..e26e5e66d 100644 --- a/src/gameobjects/components/Pipeline.js +++ b/src/gameobjects/components/Pipeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/ScrollFactor.js b/src/gameobjects/components/ScrollFactor.js index 396862727..ff519c7dd 100644 --- a/src/gameobjects/components/ScrollFactor.js +++ b/src/gameobjects/components/ScrollFactor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -24,7 +24,7 @@ var ScrollFactor = { * A value of 1 means it will move exactly in sync with a camera. * A value of 0 means it will not move at all, even if the camera moves. * Other values control the degree to which the camera movement is mapped to this Game Object. - * + * * Please be aware that scroll factor values other than 1 are not taken in to consideration when * calculating physics collisions. Bodies always collide based on their world position, but changing * the scroll factor is a visual adjustment to where the textures are rendered, which can offset @@ -48,7 +48,7 @@ var ScrollFactor = { * A value of 1 means it will move exactly in sync with a camera. * A value of 0 means it will not move at all, even if the camera moves. * Other values control the degree to which the camera movement is mapped to this Game Object. - * + * * Please be aware that scroll factor values other than 1 are not taken in to consideration when * calculating physics collisions. Bodies always collide based on their world position, but changing * the scroll factor is a visual adjustment to where the textures are rendered, which can offset @@ -72,7 +72,7 @@ var ScrollFactor = { * A value of 1 means it will move exactly in sync with a camera. * A value of 0 means it will not move at all, even if the camera moves. * Other values control the degree to which the camera movement is mapped to this Game Object. - * + * * Please be aware that scroll factor values other than 1 are not taken in to consideration when * calculating physics collisions. Bodies always collide based on their world position, but changing * the scroll factor is a visual adjustment to where the textures are rendered, which can offset diff --git a/src/gameobjects/components/Size.js b/src/gameobjects/components/Size.js index 3f8aefb56..33dcd107c 100644 --- a/src/gameobjects/components/Size.js +++ b/src/gameobjects/components/Size.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Provides methods used for getting and setting the size of a Game Object. - * + * * @namespace Phaser.GameObjects.Components.Size * @since 3.0.0 */ @@ -15,7 +15,7 @@ var Size = { /** * A property indicating that a Game Object has this component. - * + * * @name Phaser.GameObjects.Components.Size#_sizeComponent * @type {boolean} * @private @@ -26,11 +26,11 @@ var Size = { /** * The native (un-scaled) width of this Game Object. - * + * * Changing this value will not change the size that the Game Object is rendered in-game. * For that you need to either set the scale of the Game Object (`setScale`) or use * the `displayWidth` property. - * + * * @name Phaser.GameObjects.Components.Size#width * @type {number} * @since 3.0.0 @@ -39,11 +39,11 @@ var Size = { /** * The native (un-scaled) height of this Game Object. - * + * * Changing this value will not change the size that the Game Object is rendered in-game. * For that you need to either set the scale of the Game Object (`setScale`) or use * the `displayHeight` property. - * + * * @name Phaser.GameObjects.Components.Size#height * @type {number} * @since 3.0.0 @@ -52,11 +52,11 @@ var Size = { /** * The displayed width of this Game Object. - * + * * This value takes into account the scale factor. - * + * * Setting this value will adjust the Game Object's scale property. - * + * * @name Phaser.GameObjects.Components.Size#displayWidth * @type {number} * @since 3.0.0 @@ -77,11 +77,11 @@ var Size = { /** * The displayed height of this Game Object. - * + * * This value takes into account the scale factor. - * + * * Setting this value will adjust the Game Object's scale property. - * + * * @name Phaser.GameObjects.Components.Size#displayHeight * @type {number} * @since 3.0.0 @@ -102,20 +102,20 @@ var Size = { /** * Sets the size of this Game Object to be that of the given Frame. - * + * * This will not change the size that the Game Object is rendered in-game. * For that you need to either set the scale of the Game Object (`setScale`) or call the * `setDisplaySize` method, which is the same thing as changing the scale but allows you * to do so by giving pixel values. - * + * * If you have enabled this Game Object for input, changing the size will _not_ change the * size of the hit area. To do this you should adjust the `input.hitArea` object directly. - * + * * @method Phaser.GameObjects.Components.Size#setSizeToFrame * @since 3.0.0 * * @param {Phaser.Textures.Frame} frame - The frame to base the size of this Game Object on. - * + * * @return {this} This Game Object instance. */ setSizeToFrame: function (frame) @@ -130,21 +130,21 @@ var Size = { /** * Sets the internal size of this Game Object, as used for frame or physics body creation. - * + * * This will not change the size that the Game Object is rendered in-game. * For that you need to either set the scale of the Game Object (`setScale`) or call the * `setDisplaySize` method, which is the same thing as changing the scale but allows you * to do so by giving pixel values. - * + * * If you have enabled this Game Object for input, changing the size will _not_ change the * size of the hit area. To do this you should adjust the `input.hitArea` object directly. - * + * * @method Phaser.GameObjects.Components.Size#setSize * @since 3.0.0 * * @param {number} width - The width of this Game Object. * @param {number} height - The height of this Game Object. - * + * * @return {this} This Game Object instance. */ setSize: function (width, height) @@ -157,15 +157,15 @@ var Size = { /** * Sets the display size of this Game Object. - * + * * Calling this will adjust the scale. - * + * * @method Phaser.GameObjects.Components.Size#setDisplaySize * @since 3.0.0 * * @param {number} width - The width of this Game Object. * @param {number} height - The height of this Game Object. - * + * * @return {this} This Game Object instance. */ setDisplaySize: function (width, height) diff --git a/src/gameobjects/components/Texture.js b/src/gameobjects/components/Texture.js index 983f2489e..47d07133c 100644 --- a/src/gameobjects/components/Texture.js +++ b/src/gameobjects/components/Texture.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/TextureCrop.js b/src/gameobjects/components/TextureCrop.js index bfc5e97da..1dc340aac 100644 --- a/src/gameobjects/components/TextureCrop.js +++ b/src/gameobjects/components/TextureCrop.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/Tint.js b/src/gameobjects/components/Tint.js index cdcb46ad6..090e70c66 100644 --- a/src/gameobjects/components/Tint.js +++ b/src/gameobjects/components/Tint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/ToJSON.js b/src/gameobjects/components/ToJSON.js index 3081afff0..3ddf69f3a 100644 --- a/src/gameobjects/components/ToJSON.js +++ b/src/gameobjects/components/ToJSON.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/Transform.js b/src/gameobjects/components/Transform.js index a7088455d..72ab55059 100644 --- a/src/gameobjects/components/Transform.js +++ b/src/gameobjects/components/Transform.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/TransformMatrix.js b/src/gameobjects/components/TransformMatrix.js index 7c55a9e92..a7322de98 100644 --- a/src/gameobjects/components/TransformMatrix.js +++ b/src/gameobjects/components/TransformMatrix.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/components/Visible.js b/src/gameobjects/components/Visible.js index 6ee626d00..ffd0f61d7 100644 --- a/src/gameobjects/components/Visible.js +++ b/src/gameobjects/components/Visible.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -10,7 +10,7 @@ var _FLAG = 1; // 0001 /** * Provides methods used for setting the visibility of a Game Object. * Should be applied as a mixin and not used directly. - * + * * @namespace Phaser.GameObjects.Components.Visible * @since 3.0.0 */ @@ -19,7 +19,7 @@ var Visible = { /** * Private internal value. Holds the visible value. - * + * * @name Phaser.GameObjects.Components.Visible#_visible * @type {boolean} * @private @@ -30,9 +30,9 @@ var Visible = { /** * The visible state of the Game Object. - * + * * An invisible Game Object will skip rendering, but will still process update logic. - * + * * @name Phaser.GameObjects.Components.Visible#visible * @type {boolean} * @since 3.0.0 @@ -62,14 +62,14 @@ var Visible = { /** * Sets the visibility of this Game Object. - * + * * An invisible Game Object will skip rendering, but will still process update logic. * * @method Phaser.GameObjects.Components.Visible#setVisible * @since 3.0.0 * * @param {boolean} value - The visible state of the Game Object. - * + * * @return {this} This Game Object instance. */ setVisible: function (value) diff --git a/src/gameobjects/components/index.js b/src/gameobjects/components/index.js index ab46063df..71a6b059a 100644 --- a/src/gameobjects/components/index.js +++ b/src/gameobjects/components/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/container/Container.js b/src/gameobjects/container/Container.js index e6dcffeaf..473e8d95d 100644 --- a/src/gameobjects/container/Container.js +++ b/src/gameobjects/container/Container.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/container/ContainerCanvasRenderer.js b/src/gameobjects/container/ContainerCanvasRenderer.js index 62f4b2727..32dd1ef06 100644 --- a/src/gameobjects/container/ContainerCanvasRenderer.js +++ b/src/gameobjects/container/ContainerCanvasRenderer.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -86,7 +86,7 @@ var ContainerCanvasRenderer = function (renderer, container, camera, parentMatri child.setAlpha(childAlpha * alpha); // Render - child.renderCanvas(renderer, child, camera, transformMatrix); + child.renderCanvas(renderer, child, camera, transformMatrix, container); // Restore original values child.setAlpha(childAlpha); diff --git a/src/gameobjects/container/ContainerCreator.js b/src/gameobjects/container/ContainerCreator.js index 8c2e42304..9937f8233 100644 --- a/src/gameobjects/container/ContainerCreator.js +++ b/src/gameobjects/container/ContainerCreator.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/container/ContainerFactory.js b/src/gameobjects/container/ContainerFactory.js index 621fdb7e7..43f2d0718 100644 --- a/src/gameobjects/container/ContainerFactory.js +++ b/src/gameobjects/container/ContainerFactory.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/container/ContainerRender.js b/src/gameobjects/container/ContainerRender.js index 2d6709041..24b9be6cd 100644 --- a/src/gameobjects/container/ContainerRender.js +++ b/src/gameobjects/container/ContainerRender.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/container/ContainerWebGLRenderer.js b/src/gameobjects/container/ContainerWebGLRenderer.js index aac3f786f..c9961f3d7 100644 --- a/src/gameobjects/container/ContainerWebGLRenderer.js +++ b/src/gameobjects/container/ContainerWebGLRenderer.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -124,7 +124,7 @@ var ContainerWebGLRenderer = function (renderer, container, camera, parentMatrix child.setAlpha(childAlphaTopLeft * alpha, childAlphaTopRight * alpha, childAlphaBottomLeft * alpha, childAlphaBottomRight * alpha); // Render - child.renderWebGL(renderer, child, camera, transformMatrix); + child.renderWebGL(renderer, child, camera, transformMatrix, container); // Restore original values diff --git a/src/gameobjects/container/typedefs/index.js b/src/gameobjects/container/typedefs/index.js index 5ec4169f8..194642292 100644 --- a/src/gameobjects/container/typedefs/index.js +++ b/src/gameobjects/container/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/domelement/CSSBlendModes.js b/src/gameobjects/domelement/CSSBlendModes.js index e7612ca81..b07b7da07 100644 --- a/src/gameobjects/domelement/CSSBlendModes.js +++ b/src/gameobjects/domelement/CSSBlendModes.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/domelement/DOMElement.js b/src/gameobjects/domelement/DOMElement.js index 15bea5522..d907cdccf 100644 --- a/src/gameobjects/domelement/DOMElement.js +++ b/src/gameobjects/domelement/DOMElement.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/domelement/DOMElementCSSRenderer.js b/src/gameobjects/domelement/DOMElementCSSRenderer.js index 4be003394..de6700c3b 100644 --- a/src/gameobjects/domelement/DOMElementCSSRenderer.js +++ b/src/gameobjects/domelement/DOMElementCSSRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/domelement/DOMElementFactory.js b/src/gameobjects/domelement/DOMElementFactory.js index 8dea9e48a..4b0144389 100644 --- a/src/gameobjects/domelement/DOMElementFactory.js +++ b/src/gameobjects/domelement/DOMElementFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/domelement/DOMElementRender.js b/src/gameobjects/domelement/DOMElementRender.js index 0c2bfd4d7..09d4493cc 100644 --- a/src/gameobjects/domelement/DOMElementRender.js +++ b/src/gameobjects/domelement/DOMElementRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/events/ADDED_TO_SCENE_EVENT.js b/src/gameobjects/events/ADDED_TO_SCENE_EVENT.js index 345dd4196..bd8354135 100644 --- a/src/gameobjects/events/ADDED_TO_SCENE_EVENT.js +++ b/src/gameobjects/events/ADDED_TO_SCENE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/events/DESTROY_EVENT.js b/src/gameobjects/events/DESTROY_EVENT.js index c78196f00..5d4f24b17 100644 --- a/src/gameobjects/events/DESTROY_EVENT.js +++ b/src/gameobjects/events/DESTROY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/events/REMOVED_FROM_SCENE_EVENT.js b/src/gameobjects/events/REMOVED_FROM_SCENE_EVENT.js index b1af9779e..d6a538cd0 100644 --- a/src/gameobjects/events/REMOVED_FROM_SCENE_EVENT.js +++ b/src/gameobjects/events/REMOVED_FROM_SCENE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/events/VIDEO_COMPLETE_EVENT.js b/src/gameobjects/events/VIDEO_COMPLETE_EVENT.js index 13ac38f59..c912b2e5a 100644 --- a/src/gameobjects/events/VIDEO_COMPLETE_EVENT.js +++ b/src/gameobjects/events/VIDEO_COMPLETE_EVENT.js @@ -1,26 +1,26 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Complete Event. - * + * * This event is dispatched when a Video finishes playback by reaching the end of its duration. It * is also dispatched if a video marker sequence is being played and reaches the end. - * + * * Note that not all videos can fire this event. Live streams, for example, have no fixed duration, * so never technically 'complete'. - * + * * If a video is stopped from playback, via the `Video.stop` method, it will emit the * `VIDEO_STOP` event instead of this one. - * + * * Listen for it from a Video Game Object instance using `Video.on('complete', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_COMPLETE * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which completed playback. */ module.exports = 'complete'; diff --git a/src/gameobjects/events/VIDEO_CREATED_EVENT.js b/src/gameobjects/events/VIDEO_CREATED_EVENT.js index 3b09272c6..56b9e9abb 100644 --- a/src/gameobjects/events/VIDEO_CREATED_EVENT.js +++ b/src/gameobjects/events/VIDEO_CREATED_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Created Event. - * + * * This event is dispatched when the texture for a Video has been created. This happens * when enough of the video source has been loaded that the browser is able to render a * frame from it. - * + * * Listen for it from a Video Game Object instance using `Video.on('created', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_CREATED * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which raised the event. * @param {number} width - The width of the video. * @param {number} height - The height of the video. diff --git a/src/gameobjects/events/VIDEO_ERROR_EVENT.js b/src/gameobjects/events/VIDEO_ERROR_EVENT.js index 934a844b3..e9b07ad6a 100644 --- a/src/gameobjects/events/VIDEO_ERROR_EVENT.js +++ b/src/gameobjects/events/VIDEO_ERROR_EVENT.js @@ -1,19 +1,19 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Error Event. - * + * * This event is dispatched when a Video tries to play a source that does not exist, or is the wrong file type. - * + * * Listen for it from a Video Game Object instance using `Video.on('error', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_ERROR * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which threw the error. * @param {Event} event - The native DOM event the browser raised during playback. */ diff --git a/src/gameobjects/events/VIDEO_LOOP_EVENT.js b/src/gameobjects/events/VIDEO_LOOP_EVENT.js index 0609e75b5..46dfd0e0e 100644 --- a/src/gameobjects/events/VIDEO_LOOP_EVENT.js +++ b/src/gameobjects/events/VIDEO_LOOP_EVENT.js @@ -1,26 +1,26 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Loop Event. - * + * * This event is dispatched when a Video that is currently playing has looped. This only * happens if the `loop` parameter was specified, or the `setLoop` method was called, * and if the video has a fixed duration. Video streams, for example, cannot loop, as * they have no duration. - * + * * Looping is based on the result of the Video `timeupdate` event. This event is not * frame-accurate, due to the way browsers work, so please do not rely on this loop * event to be time or frame precise. - * + * * Listen for it from a Video Game Object instance using `Video.on('loop', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_LOOP * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which has looped. */ module.exports = 'loop'; diff --git a/src/gameobjects/events/VIDEO_PLAY_EVENT.js b/src/gameobjects/events/VIDEO_PLAY_EVENT.js index 3a251b3b8..4e25092d8 100644 --- a/src/gameobjects/events/VIDEO_PLAY_EVENT.js +++ b/src/gameobjects/events/VIDEO_PLAY_EVENT.js @@ -1,22 +1,22 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Play Event. - * + * * This event is dispatched when a Video begins playback. For videos that do not require * interaction unlocking, this is usually as soon as the `Video.play` method is called. * However, for videos that require unlocking, it is fired once playback begins after * they've been unlocked. - * + * * Listen for it from a Video Game Object instance using `Video.on('play', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_PLAY * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which started playback. */ module.exports = 'play'; diff --git a/src/gameobjects/events/VIDEO_SEEKED_EVENT.js b/src/gameobjects/events/VIDEO_SEEKED_EVENT.js index bf440c2bb..03e19d4e1 100644 --- a/src/gameobjects/events/VIDEO_SEEKED_EVENT.js +++ b/src/gameobjects/events/VIDEO_SEEKED_EVENT.js @@ -1,19 +1,19 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Seeked Event. - * + * * This event is dispatched when a Video completes seeking to a new point in its timeline. - * + * * Listen for it from a Video Game Object instance using `Video.on('seeked', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_SEEKED * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which completed seeking. */ module.exports = 'seeked'; diff --git a/src/gameobjects/events/VIDEO_SEEKING_EVENT.js b/src/gameobjects/events/VIDEO_SEEKING_EVENT.js index d31f8ccb0..cec755ce8 100644 --- a/src/gameobjects/events/VIDEO_SEEKING_EVENT.js +++ b/src/gameobjects/events/VIDEO_SEEKING_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Seeking Event. - * + * * This event is dispatched when a Video _begins_ seeking to a new point in its timeline. * When the seek is complete, it will dispatch the `VIDEO_SEEKED` event to conclude. - * + * * Listen for it from a Video Game Object instance using `Video.on('seeking', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_SEEKING * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which started seeking. */ module.exports = 'seeking'; diff --git a/src/gameobjects/events/VIDEO_STOP_EVENT.js b/src/gameobjects/events/VIDEO_STOP_EVENT.js index 1db3c8275..3b15cd22b 100644 --- a/src/gameobjects/events/VIDEO_STOP_EVENT.js +++ b/src/gameobjects/events/VIDEO_STOP_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Stopped Event. - * + * * This event is dispatched when a Video is stopped from playback via a call to the `Video.stop` method, * either directly via game code, or indirectly as the result of changing a video source or destroying it. - * + * * Listen for it from a Video Game Object instance using `Video.on('stop', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_STOP * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which stopped playback. */ module.exports = 'stop'; diff --git a/src/gameobjects/events/VIDEO_TIMEOUT_EVENT.js b/src/gameobjects/events/VIDEO_TIMEOUT_EVENT.js index de97a3213..ff3aed370 100644 --- a/src/gameobjects/events/VIDEO_TIMEOUT_EVENT.js +++ b/src/gameobjects/events/VIDEO_TIMEOUT_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Timeout Event. - * + * * This event is dispatched when a Video has exhausted its allocated time while trying to connect to a video * source to start playback. - * + * * Listen for it from a Video Game Object instance using `Video.on('timeout', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_TIMEOUT * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which timed out. */ module.exports = 'timeout'; diff --git a/src/gameobjects/events/VIDEO_UNLOCKED_EVENT.js b/src/gameobjects/events/VIDEO_UNLOCKED_EVENT.js index 11e221b13..37c61bc58 100644 --- a/src/gameobjects/events/VIDEO_UNLOCKED_EVENT.js +++ b/src/gameobjects/events/VIDEO_UNLOCKED_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Video Game Object Unlocked Event. - * + * * This event is dispatched when a Video that was prevented from playback due to the browsers * Media Engagement Interaction policy, is unlocked by a user gesture. - * + * * Listen for it from a Video Game Object instance using `Video.on('unlocked', listener)`. * * @event Phaser.GameObjects.Events#VIDEO_UNLOCKED * @since 3.20.0 - * + * * @param {Phaser.GameObjects.Video} video - The Video Game Object which raised the event. */ module.exports = 'unlocked'; diff --git a/src/gameobjects/events/index.js b/src/gameobjects/events/index.js index e92cf8d0b..de4f6faae 100644 --- a/src/gameobjects/events/index.js +++ b/src/gameobjects/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/extern/Extern.js b/src/gameobjects/extern/Extern.js index b5ba614db..fed4d898a 100644 --- a/src/gameobjects/extern/Extern.js +++ b/src/gameobjects/extern/Extern.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/extern/ExternFactory.js b/src/gameobjects/extern/ExternFactory.js index 8549fb780..80ad7fd18 100644 --- a/src/gameobjects/extern/ExternFactory.js +++ b/src/gameobjects/extern/ExternFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/extern/ExternRender.js b/src/gameobjects/extern/ExternRender.js index a9dd107c8..0d5d44876 100644 --- a/src/gameobjects/extern/ExternRender.js +++ b/src/gameobjects/extern/ExternRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/extern/ExternWebGLRenderer.js b/src/gameobjects/extern/ExternWebGLRenderer.js index c433691d8..8ae669a72 100644 --- a/src/gameobjects/extern/ExternWebGLRenderer.js +++ b/src/gameobjects/extern/ExternWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/graphics/Commands.js b/src/gameobjects/graphics/Commands.js index bd5c7c428..788e81826 100644 --- a/src/gameobjects/graphics/Commands.js +++ b/src/gameobjects/graphics/Commands.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/graphics/Graphics.js b/src/gameobjects/graphics/Graphics.js index ab6948223..a2c5a0d80 100644 --- a/src/gameobjects/graphics/Graphics.js +++ b/src/gameobjects/graphics/Graphics.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/graphics/GraphicsCanvasRenderer.js b/src/gameobjects/graphics/GraphicsCanvasRenderer.js index c4aea3f5f..e608e6912 100644 --- a/src/gameobjects/graphics/GraphicsCanvasRenderer.js +++ b/src/gameobjects/graphics/GraphicsCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/graphics/GraphicsCreator.js b/src/gameobjects/graphics/GraphicsCreator.js index 8cc4ec7b1..52334e39a 100644 --- a/src/gameobjects/graphics/GraphicsCreator.js +++ b/src/gameobjects/graphics/GraphicsCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -35,7 +35,7 @@ GameObjectCreator.register('graphics', function (config, addToScene) { this.scene.sys.displayList.add(graphics); } - + return graphics; }); diff --git a/src/gameobjects/graphics/GraphicsFactory.js b/src/gameobjects/graphics/GraphicsFactory.js index ad19b5fbb..be8226be6 100644 --- a/src/gameobjects/graphics/GraphicsFactory.js +++ b/src/gameobjects/graphics/GraphicsFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/graphics/GraphicsRender.js b/src/gameobjects/graphics/GraphicsRender.js index 08e845a4c..e20f77413 100644 --- a/src/gameobjects/graphics/GraphicsRender.js +++ b/src/gameobjects/graphics/GraphicsRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/graphics/GraphicsWebGLRenderer.js b/src/gameobjects/graphics/GraphicsWebGLRenderer.js index ff0fa8772..fb77cc76d 100644 --- a/src/gameobjects/graphics/GraphicsWebGLRenderer.js +++ b/src/gameobjects/graphics/GraphicsWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/graphics/typedefs/index.js b/src/gameobjects/graphics/typedefs/index.js index 618f783bb..5e18f7634 100644 --- a/src/gameobjects/graphics/typedefs/index.js +++ b/src/gameobjects/graphics/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/group/Group.js b/src/gameobjects/group/Group.js index 4c3d6d0f0..2f708eb86 100644 --- a/src/gameobjects/group/Group.js +++ b/src/gameobjects/group/Group.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -125,7 +125,7 @@ var Group = new Class({ * The class to create new group members from. * * @name Phaser.GameObjects.Group#classType - * @type {Function} + * @type {Phaser.Types.GameObjects.Group.GroupClassTypeConstructor} * @since 3.0.0 * @default Phaser.GameObjects.Sprite */ diff --git a/src/gameobjects/group/GroupCreator.js b/src/gameobjects/group/GroupCreator.js index 7e3046e81..fc6ab962c 100644 --- a/src/gameobjects/group/GroupCreator.js +++ b/src/gameobjects/group/GroupCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/group/GroupFactory.js b/src/gameobjects/group/GroupFactory.js index 9abcf6ccd..39514c406 100644 --- a/src/gameobjects/group/GroupFactory.js +++ b/src/gameobjects/group/GroupFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/group/typedefs/GroupClassTypeConstructor.js b/src/gameobjects/group/typedefs/GroupClassTypeConstructor.js new file mode 100644 index 000000000..be0aaf77a --- /dev/null +++ b/src/gameobjects/group/typedefs/GroupClassTypeConstructor.js @@ -0,0 +1,10 @@ +/** + * @callback Phaser.Types.GameObjects.Group.GroupClassTypeConstructor + * @since 3.0.0 + * + * @param {Phaser.Scene} scene - The Scene to which this Game Object belongs. + * @param {number} x - The horizontal position of this Game Object in the world. + * @param {number} y - The vertical position of this Game Object in the world. + * @param {(string|Phaser.Textures.Texture)} texture - The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager. + * @param {(string|number)} [frame] - An optional frame from the Texture this Game Object is rendering with. + */ diff --git a/src/gameobjects/group/typedefs/index.js b/src/gameobjects/group/typedefs/index.js index 1b10eea4b..95decf484 100644 --- a/src/gameobjects/group/typedefs/index.js +++ b/src/gameobjects/group/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/image/Image.js b/src/gameobjects/image/Image.js index b0e8475f5..c2d576a90 100644 --- a/src/gameobjects/image/Image.js +++ b/src/gameobjects/image/Image.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/image/ImageCanvasRenderer.js b/src/gameobjects/image/ImageCanvasRenderer.js index 7bd66d6df..dd11f7c44 100644 --- a/src/gameobjects/image/ImageCanvasRenderer.js +++ b/src/gameobjects/image/ImageCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/image/ImageCreator.js b/src/gameobjects/image/ImageCreator.js index f95d376cc..e67906a5b 100644 --- a/src/gameobjects/image/ImageCreator.js +++ b/src/gameobjects/image/ImageCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/image/ImageFactory.js b/src/gameobjects/image/ImageFactory.js index 2be848392..7d157fb89 100644 --- a/src/gameobjects/image/ImageFactory.js +++ b/src/gameobjects/image/ImageFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/image/ImageRender.js b/src/gameobjects/image/ImageRender.js index e42de7c5d..b29d3c81c 100644 --- a/src/gameobjects/image/ImageRender.js +++ b/src/gameobjects/image/ImageRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/image/ImageWebGLRenderer.js b/src/gameobjects/image/ImageWebGLRenderer.js index 38eb75698..b4f595484 100644 --- a/src/gameobjects/image/ImageWebGLRenderer.js +++ b/src/gameobjects/image/ImageWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/index.js b/src/gameobjects/index.js index a4e66a1cb..e4f82f739 100644 --- a/src/gameobjects/index.js +++ b/src/gameobjects/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/layer/Layer.js b/src/gameobjects/layer/Layer.js index 3d7409877..bd820e2d2 100644 --- a/src/gameobjects/layer/Layer.js +++ b/src/gameobjects/layer/Layer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/layer/LayerCanvasRenderer.js b/src/gameobjects/layer/LayerCanvasRenderer.js index 2be6a1403..0c1d2ba40 100644 --- a/src/gameobjects/layer/LayerCanvasRenderer.js +++ b/src/gameobjects/layer/LayerCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/layer/LayerCreator.js b/src/gameobjects/layer/LayerCreator.js index f21af7680..68db50991 100644 --- a/src/gameobjects/layer/LayerCreator.js +++ b/src/gameobjects/layer/LayerCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/layer/LayerFactory.js b/src/gameobjects/layer/LayerFactory.js index 83f121114..d8f65226d 100644 --- a/src/gameobjects/layer/LayerFactory.js +++ b/src/gameobjects/layer/LayerFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/layer/LayerRender.js b/src/gameobjects/layer/LayerRender.js index ab9a89bfa..9c5cd56f8 100644 --- a/src/gameobjects/layer/LayerRender.js +++ b/src/gameobjects/layer/LayerRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/layer/LayerWebGLRenderer.js b/src/gameobjects/layer/LayerWebGLRenderer.js index 06359cfd7..dfdf632a0 100644 --- a/src/gameobjects/layer/LayerWebGLRenderer.js +++ b/src/gameobjects/layer/LayerWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/lights/Light.js b/src/gameobjects/lights/Light.js index 5ba023fd6..0540fd742 100644 --- a/src/gameobjects/lights/Light.js +++ b/src/gameobjects/lights/Light.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/lights/LightsManager.js b/src/gameobjects/lights/LightsManager.js index abc945bf8..25a26d506 100644 --- a/src/gameobjects/lights/LightsManager.js +++ b/src/gameobjects/lights/LightsManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/lights/LightsPlugin.js b/src/gameobjects/lights/LightsPlugin.js index 66e1039db..d463ec9e1 100644 --- a/src/gameobjects/lights/LightsPlugin.js +++ b/src/gameobjects/lights/LightsPlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/mesh/Mesh.js b/src/gameobjects/mesh/Mesh.js index f0e87599e..f87e8507d 100644 --- a/src/gameobjects/mesh/Mesh.js +++ b/src/gameobjects/mesh/Mesh.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/mesh/MeshCanvasRenderer.js b/src/gameobjects/mesh/MeshCanvasRenderer.js index e97b7eb03..539682933 100644 --- a/src/gameobjects/mesh/MeshCanvasRenderer.js +++ b/src/gameobjects/mesh/MeshCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/mesh/MeshCreator.js b/src/gameobjects/mesh/MeshCreator.js index 6f9634cb9..ce0827d71 100644 --- a/src/gameobjects/mesh/MeshCreator.js +++ b/src/gameobjects/mesh/MeshCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/mesh/MeshFactory.js b/src/gameobjects/mesh/MeshFactory.js index 7df561517..a4e0a378b 100644 --- a/src/gameobjects/mesh/MeshFactory.js +++ b/src/gameobjects/mesh/MeshFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/mesh/MeshRender.js b/src/gameobjects/mesh/MeshRender.js index de2a7c04c..083bedf00 100644 --- a/src/gameobjects/mesh/MeshRender.js +++ b/src/gameobjects/mesh/MeshRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/mesh/MeshWebGLRenderer.js b/src/gameobjects/mesh/MeshWebGLRenderer.js index 47042b851..969c73aa5 100644 --- a/src/gameobjects/mesh/MeshWebGLRenderer.js +++ b/src/gameobjects/mesh/MeshWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/mesh/typedefs/index.js b/src/gameobjects/mesh/typedefs/index.js index be2056cb7..e465dfb62 100644 --- a/src/gameobjects/mesh/typedefs/index.js +++ b/src/gameobjects/mesh/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/EmitterOp.js b/src/gameobjects/particles/EmitterOp.js index 56a9ebb1b..db05941ec 100644 --- a/src/gameobjects/particles/EmitterOp.js +++ b/src/gameobjects/particles/EmitterOp.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/GravityWell.js b/src/gameobjects/particles/GravityWell.js index 6b69fbc15..d35c28af6 100644 --- a/src/gameobjects/particles/GravityWell.js +++ b/src/gameobjects/particles/GravityWell.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -10,9 +10,9 @@ var GetFastValue = require('../../utils/object/GetFastValue'); /** * @classdesc * The GravityWell action applies a force on the particle to draw it towards, or repel it from, a single point. - * + * * The force applied is inversely proportional to the square of the distance from the particle to the point, in accordance with Newton's law of gravity. - * + * * This simulates the effect of gravity over large distances (as between planets, for example). * * @class GravityWell diff --git a/src/gameobjects/particles/Particle.js b/src/gameobjects/particles/Particle.js index e04aaaf09..3ede1e76c 100644 --- a/src/gameobjects/particles/Particle.js +++ b/src/gameobjects/particles/Particle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/ParticleEmitter.js b/src/gameobjects/particles/ParticleEmitter.js index 895aaebe0..c6bb7d9b3 100644 --- a/src/gameobjects/particles/ParticleEmitter.js +++ b/src/gameobjects/particles/ParticleEmitter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -167,7 +167,7 @@ var ParticleEmitter = new Class({ * The Particle Class which will be emitted by this Emitter. * * @name Phaser.GameObjects.Particles.ParticleEmitter#particleClass - * @type {Phaser.GameObjects.Particles.Particle} + * @type {Phaser.Types.GameObjects.Particles.ParticleClassConstructor} * @default Phaser.GameObjects.Particles.Particle * @since 3.0.0 */ diff --git a/src/gameobjects/particles/ParticleEmitterManager.js b/src/gameobjects/particles/ParticleEmitterManager.js index a83f0e287..4f4525580 100644 --- a/src/gameobjects/particles/ParticleEmitterManager.js +++ b/src/gameobjects/particles/ParticleEmitterManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/ParticleManagerCanvasRenderer.js b/src/gameobjects/particles/ParticleManagerCanvasRenderer.js index 2c63b6f93..a226151a4 100644 --- a/src/gameobjects/particles/ParticleManagerCanvasRenderer.js +++ b/src/gameobjects/particles/ParticleManagerCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/ParticleManagerCreator.js b/src/gameobjects/particles/ParticleManagerCreator.js index 69b87c7f2..10cf261d6 100644 --- a/src/gameobjects/particles/ParticleManagerCreator.js +++ b/src/gameobjects/particles/ParticleManagerCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/ParticleManagerFactory.js b/src/gameobjects/particles/ParticleManagerFactory.js index ef258d479..197d7ca23 100644 --- a/src/gameobjects/particles/ParticleManagerFactory.js +++ b/src/gameobjects/particles/ParticleManagerFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/ParticleManagerRender.js b/src/gameobjects/particles/ParticleManagerRender.js index defbc212f..f8f9ee68f 100644 --- a/src/gameobjects/particles/ParticleManagerRender.js +++ b/src/gameobjects/particles/ParticleManagerRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/ParticleManagerWebGLRenderer.js b/src/gameobjects/particles/ParticleManagerWebGLRenderer.js index 6a5ad7de9..212c98310 100644 --- a/src/gameobjects/particles/ParticleManagerWebGLRenderer.js +++ b/src/gameobjects/particles/ParticleManagerWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/index.js b/src/gameobjects/particles/index.js index e1434b87e..52402cdc8 100644 --- a/src/gameobjects/particles/index.js +++ b/src/gameobjects/particles/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/typedefs/ParticleClassConstructor.js b/src/gameobjects/particles/typedefs/ParticleClassConstructor.js new file mode 100644 index 000000000..f7ecd0ea7 --- /dev/null +++ b/src/gameobjects/particles/typedefs/ParticleClassConstructor.js @@ -0,0 +1,6 @@ +/** + * @callback Phaser.Types.GameObjects.Particles.ParticleClassConstructor + * @since 3.0.0 + * + * @param {Phaser.GameObjects.Particles.ParticleEmitter} emitter - The Emitter to which this Particle belongs. +*/ diff --git a/src/gameobjects/particles/typedefs/ParticleEmitterConfig.js b/src/gameobjects/particles/typedefs/ParticleEmitterConfig.js index 61c96158c..25cd71216 100644 --- a/src/gameobjects/particles/typedefs/ParticleEmitterConfig.js +++ b/src/gameobjects/particles/typedefs/ParticleEmitterConfig.js @@ -21,7 +21,7 @@ * @property {string} [name] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#name}. * @property {boolean} [on] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#on}. * @property {boolean} [particleBringToTop] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleBringToTop}. - * @property {Phaser.GameObjects.Particles.Particle} [particleClass] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleClass}. + * @property {Phaser.Types.GameObjects.Particles.ParticleClassConstructor} [particleClass] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleClass}. * @property {boolean} [radial] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#radial}. * @property {number} [timeScale] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#timeScale}. * @property {boolean} [trackVisible] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#trackVisible}. diff --git a/src/gameobjects/particles/typedefs/index.js b/src/gameobjects/particles/typedefs/index.js index a476a464e..a77ec63e0 100644 --- a/src/gameobjects/particles/typedefs/index.js +++ b/src/gameobjects/particles/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/zones/DeathZone.js b/src/gameobjects/particles/zones/DeathZone.js index 81fb9675e..ebc56bb19 100644 --- a/src/gameobjects/particles/zones/DeathZone.js +++ b/src/gameobjects/particles/zones/DeathZone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/zones/EdgeZone.js b/src/gameobjects/particles/zones/EdgeZone.js index 1c845efd2..7b4c74448 100644 --- a/src/gameobjects/particles/zones/EdgeZone.js +++ b/src/gameobjects/particles/zones/EdgeZone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/zones/RandomZone.js b/src/gameobjects/particles/zones/RandomZone.js index 7e3061df0..71732a602 100644 --- a/src/gameobjects/particles/zones/RandomZone.js +++ b/src/gameobjects/particles/zones/RandomZone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/particles/zones/index.js b/src/gameobjects/particles/zones/index.js index 890dbdaf5..5f304b947 100644 --- a/src/gameobjects/particles/zones/index.js +++ b/src/gameobjects/particles/zones/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/pathfollower/PathFollower.js b/src/gameobjects/pathfollower/PathFollower.js index 6ff7f272b..8f9c00342 100644 --- a/src/gameobjects/pathfollower/PathFollower.js +++ b/src/gameobjects/pathfollower/PathFollower.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/pathfollower/PathFollowerFactory.js b/src/gameobjects/pathfollower/PathFollowerFactory.js index ffa43c4b4..5b6fe15a0 100644 --- a/src/gameobjects/pathfollower/PathFollowerFactory.js +++ b/src/gameobjects/pathfollower/PathFollowerFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/pathfollower/typedefs/index.js b/src/gameobjects/pathfollower/typedefs/index.js index 191dd49ae..1f75d2fc9 100644 --- a/src/gameobjects/pathfollower/typedefs/index.js +++ b/src/gameobjects/pathfollower/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/pointlight/PointLight.js b/src/gameobjects/pointlight/PointLight.js index 43c8b4375..a68dbd96b 100644 --- a/src/gameobjects/pointlight/PointLight.js +++ b/src/gameobjects/pointlight/PointLight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/pointlight/PointLightCreator.js b/src/gameobjects/pointlight/PointLightCreator.js index 2dd4faf30..43ded6a30 100644 --- a/src/gameobjects/pointlight/PointLightCreator.js +++ b/src/gameobjects/pointlight/PointLightCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/pointlight/PointLightFactory.js b/src/gameobjects/pointlight/PointLightFactory.js index 06dc4cd2a..5d973d70d 100644 --- a/src/gameobjects/pointlight/PointLightFactory.js +++ b/src/gameobjects/pointlight/PointLightFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/pointlight/PointLightRender.js b/src/gameobjects/pointlight/PointLightRender.js index af72a8edc..7200f8960 100644 --- a/src/gameobjects/pointlight/PointLightRender.js +++ b/src/gameobjects/pointlight/PointLightRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/pointlight/PointLightWebGLRenderer.js b/src/gameobjects/pointlight/PointLightWebGLRenderer.js index 6f5ba2195..a35198a52 100644 --- a/src/gameobjects/pointlight/PointLightWebGLRenderer.js +++ b/src/gameobjects/pointlight/PointLightWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rendertexture/RenderTexture.js b/src/gameobjects/rendertexture/RenderTexture.js index 3adefc189..3de55bb86 100644 --- a/src/gameobjects/rendertexture/RenderTexture.js +++ b/src/gameobjects/rendertexture/RenderTexture.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -508,9 +508,9 @@ var RenderTexture = new Class({ if (width === undefined) { width = frame.cutWidth; } if (height === undefined) { height = frame.cutHeight; } - var r = (rgb >> 16 & 0xFF) / 255; - var g = (rgb >> 8 & 0xFF) / 255; - var b = (rgb & 0xFF) / 255; + var r = (rgb >> 16 & 0xFF); + var g = (rgb >> 8 & 0xFF); + var b = (rgb & 0xFF); var renderTarget = this.renderTarget; @@ -535,7 +535,7 @@ var RenderTexture = new Class({ pipeline.drawFillRect( x * sx, y * sy, width * sx, height * sy, - Utils.getTintFromFloats(b, g, r, 1), + Utils.getTintFromFloats(b / 255, g / 255, r / 255, 1), alpha ); @@ -1172,6 +1172,11 @@ var RenderTexture = new Class({ } else { + if (!this._eraseMode) + { + this.renderer.setBlendMode(gameObject.blendMode); + } + gameObject.renderWebGL(this.renderer, gameObject, this.camera); } diff --git a/src/gameobjects/rendertexture/RenderTextureCanvasRenderer.js b/src/gameobjects/rendertexture/RenderTextureCanvasRenderer.js index 17a50a96f..4ca8dbff8 100644 --- a/src/gameobjects/rendertexture/RenderTextureCanvasRenderer.js +++ b/src/gameobjects/rendertexture/RenderTextureCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rendertexture/RenderTextureCreator.js b/src/gameobjects/rendertexture/RenderTextureCreator.js index 71d5ce953..867896b0d 100644 --- a/src/gameobjects/rendertexture/RenderTextureCreator.js +++ b/src/gameobjects/rendertexture/RenderTextureCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rendertexture/RenderTextureFactory.js b/src/gameobjects/rendertexture/RenderTextureFactory.js index 8bec95b0e..2af46c049 100644 --- a/src/gameobjects/rendertexture/RenderTextureFactory.js +++ b/src/gameobjects/rendertexture/RenderTextureFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,7 +11,7 @@ var RenderTexture = require('./RenderTexture'); * Creates a new Render Texture Game Object and adds it to the Scene. * * Note: This method will only be available if the Render Texture Game Object has been built into Phaser. - * + * * A Render Texture is a special texture that allows any number of Game Objects to be drawn to it. You can take many complex objects and * draw them all to this one texture, which can they be used as the texture for other Game Object's. It's a way to generate dynamic * textures at run-time that are WebGL friendly and don't invoke expensive GPU uploads. @@ -25,7 +25,7 @@ var RenderTexture = require('./RenderTexture'); * @param {number} [height=32] - The height of the Render Texture. * @property {string} [key] - The texture key to make the RenderTexture from. * @property {string} [frame] - the frame to make the RenderTexture from. - * + * * @return {Phaser.GameObjects.RenderTexture} The Game Object that was created. */ GameObjectFactory.register('renderTexture', function (x, y, width, height, key, frame) diff --git a/src/gameobjects/rendertexture/RenderTextureRender.js b/src/gameobjects/rendertexture/RenderTextureRender.js index dad7fe392..c709202ce 100644 --- a/src/gameobjects/rendertexture/RenderTextureRender.js +++ b/src/gameobjects/rendertexture/RenderTextureRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rendertexture/RenderTextureWebGLRenderer.js b/src/gameobjects/rendertexture/RenderTextureWebGLRenderer.js index bcfc80b5c..c6e9f7a68 100644 --- a/src/gameobjects/rendertexture/RenderTextureWebGLRenderer.js +++ b/src/gameobjects/rendertexture/RenderTextureWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rendertexture/typedefs/index.js b/src/gameobjects/rendertexture/typedefs/index.js index 9f907b444..89e1cb4b3 100644 --- a/src/gameobjects/rendertexture/typedefs/index.js +++ b/src/gameobjects/rendertexture/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rope/Rope.js b/src/gameobjects/rope/Rope.js index 01991399e..ab6cb7a7f 100644 --- a/src/gameobjects/rope/Rope.js +++ b/src/gameobjects/rope/Rope.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rope/RopeCanvasRenderer.js b/src/gameobjects/rope/RopeCanvasRenderer.js index 4e0d6d3a0..031ef580f 100644 --- a/src/gameobjects/rope/RopeCanvasRenderer.js +++ b/src/gameobjects/rope/RopeCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rope/RopeCreator.js b/src/gameobjects/rope/RopeCreator.js index 263e29a71..f6126e213 100644 --- a/src/gameobjects/rope/RopeCreator.js +++ b/src/gameobjects/rope/RopeCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rope/RopeFactory.js b/src/gameobjects/rope/RopeFactory.js index 0c6354bbc..0e151984b 100644 --- a/src/gameobjects/rope/RopeFactory.js +++ b/src/gameobjects/rope/RopeFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rope/RopeRender.js b/src/gameobjects/rope/RopeRender.js index b2ea4a41c..976d404b9 100644 --- a/src/gameobjects/rope/RopeRender.js +++ b/src/gameobjects/rope/RopeRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rope/RopeWebGLRenderer.js b/src/gameobjects/rope/RopeWebGLRenderer.js index 8cc7b9e6c..56dcb2da5 100644 --- a/src/gameobjects/rope/RopeWebGLRenderer.js +++ b/src/gameobjects/rope/RopeWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/rope/typedefs/index.js b/src/gameobjects/rope/typedefs/index.js index df11e152c..8209f20d2 100644 --- a/src/gameobjects/rope/typedefs/index.js +++ b/src/gameobjects/rope/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shader/Shader.js b/src/gameobjects/shader/Shader.js index 2947689d0..2a2d2dffa 100644 --- a/src/gameobjects/shader/Shader.js +++ b/src/gameobjects/shader/Shader.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shader/ShaderCanvasRenderer.js b/src/gameobjects/shader/ShaderCanvasRenderer.js index 764e4aca4..6ddab6e86 100644 --- a/src/gameobjects/shader/ShaderCanvasRenderer.js +++ b/src/gameobjects/shader/ShaderCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shader/ShaderCreator.js b/src/gameobjects/shader/ShaderCreator.js index ea8237ff3..2fe3dbc30 100644 --- a/src/gameobjects/shader/ShaderCreator.js +++ b/src/gameobjects/shader/ShaderCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shader/ShaderFactory.js b/src/gameobjects/shader/ShaderFactory.js index ab7497726..1b9303a4d 100644 --- a/src/gameobjects/shader/ShaderFactory.js +++ b/src/gameobjects/shader/ShaderFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shader/ShaderRender.js b/src/gameobjects/shader/ShaderRender.js index df6389671..1442137b1 100644 --- a/src/gameobjects/shader/ShaderRender.js +++ b/src/gameobjects/shader/ShaderRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shader/ShaderWebGLRenderer.js b/src/gameobjects/shader/ShaderWebGLRenderer.js index 21ec64e94..aefe1769f 100644 --- a/src/gameobjects/shader/ShaderWebGLRenderer.js +++ b/src/gameobjects/shader/ShaderWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shader/typedefs/index.js b/src/gameobjects/shader/typedefs/index.js index 43bdf5975..fd5977b50 100644 --- a/src/gameobjects/shader/typedefs/index.js +++ b/src/gameobjects/shader/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/FillPathWebGL.js b/src/gameobjects/shape/FillPathWebGL.js index 0f8fa181b..00f0f3911 100644 --- a/src/gameobjects/shape/FillPathWebGL.js +++ b/src/gameobjects/shape/FillPathWebGL.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/FillStyleCanvas.js b/src/gameobjects/shape/FillStyleCanvas.js index ad89cbf7a..4c5b8c5f7 100644 --- a/src/gameobjects/shape/FillStyleCanvas.js +++ b/src/gameobjects/shape/FillStyleCanvas.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/LineStyleCanvas.js b/src/gameobjects/shape/LineStyleCanvas.js index e8b801bcf..c9b99a8d5 100644 --- a/src/gameobjects/shape/LineStyleCanvas.js +++ b/src/gameobjects/shape/LineStyleCanvas.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/Shape.js b/src/gameobjects/shape/Shape.js index 322c03d7b..dcd55671b 100644 --- a/src/gameobjects/shape/Shape.js +++ b/src/gameobjects/shape/Shape.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/StrokePathWebGL.js b/src/gameobjects/shape/StrokePathWebGL.js index f4864ba08..aa3020887 100644 --- a/src/gameobjects/shape/StrokePathWebGL.js +++ b/src/gameobjects/shape/StrokePathWebGL.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/arc/Arc.js b/src/gameobjects/shape/arc/Arc.js index 4cf3b1a9d..f59c5e1ad 100644 --- a/src/gameobjects/shape/arc/Arc.js +++ b/src/gameobjects/shape/arc/Arc.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -18,14 +18,14 @@ var Shape = require('../Shape'); * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * When it renders it displays an arc shape. You can control the start and end angles of the arc, * as well as if the angles are winding clockwise or anti-clockwise. With the default settings * it renders as a complete circle. By changing the angles you can create other arc shapes, * such as half-circles. - * + * * Arcs also have an `iterations` property and corresponding `setIterations` method. This allows * you to control how smooth the shape renders in WebGL, by controlling the number of iterations * that take place during construction. @@ -249,7 +249,7 @@ var Arc = new Class({ * * @method Phaser.GameObjects.Arc#setRadius * @since 3.13.0 - * + * * @param {number} value - The value to set the radius to. * * @return {this} This Game Object instance. @@ -269,7 +269,7 @@ var Arc = new Class({ * * @method Phaser.GameObjects.Arc#setIterations * @since 3.13.0 - * + * * @param {number} value - The value to set the iterations to. * * @return {this} This Game Object instance. @@ -289,7 +289,7 @@ var Arc = new Class({ * * @method Phaser.GameObjects.Arc#setStartAngle * @since 3.13.0 - * + * * @param {number} value - The value to set the starting angle to. * * @return {this} This Game Object instance. @@ -312,7 +312,7 @@ var Arc = new Class({ * * @method Phaser.GameObjects.Arc#setEndAngle * @since 3.13.0 - * + * * @param {number} value - The value to set the ending angle to. * * @return {this} This Game Object instance. diff --git a/src/gameobjects/shape/arc/ArcCanvasRenderer.js b/src/gameobjects/shape/arc/ArcCanvasRenderer.js index 9d5ee01ec..21d101157 100644 --- a/src/gameobjects/shape/arc/ArcCanvasRenderer.js +++ b/src/gameobjects/shape/arc/ArcCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/arc/ArcFactory.js b/src/gameobjects/shape/arc/ArcFactory.js index 00a1158ee..3f719d7ff 100644 --- a/src/gameobjects/shape/arc/ArcFactory.js +++ b/src/gameobjects/shape/arc/ArcFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,14 +11,14 @@ var GameObjectFactory = require('../../GameObjectFactory'); * Creates a new Arc Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the Arc Game Object has been built into Phaser. - * + * * The Arc Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * When it renders it displays an arc shape. You can control the start and end angles of the arc, * as well as if the angles are winding clockwise or anti-clockwise. With the default settings * it renders as a complete circle. By changing the angles you can create other arc shapes, @@ -45,7 +45,7 @@ GameObjectFactory.register('arc', function (x, y, radius, startAngle, endAngle, /** * Creates a new Circle Shape Game Object and adds it to the Scene. - * + * * A Circle is an Arc with no defined start and end angle, making it render as a complete circle. * * Note: This method will only be available if the Arc Game Object has been built into Phaser. diff --git a/src/gameobjects/shape/arc/ArcRender.js b/src/gameobjects/shape/arc/ArcRender.js index 35989616e..f74565c06 100644 --- a/src/gameobjects/shape/arc/ArcRender.js +++ b/src/gameobjects/shape/arc/ArcRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/arc/ArcWebGLRenderer.js b/src/gameobjects/shape/arc/ArcWebGLRenderer.js index e15e06fa7..34603b698 100644 --- a/src/gameobjects/shape/arc/ArcWebGLRenderer.js +++ b/src/gameobjects/shape/arc/ArcWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/curve/Curve.js b/src/gameobjects/shape/curve/Curve.js index 3155e4053..9304b72cd 100644 --- a/src/gameobjects/shape/curve/Curve.js +++ b/src/gameobjects/shape/curve/Curve.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -16,12 +16,12 @@ var Shape = require('../Shape'); * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * To render a Curve Shape you must first create a `Phaser.Curves.Curve` object, then pass it to * the Curve Shape in the constructor. - * + * * The Curve shape also has a `smoothness` property and corresponding `setSmoothness` method. * This allows you to control how smooth the shape renders in WebGL, by controlling the number of iterations * that take place during construction. Increase and decrease the default value for smoother, or more @@ -123,7 +123,7 @@ var Curve = new Class({ * * @method Phaser.GameObjects.Curve#setSmoothness * @since 3.13.0 - * + * * @param {number} value - The value to set the smoothness to. * * @return {this} This Game Object instance. diff --git a/src/gameobjects/shape/curve/CurveCanvasRenderer.js b/src/gameobjects/shape/curve/CurveCanvasRenderer.js index 26bc08bf7..0fe3a8818 100644 --- a/src/gameobjects/shape/curve/CurveCanvasRenderer.js +++ b/src/gameobjects/shape/curve/CurveCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/curve/CurveFactory.js b/src/gameobjects/shape/curve/CurveFactory.js index 2b8ff9572..e10866fce 100644 --- a/src/gameobjects/shape/curve/CurveFactory.js +++ b/src/gameobjects/shape/curve/CurveFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,17 +11,17 @@ var Curve = require('./Curve'); * Creates a new Curve Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the Curve Game Object has been built into Phaser. - * + * * The Curve Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * To render a Curve Shape you must first create a `Phaser.Curves.Curve` object, then pass it to * the Curve Shape in the constructor. - * + * * The Curve shape also has a `smoothness` property and corresponding `setSmoothness` method. * This allows you to control how smooth the shape renders in WebGL, by controlling the number of iterations * that take place during construction. Increase and decrease the default value for smoother, or more diff --git a/src/gameobjects/shape/curve/CurveRender.js b/src/gameobjects/shape/curve/CurveRender.js index 5d4334faf..b050d3f59 100644 --- a/src/gameobjects/shape/curve/CurveRender.js +++ b/src/gameobjects/shape/curve/CurveRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/curve/CurveWebGLRenderer.js b/src/gameobjects/shape/curve/CurveWebGLRenderer.js index fd8c466cb..21bdf1397 100644 --- a/src/gameobjects/shape/curve/CurveWebGLRenderer.js +++ b/src/gameobjects/shape/curve/CurveWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/ellipse/Ellipse.js b/src/gameobjects/shape/ellipse/Ellipse.js index 435dfed8e..2931ce599 100644 --- a/src/gameobjects/shape/ellipse/Ellipse.js +++ b/src/gameobjects/shape/ellipse/Ellipse.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -16,13 +16,13 @@ var Shape = require('../Shape'); * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * When it renders it displays an ellipse shape. You can control the width and height of the ellipse. * If the width and height match it will render as a circle. If the width is less than the height, * it will look more like an egg shape. - * + * * The Ellipse shape also has a `smoothness` property and corresponding `setSmoothness` method. * This allows you to control how smooth the shape renders in WebGL, by controlling the number of iterations * that take place during construction. Increase and decrease the default value for smoother, or more @@ -117,7 +117,7 @@ var Ellipse = new Class({ * * @method Phaser.GameObjects.Ellipse#setSize * @since 3.13.0 - * + * * @param {number} width - The width of the ellipse. * @param {number} height - The height of the ellipse. * @@ -140,7 +140,7 @@ var Ellipse = new Class({ * * @method Phaser.GameObjects.Ellipse#setSmoothness * @since 3.13.0 - * + * * @param {number} value - The value to set the smoothness to. * * @return {this} This Game Object instance. diff --git a/src/gameobjects/shape/ellipse/EllipseCanvasRenderer.js b/src/gameobjects/shape/ellipse/EllipseCanvasRenderer.js index 1a7313cc5..645aead89 100644 --- a/src/gameobjects/shape/ellipse/EllipseCanvasRenderer.js +++ b/src/gameobjects/shape/ellipse/EllipseCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/ellipse/EllipseFactory.js b/src/gameobjects/shape/ellipse/EllipseFactory.js index 1bb925288..ea42a87f2 100644 --- a/src/gameobjects/shape/ellipse/EllipseFactory.js +++ b/src/gameobjects/shape/ellipse/EllipseFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,18 +11,18 @@ var GameObjectFactory = require('../../GameObjectFactory'); * Creates a new Ellipse Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the Ellipse Game Object has been built into Phaser. - * + * * The Ellipse Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * When it renders it displays an ellipse shape. You can control the width and height of the ellipse. * If the width and height match it will render as a circle. If the width is less than the height, * it will look more like an egg shape. - * + * * The Ellipse shape also has a `smoothness` property and corresponding `setSmoothness` method. * This allows you to control how smooth the shape renders in WebGL, by controlling the number of iterations * that take place during construction. Increase and decrease the default value for smoother, or more diff --git a/src/gameobjects/shape/ellipse/EllipseRender.js b/src/gameobjects/shape/ellipse/EllipseRender.js index 4dccf0998..d55c54b1a 100644 --- a/src/gameobjects/shape/ellipse/EllipseRender.js +++ b/src/gameobjects/shape/ellipse/EllipseRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/ellipse/EllipseWebGLRenderer.js b/src/gameobjects/shape/ellipse/EllipseWebGLRenderer.js index a4bc485da..0606894f4 100644 --- a/src/gameobjects/shape/ellipse/EllipseWebGLRenderer.js +++ b/src/gameobjects/shape/ellipse/EllipseWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/grid/Grid.js b/src/gameobjects/shape/grid/Grid.js index 3158881df..9ce8a2f9f 100644 --- a/src/gameobjects/shape/grid/Grid.js +++ b/src/gameobjects/shape/grid/Grid.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/grid/GridCanvasRenderer.js b/src/gameobjects/shape/grid/GridCanvasRenderer.js index d3f65ea68..972e25d10 100644 --- a/src/gameobjects/shape/grid/GridCanvasRenderer.js +++ b/src/gameobjects/shape/grid/GridCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/grid/GridFactory.js b/src/gameobjects/shape/grid/GridFactory.js index 45932f6b6..e83c197d5 100644 --- a/src/gameobjects/shape/grid/GridFactory.js +++ b/src/gameobjects/shape/grid/GridFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,14 +11,14 @@ var Grid = require('./Grid'); * Creates a new Grid Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the Grid Game Object has been built into Phaser. - * + * * The Grid Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports only fill colors and cannot be stroked. - * + * * A Grid Shape allows you to display a grid in your game, where you can control the size of the * grid as well as the width and height of the grid cells. You can set a fill color for each grid * cell as well as an alternate fill color. When the alternate fill color is set then the grid diff --git a/src/gameobjects/shape/grid/GridRender.js b/src/gameobjects/shape/grid/GridRender.js index a66a60549..491cc2899 100644 --- a/src/gameobjects/shape/grid/GridRender.js +++ b/src/gameobjects/shape/grid/GridRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/grid/GridWebGLRenderer.js b/src/gameobjects/shape/grid/GridWebGLRenderer.js index 9fb2dfabc..aaf95d9e8 100644 --- a/src/gameobjects/shape/grid/GridWebGLRenderer.js +++ b/src/gameobjects/shape/grid/GridWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/isobox/IsoBox.js b/src/gameobjects/shape/isobox/IsoBox.js index ec0adb8ac..59a700508 100644 --- a/src/gameobjects/shape/isobox/IsoBox.js +++ b/src/gameobjects/shape/isobox/IsoBox.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,13 +14,13 @@ var Shape = require('../Shape'); * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports only fill colors and cannot be stroked. - * + * * An IsoBox is an 'isometric' rectangle. Each face of it has a different fill color. You can set * the color of the top, left and right faces of the rectangle respectively. You can also choose * which of the faces are rendered via the `showTop`, `showLeft` and `showRight` properties. - * + * * You cannot view an IsoBox from under-neath, however you can change the 'angle' by setting * the `projection` property. * @@ -142,7 +142,7 @@ var IsoBox = new Class({ * * @method Phaser.GameObjects.IsoBox#setProjection * @since 3.13.0 - * + * * @param {number} value - The value to set the projection to. * * @return {this} This Game Object instance. @@ -160,7 +160,7 @@ var IsoBox = new Class({ * * @method Phaser.GameObjects.IsoBox#setFaces * @since 3.13.0 - * + * * @param {boolean} [showTop=true] - Show the top-face of the iso box. * @param {boolean} [showLeft=true] - Show the left-face of the iso box. * @param {boolean} [showRight=true] - Show the right-face of the iso box. @@ -186,7 +186,7 @@ var IsoBox = new Class({ * * @method Phaser.GameObjects.IsoBox#setFillStyle * @since 3.13.0 - * + * * @param {number} [fillTop] - The color used to fill the top of the iso box. * @param {number} [fillLeft] - The color used to fill in the left-facing side of the iso box. * @param {number} [fillRight] - The color used to fill in the right-facing side of the iso box. diff --git a/src/gameobjects/shape/isobox/IsoBoxCanvasRenderer.js b/src/gameobjects/shape/isobox/IsoBoxCanvasRenderer.js index 36c3d4780..bc0e21d97 100644 --- a/src/gameobjects/shape/isobox/IsoBoxCanvasRenderer.js +++ b/src/gameobjects/shape/isobox/IsoBoxCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/isobox/IsoBoxFactory.js b/src/gameobjects/shape/isobox/IsoBoxFactory.js index 00a670b59..59418ba4c 100644 --- a/src/gameobjects/shape/isobox/IsoBoxFactory.js +++ b/src/gameobjects/shape/isobox/IsoBoxFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,18 +11,18 @@ var IsoBox = require('./IsoBox'); * Creates a new IsoBox Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the IsoBox Game Object has been built into Phaser. - * + * * The IsoBox Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports only fill colors and cannot be stroked. - * + * * An IsoBox is an 'isometric' rectangle. Each face of it has a different fill color. You can set * the color of the top, left and right faces of the rectangle respectively. You can also choose * which of the faces are rendered via the `showTop`, `showLeft` and `showRight` properties. - * + * * You cannot view an IsoBox from under-neath, however you can change the 'angle' by setting * the `projection` property. * diff --git a/src/gameobjects/shape/isobox/IsoBoxRender.js b/src/gameobjects/shape/isobox/IsoBoxRender.js index e057bb1c1..b5c8617e8 100644 --- a/src/gameobjects/shape/isobox/IsoBoxRender.js +++ b/src/gameobjects/shape/isobox/IsoBoxRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/isobox/IsoBoxWebGLRenderer.js b/src/gameobjects/shape/isobox/IsoBoxWebGLRenderer.js index d11de2514..1205b758d 100644 --- a/src/gameobjects/shape/isobox/IsoBoxWebGLRenderer.js +++ b/src/gameobjects/shape/isobox/IsoBoxWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/isotriangle/IsoTriangle.js b/src/gameobjects/shape/isotriangle/IsoTriangle.js index dfac84dc1..e179d7559 100644 --- a/src/gameobjects/shape/isotriangle/IsoTriangle.js +++ b/src/gameobjects/shape/isotriangle/IsoTriangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,13 +14,13 @@ var Shape = require('../Shape'); * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports only fill colors and cannot be stroked. - * + * * An IsoTriangle is an 'isometric' triangle. Think of it like a pyramid. Each face has a different * fill color. You can set the color of the top, left and right faces of the triangle respectively * You can also choose which of the faces are rendered via the `showTop`, `showLeft` and `showRight` properties. - * + * * You cannot view an IsoTriangle from under-neath, however you can change the 'angle' by setting * the `projection` property. The `reversed` property controls if the IsoTriangle is rendered upside * down or not. @@ -155,7 +155,7 @@ var IsoTriangle = new Class({ * * @method Phaser.GameObjects.IsoTriangle#setProjection * @since 3.13.0 - * + * * @param {number} value - The value to set the projection to. * * @return {this} This Game Object instance. @@ -173,7 +173,7 @@ var IsoTriangle = new Class({ * * @method Phaser.GameObjects.IsoTriangle#setReversed * @since 3.13.0 - * + * * @param {boolean} reversed - Sets if the iso triangle will be rendered upside down or not. * * @return {this} This Game Object instance. @@ -191,7 +191,7 @@ var IsoTriangle = new Class({ * * @method Phaser.GameObjects.IsoTriangle#setFaces * @since 3.13.0 - * + * * @param {boolean} [showTop=true] - Show the top-face of the iso triangle (only if `reversed` is true) * @param {boolean} [showLeft=true] - Show the left-face of the iso triangle. * @param {boolean} [showRight=true] - Show the right-face of the iso triangle. @@ -217,7 +217,7 @@ var IsoTriangle = new Class({ * * @method Phaser.GameObjects.IsoTriangle#setFillStyle * @since 3.13.0 - * + * * @param {number} [fillTop] - The color used to fill the top of the iso triangle. * @param {number} [fillLeft] - The color used to fill in the left-facing side of the iso triangle. * @param {number} [fillRight] - The color used to fill in the right-facing side of the iso triangle. diff --git a/src/gameobjects/shape/isotriangle/IsoTriangleCanvasRenderer.js b/src/gameobjects/shape/isotriangle/IsoTriangleCanvasRenderer.js index 9142452e5..108d18591 100644 --- a/src/gameobjects/shape/isotriangle/IsoTriangleCanvasRenderer.js +++ b/src/gameobjects/shape/isotriangle/IsoTriangleCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/isotriangle/IsoTriangleFactory.js b/src/gameobjects/shape/isotriangle/IsoTriangleFactory.js index 5fc16bbaa..3d65a7669 100644 --- a/src/gameobjects/shape/isotriangle/IsoTriangleFactory.js +++ b/src/gameobjects/shape/isotriangle/IsoTriangleFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,18 +11,18 @@ var IsoTriangle = require('./IsoTriangle'); * Creates a new IsoTriangle Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the IsoTriangle Game Object has been built into Phaser. - * + * * The IsoTriangle Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports only fill colors and cannot be stroked. - * + * * An IsoTriangle is an 'isometric' triangle. Think of it like a pyramid. Each face has a different * fill color. You can set the color of the top, left and right faces of the triangle respectively * You can also choose which of the faces are rendered via the `showTop`, `showLeft` and `showRight` properties. - * + * * You cannot view an IsoTriangle from under-neath, however you can change the 'angle' by setting * the `projection` property. The `reversed` property controls if the IsoTriangle is rendered upside * down or not. diff --git a/src/gameobjects/shape/isotriangle/IsoTriangleRender.js b/src/gameobjects/shape/isotriangle/IsoTriangleRender.js index 494738ced..36af777a4 100644 --- a/src/gameobjects/shape/isotriangle/IsoTriangleRender.js +++ b/src/gameobjects/shape/isotriangle/IsoTriangleRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/isotriangle/IsoTriangleWebGLRenderer.js b/src/gameobjects/shape/isotriangle/IsoTriangleWebGLRenderer.js index 124acc19c..b829ba0be 100644 --- a/src/gameobjects/shape/isotriangle/IsoTriangleWebGLRenderer.js +++ b/src/gameobjects/shape/isotriangle/IsoTriangleWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/line/Line.js b/src/gameobjects/shape/line/Line.js index 9fe623ab2..4646c67a4 100644 --- a/src/gameobjects/shape/line/Line.js +++ b/src/gameobjects/shape/line/Line.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/line/LineCanvasRenderer.js b/src/gameobjects/shape/line/LineCanvasRenderer.js index bf7ed836c..9daf1fa37 100644 --- a/src/gameobjects/shape/line/LineCanvasRenderer.js +++ b/src/gameobjects/shape/line/LineCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/line/LineFactory.js b/src/gameobjects/shape/line/LineFactory.js index 0f2da4aef..fe9c17509 100644 --- a/src/gameobjects/shape/line/LineFactory.js +++ b/src/gameobjects/shape/line/LineFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,18 +11,18 @@ var Line = require('./Line'); * Creates a new Line Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the Line Game Object has been built into Phaser. - * + * * The Line Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports only stroke colors and cannot be filled. - * + * * A Line Shape allows you to draw a line between two points in your game. You can control the * stroke color and thickness of the line. In WebGL only you can also specify a different * thickness for the start and end of the line, allowing you to render lines that taper-off. - * + * * If you need to draw multiple lines in a sequence you may wish to use the Polygon Shape instead. * * @method Phaser.GameObjects.GameObjectFactory#line diff --git a/src/gameobjects/shape/line/LineRender.js b/src/gameobjects/shape/line/LineRender.js index 8a8e2a83e..e6d7f7a9b 100644 --- a/src/gameobjects/shape/line/LineRender.js +++ b/src/gameobjects/shape/line/LineRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/line/LineWebGLRenderer.js b/src/gameobjects/shape/line/LineWebGLRenderer.js index 366f8c1bd..6d637f13a 100644 --- a/src/gameobjects/shape/line/LineWebGLRenderer.js +++ b/src/gameobjects/shape/line/LineWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/polygon/Polygon.js b/src/gameobjects/shape/polygon/Polygon.js index f94d1217c..9ead28198 100644 --- a/src/gameobjects/shape/polygon/Polygon.js +++ b/src/gameobjects/shape/polygon/Polygon.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -18,9 +18,9 @@ var Smooth = require('../../../geom/polygon/Smooth'); * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * The Polygon Shape is created by providing a list of points, which are then used to create an * internal Polygon geometry object. The points can be set from a variety of formats: * @@ -29,7 +29,7 @@ var Smooth = require('../../../geom/polygon/Smooth'); * - An array of objects with public x/y properties: `[obj1, obj2, ...]` * - An array of paired numbers that represent point coordinates: `[x1,y1, x2,y2, ...]` * - An array of arrays with two elements representing x/y coordinates: `[[x1, y1], [x2, y2], ...]` - * + * * By default the `x` and `y` coordinates of this Shape refer to the center of it. However, depending * on the coordinates of the points provided, the final shape may be rendered offset from its origin. * @@ -84,7 +84,7 @@ var Polygon = new Class({ * * @method Phaser.GameObjects.Polygon#smooth * @since 3.13.0 - * + * * @param {number} [iterations=1] - The number of times to apply the polygon smoothing. * * @return {this} This Game Object instance. diff --git a/src/gameobjects/shape/polygon/PolygonCanvasRenderer.js b/src/gameobjects/shape/polygon/PolygonCanvasRenderer.js index 941b925f1..bc42e9af4 100644 --- a/src/gameobjects/shape/polygon/PolygonCanvasRenderer.js +++ b/src/gameobjects/shape/polygon/PolygonCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/polygon/PolygonFactory.js b/src/gameobjects/shape/polygon/PolygonFactory.js index d0c03aac6..01e8a32cb 100644 --- a/src/gameobjects/shape/polygon/PolygonFactory.js +++ b/src/gameobjects/shape/polygon/PolygonFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,16 +9,16 @@ var Polygon = require('./Polygon'); /** * Creates a new Polygon Shape Game Object and adds it to the Scene. - * + * * Note: This method will only be available if the Polygon Game Object has been built into Phaser. - * + * * The Polygon Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * The Polygon Shape is created by providing a list of points, which are then used to create an * internal Polygon geometry object. The points can be set from a variety of formats: * @@ -26,7 +26,7 @@ var Polygon = require('./Polygon'); * - An array of objects with public x/y properties: `[obj1, obj2, ...]` * - An array of paired numbers that represent point coordinates: `[x1,y1, x2,y2, ...]` * - An array of arrays with two elements representing x/y coordinates: `[[x1, y1], [x2, y2], ...]` - * + * * By default the `x` and `y` coordinates of this Shape refer to the center of it. However, depending * on the coordinates of the points provided, the final shape may be rendered offset from its origin. * diff --git a/src/gameobjects/shape/polygon/PolygonRender.js b/src/gameobjects/shape/polygon/PolygonRender.js index 5e4897f1c..2e8c42504 100644 --- a/src/gameobjects/shape/polygon/PolygonRender.js +++ b/src/gameobjects/shape/polygon/PolygonRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/polygon/PolygonWebGLRenderer.js b/src/gameobjects/shape/polygon/PolygonWebGLRenderer.js index dcad89ba6..0426a8f10 100644 --- a/src/gameobjects/shape/polygon/PolygonWebGLRenderer.js +++ b/src/gameobjects/shape/polygon/PolygonWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/rectangle/Rectangle.js b/src/gameobjects/shape/rectangle/Rectangle.js index e0751b671..e78dad3e0 100644 --- a/src/gameobjects/shape/rectangle/Rectangle.js +++ b/src/gameobjects/shape/rectangle/Rectangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/rectangle/RectangleCanvasRenderer.js b/src/gameobjects/shape/rectangle/RectangleCanvasRenderer.js index 9b67c4569..84daec9f9 100644 --- a/src/gameobjects/shape/rectangle/RectangleCanvasRenderer.js +++ b/src/gameobjects/shape/rectangle/RectangleCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/rectangle/RectangleFactory.js b/src/gameobjects/shape/rectangle/RectangleFactory.js index 41ffb1b6c..e56515727 100644 --- a/src/gameobjects/shape/rectangle/RectangleFactory.js +++ b/src/gameobjects/shape/rectangle/RectangleFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,14 +11,14 @@ var Rectangle = require('./Rectangle'); * Creates a new Rectangle Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the Rectangle Game Object has been built into Phaser. - * + * * The Rectangle Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * You can change the size of the rectangle by changing the `width` and `height` properties. * * @method Phaser.GameObjects.GameObjectFactory#rectangle diff --git a/src/gameobjects/shape/rectangle/RectangleRender.js b/src/gameobjects/shape/rectangle/RectangleRender.js index 188fa6632..dbf1c1a5a 100644 --- a/src/gameobjects/shape/rectangle/RectangleRender.js +++ b/src/gameobjects/shape/rectangle/RectangleRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/rectangle/RectangleWebGLRenderer.js b/src/gameobjects/shape/rectangle/RectangleWebGLRenderer.js index f0d8d4dbf..d309ffc86 100644 --- a/src/gameobjects/shape/rectangle/RectangleWebGLRenderer.js +++ b/src/gameobjects/shape/rectangle/RectangleWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/star/Star.js b/src/gameobjects/shape/star/Star.js index 1fb01e525..080391b63 100644 --- a/src/gameobjects/shape/star/Star.js +++ b/src/gameobjects/shape/star/Star.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,14 +15,14 @@ var Shape = require('../Shape'); * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * As the name implies, the Star shape will display a star in your game. You can control several * aspects of it including the number of points that constitute the star. The default is 5. If * you change it to 4 it will render as a diamond. If you increase them, you'll get a more spiky * star shape. - * + * * You can also control the inner and outer radius, which is how 'long' each point of the star is. * Modify these values to create more interesting shapes. * @@ -112,7 +112,7 @@ var Star = new Class({ * * @method Phaser.GameObjects.Star#setPoints * @since 3.13.0 - * + * * @param {number} value - The amount of points the Star will have. * * @return {this} This Game Object instance. @@ -130,7 +130,7 @@ var Star = new Class({ * * @method Phaser.GameObjects.Star#setInnerRadius * @since 3.13.0 - * + * * @param {number} value - The amount to set the inner radius to. * * @return {this} This Game Object instance. @@ -148,7 +148,7 @@ var Star = new Class({ * * @method Phaser.GameObjects.Star#setOuterRadius * @since 3.13.0 - * + * * @param {number} value - The amount to set the outer radius to. * * @return {this} This Game Object instance. @@ -255,7 +255,7 @@ var Star = new Class({ // So origin 0.5 = the center of the star var x = outerRadius; var y = outerRadius; - + path.push(x, y + -outerRadius); for (var i = 0; i < points; i++) @@ -265,7 +265,7 @@ var Star = new Class({ rot += step; path.push(x + Math.cos(rot) * innerRadius, y + Math.sin(rot) * innerRadius); - + rot += step; } diff --git a/src/gameobjects/shape/star/StarCanvasRenderer.js b/src/gameobjects/shape/star/StarCanvasRenderer.js index 2f28b054b..d423348a9 100644 --- a/src/gameobjects/shape/star/StarCanvasRenderer.js +++ b/src/gameobjects/shape/star/StarCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/star/StarFactory.js b/src/gameobjects/shape/star/StarFactory.js index 5d621acf4..3f5725c8e 100644 --- a/src/gameobjects/shape/star/StarFactory.js +++ b/src/gameobjects/shape/star/StarFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,19 +11,19 @@ var GameObjectFactory = require('../../GameObjectFactory'); * Creates a new Star Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the Star Game Object has been built into Phaser. - * + * * The Star Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * As the name implies, the Star shape will display a star in your game. You can control several * aspects of it including the number of points that constitute the star. The default is 5. If * you change it to 4 it will render as a diamond. If you increase them, you'll get a more spiky * star shape. - * + * * You can also control the inner and outer radius, which is how 'long' each point of the star is. * Modify these values to create more interesting shapes. * diff --git a/src/gameobjects/shape/star/StarRender.js b/src/gameobjects/shape/star/StarRender.js index 966db1331..50fb6610a 100644 --- a/src/gameobjects/shape/star/StarRender.js +++ b/src/gameobjects/shape/star/StarRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/star/StarWebGLRenderer.js b/src/gameobjects/shape/star/StarWebGLRenderer.js index ca325c40d..05d22bcb4 100644 --- a/src/gameobjects/shape/star/StarWebGLRenderer.js +++ b/src/gameobjects/shape/star/StarWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/triangle/Triangle.js b/src/gameobjects/shape/triangle/Triangle.js index d4446df6f..b28c86650 100644 --- a/src/gameobjects/shape/triangle/Triangle.js +++ b/src/gameobjects/shape/triangle/Triangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,9 +15,9 @@ var TriangleRender = require('./TriangleRender'); * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * The Triangle consists of 3 lines, joining up to form a triangular shape. You can control the * position of each point of these lines. The triangle is always closed and cannot have an open * face. If you require that, consider using a Polygon instead. diff --git a/src/gameobjects/shape/triangle/TriangleCanvasRenderer.js b/src/gameobjects/shape/triangle/TriangleCanvasRenderer.js index a2dd274aa..401307759 100644 --- a/src/gameobjects/shape/triangle/TriangleCanvasRenderer.js +++ b/src/gameobjects/shape/triangle/TriangleCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/triangle/TriangleFactory.js b/src/gameobjects/shape/triangle/TriangleFactory.js index c5505a15c..db29cdb07 100644 --- a/src/gameobjects/shape/triangle/TriangleFactory.js +++ b/src/gameobjects/shape/triangle/TriangleFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,14 +11,14 @@ var Triangle = require('./Triangle'); * Creates a new Triangle Shape Game Object and adds it to the Scene. * * Note: This method will only be available if the Triangle Game Object has been built into Phaser. - * + * * The Triangle Shape is a Game Object that can be added to a Scene, Group or Container. You can * treat it like any other Game Object in your game, such as tweening it, scaling it, or enabling * it for input or physics. It provides a quick and easy way for you to render this shape in your * game without using a texture, while still taking advantage of being fully batched in WebGL. - * + * * This shape supports both fill and stroke colors. - * + * * The Triangle consists of 3 lines, joining up to form a triangular shape. You can control the * position of each point of these lines. The triangle is always closed and cannot have an open * face. If you require that, consider using a Polygon instead. diff --git a/src/gameobjects/shape/triangle/TriangleRender.js b/src/gameobjects/shape/triangle/TriangleRender.js index d92eba5cd..13b5055ef 100644 --- a/src/gameobjects/shape/triangle/TriangleRender.js +++ b/src/gameobjects/shape/triangle/TriangleRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/shape/triangle/TriangleWebGLRenderer.js b/src/gameobjects/shape/triangle/TriangleWebGLRenderer.js index 86a0bf91c..640e08bc6 100644 --- a/src/gameobjects/shape/triangle/TriangleWebGLRenderer.js +++ b/src/gameobjects/shape/triangle/TriangleWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/sprite/Sprite.js b/src/gameobjects/sprite/Sprite.js index 083ddbb23..7cbbbb712 100644 --- a/src/gameobjects/sprite/Sprite.js +++ b/src/gameobjects/sprite/Sprite.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/sprite/SpriteCanvasRenderer.js b/src/gameobjects/sprite/SpriteCanvasRenderer.js index 0b3695660..bd9a87ecc 100644 --- a/src/gameobjects/sprite/SpriteCanvasRenderer.js +++ b/src/gameobjects/sprite/SpriteCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/sprite/SpriteCreator.js b/src/gameobjects/sprite/SpriteCreator.js index 1129522d4..7a1c97237 100644 --- a/src/gameobjects/sprite/SpriteCreator.js +++ b/src/gameobjects/sprite/SpriteCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/sprite/SpriteFactory.js b/src/gameobjects/sprite/SpriteFactory.js index 72f3e2ad2..9b276c8a0 100644 --- a/src/gameobjects/sprite/SpriteFactory.js +++ b/src/gameobjects/sprite/SpriteFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/sprite/SpriteRender.js b/src/gameobjects/sprite/SpriteRender.js index 5a4fcbeca..cf54afe7d 100644 --- a/src/gameobjects/sprite/SpriteRender.js +++ b/src/gameobjects/sprite/SpriteRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/sprite/SpriteWebGLRenderer.js b/src/gameobjects/sprite/SpriteWebGLRenderer.js index d29ac67fc..c73d0a43e 100644 --- a/src/gameobjects/sprite/SpriteWebGLRenderer.js +++ b/src/gameobjects/sprite/SpriteWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/sprite/typedefs/index.js b/src/gameobjects/sprite/typedefs/index.js index 21cbeda72..2477fb256 100644 --- a/src/gameobjects/sprite/typedefs/index.js +++ b/src/gameobjects/sprite/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/GetTextSize.js b/src/gameobjects/text/GetTextSize.js index d7f568a0f..bf087fe67 100644 --- a/src/gameobjects/text/GetTextSize.js +++ b/src/gameobjects/text/GetTextSize.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/MeasureText.js b/src/gameobjects/text/MeasureText.js index d06f001bb..8629ce3ef 100644 --- a/src/gameobjects/text/MeasureText.js +++ b/src/gameobjects/text/MeasureText.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/Text.js b/src/gameobjects/text/Text.js index 216fff2d9..e851a78b4 100644 --- a/src/gameobjects/text/Text.js +++ b/src/gameobjects/text/Text.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/TextCanvasRenderer.js b/src/gameobjects/text/TextCanvasRenderer.js index e3d98f736..bd9f9e7b5 100644 --- a/src/gameobjects/text/TextCanvasRenderer.js +++ b/src/gameobjects/text/TextCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/TextCreator.js b/src/gameobjects/text/TextCreator.js index 761efb9ef..a32463678 100644 --- a/src/gameobjects/text/TextCreator.js +++ b/src/gameobjects/text/TextCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/TextFactory.js b/src/gameobjects/text/TextFactory.js index 9ee74ab31..83fd386c2 100644 --- a/src/gameobjects/text/TextFactory.js +++ b/src/gameobjects/text/TextFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/TextRender.js b/src/gameobjects/text/TextRender.js index 0c58b8370..4768b844c 100644 --- a/src/gameobjects/text/TextRender.js +++ b/src/gameobjects/text/TextRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/TextStyle.js b/src/gameobjects/text/TextStyle.js index 21f7a9a3b..07e0f8f74 100644 --- a/src/gameobjects/text/TextStyle.js +++ b/src/gameobjects/text/TextStyle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/TextWebGLRenderer.js b/src/gameobjects/text/TextWebGLRenderer.js index 7e7e45063..27efdc132 100644 --- a/src/gameobjects/text/TextWebGLRenderer.js +++ b/src/gameobjects/text/TextWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/text/typedefs/index.js b/src/gameobjects/text/typedefs/index.js index 70c06926c..04119ea7f 100644 --- a/src/gameobjects/text/typedefs/index.js +++ b/src/gameobjects/text/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/tilesprite/TileSprite.js b/src/gameobjects/tilesprite/TileSprite.js index 7353090d1..1f4744b6d 100644 --- a/src/gameobjects/tilesprite/TileSprite.js +++ b/src/gameobjects/tilesprite/TileSprite.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/tilesprite/TileSpriteCanvasRenderer.js b/src/gameobjects/tilesprite/TileSpriteCanvasRenderer.js index 63b5715fa..b2f1da43c 100644 --- a/src/gameobjects/tilesprite/TileSpriteCanvasRenderer.js +++ b/src/gameobjects/tilesprite/TileSpriteCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/tilesprite/TileSpriteCreator.js b/src/gameobjects/tilesprite/TileSpriteCreator.js index 2407f1b9a..cf31b4ef7 100644 --- a/src/gameobjects/tilesprite/TileSpriteCreator.js +++ b/src/gameobjects/tilesprite/TileSpriteCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/tilesprite/TileSpriteFactory.js b/src/gameobjects/tilesprite/TileSpriteFactory.js index 2d74b4f4e..5b5cf8fb6 100644 --- a/src/gameobjects/tilesprite/TileSpriteFactory.js +++ b/src/gameobjects/tilesprite/TileSpriteFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/tilesprite/TileSpriteRender.js b/src/gameobjects/tilesprite/TileSpriteRender.js index 7960eaf21..40c688590 100644 --- a/src/gameobjects/tilesprite/TileSpriteRender.js +++ b/src/gameobjects/tilesprite/TileSpriteRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js b/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js index d568f81b0..c4667d5f5 100644 --- a/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js +++ b/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/tilesprite/typedefs/index.js b/src/gameobjects/tilesprite/typedefs/index.js index 906ba37cb..b466fbd42 100644 --- a/src/gameobjects/tilesprite/typedefs/index.js +++ b/src/gameobjects/tilesprite/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/typedefs/index.js b/src/gameobjects/typedefs/index.js index 081574801..a1a6e5539 100644 --- a/src/gameobjects/typedefs/index.js +++ b/src/gameobjects/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/video/Video.js b/src/gameobjects/video/Video.js index e40faed54..7fd6123d3 100644 --- a/src/gameobjects/video/Video.js +++ b/src/gameobjects/video/Video.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -77,6 +77,7 @@ var MATH_CONST = require('../../math/const'); * @extends Phaser.GameObjects.Components.BlendMode * @extends Phaser.GameObjects.Components.Depth * @extends Phaser.GameObjects.Components.Flip + * @extends Phaser.GameObjects.Components.FX * @extends Phaser.GameObjects.Components.GetBounds * @extends Phaser.GameObjects.Components.Mask * @extends Phaser.GameObjects.Components.Origin @@ -102,6 +103,7 @@ var Video = new Class({ Components.BlendMode, Components.Depth, Components.Flip, + Components.FX, Components.GetBounds, Components.Mask, Components.Origin, diff --git a/src/gameobjects/video/VideoCanvasRenderer.js b/src/gameobjects/video/VideoCanvasRenderer.js index 92829cef3..c5a5cad45 100644 --- a/src/gameobjects/video/VideoCanvasRenderer.js +++ b/src/gameobjects/video/VideoCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/video/VideoCreator.js b/src/gameobjects/video/VideoCreator.js index 237109fa1..de6fcab39 100644 --- a/src/gameobjects/video/VideoCreator.js +++ b/src/gameobjects/video/VideoCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/video/VideoFactory.js b/src/gameobjects/video/VideoFactory.js index a60558860..057ab3cac 100644 --- a/src/gameobjects/video/VideoFactory.js +++ b/src/gameobjects/video/VideoFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/video/VideoRender.js b/src/gameobjects/video/VideoRender.js index 129a17ba7..355d83337 100644 --- a/src/gameobjects/video/VideoRender.js +++ b/src/gameobjects/video/VideoRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/video/VideoWebGLRenderer.js b/src/gameobjects/video/VideoWebGLRenderer.js index bf5f469af..b1bdce5de 100644 --- a/src/gameobjects/video/VideoWebGLRenderer.js +++ b/src/gameobjects/video/VideoWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/video/typedefs/index.js b/src/gameobjects/video/typedefs/index.js index 894fb1df3..6c292b6d8 100644 --- a/src/gameobjects/video/typedefs/index.js +++ b/src/gameobjects/video/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/zone/Zone.js b/src/gameobjects/zone/Zone.js index 63877423e..13b03c5af 100644 --- a/src/gameobjects/zone/Zone.js +++ b/src/gameobjects/zone/Zone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/zone/ZoneCreator.js b/src/gameobjects/zone/ZoneCreator.js index a7817b65c..3497a4f82 100644 --- a/src/gameobjects/zone/ZoneCreator.js +++ b/src/gameobjects/zone/ZoneCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/gameobjects/zone/ZoneFactory.js b/src/gameobjects/zone/ZoneFactory.js index b8b6d5d24..5a088e940 100644 --- a/src/gameobjects/zone/ZoneFactory.js +++ b/src/gameobjects/zone/ZoneFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -19,7 +19,7 @@ var GameObjectFactory = require('../GameObjectFactory'); * @param {number} y - The vertical position of this Game Object in the world. * @param {number} width - The width of the Game Object. * @param {number} height - The height of the Game Object. - * + * * @return {Phaser.GameObjects.Zone} The Game Object that was created. */ GameObjectFactory.register('zone', function (x, y, width, height) @@ -28,9 +28,9 @@ GameObjectFactory.register('zone', function (x, y, width, height) }); // When registering a factory function 'this' refers to the GameObjectFactory context. -// +// // There are several properties available to use: -// +// // this.scene - a reference to the Scene that owns the GameObjectFactory // this.displayList - a reference to the Display List the Scene owns // this.updateList - a reference to the Update List the Scene owns diff --git a/src/gameobjects/zone/typedefs/index.js b/src/gameobjects/zone/typedefs/index.js index 98d3bb3c1..4809c7b32 100644 --- a/src/gameobjects/zone/typedefs/index.js +++ b/src/gameobjects/zone/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/Area.js b/src/geom/circle/Area.js index be2d4887c..421f8ee6e 100644 --- a/src/geom/circle/Area.js +++ b/src/geom/circle/Area.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/Circle.js b/src/geom/circle/Circle.js index 72f6aed25..7d9ee4620 100644 --- a/src/geom/circle/Circle.js +++ b/src/geom/circle/Circle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/Circumference.js b/src/geom/circle/Circumference.js index 73044976d..88041dd0a 100644 --- a/src/geom/circle/Circumference.js +++ b/src/geom/circle/Circumference.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/CircumferencePoint.js b/src/geom/circle/CircumferencePoint.js index 8866ceaa0..6f1ce7105 100644 --- a/src/geom/circle/CircumferencePoint.js +++ b/src/geom/circle/CircumferencePoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/Clone.js b/src/geom/circle/Clone.js index c2a010f99..39ec32b0f 100644 --- a/src/geom/circle/Clone.js +++ b/src/geom/circle/Clone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/Contains.js b/src/geom/circle/Contains.js index 18ea913c9..e26fa7025 100644 --- a/src/geom/circle/Contains.js +++ b/src/geom/circle/Contains.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/ContainsPoint.js b/src/geom/circle/ContainsPoint.js index 940c86f14..1e4808ac1 100644 --- a/src/geom/circle/ContainsPoint.js +++ b/src/geom/circle/ContainsPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/ContainsRect.js b/src/geom/circle/ContainsRect.js index f428c2b54..2ef22c5ec 100644 --- a/src/geom/circle/ContainsRect.js +++ b/src/geom/circle/ContainsRect.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/CopyFrom.js b/src/geom/circle/CopyFrom.js index fad7c223e..cfefeba7b 100644 --- a/src/geom/circle/CopyFrom.js +++ b/src/geom/circle/CopyFrom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/Equals.js b/src/geom/circle/Equals.js index bac237bad..4facd31ff 100644 --- a/src/geom/circle/Equals.js +++ b/src/geom/circle/Equals.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/GetBounds.js b/src/geom/circle/GetBounds.js index c234217bf..f2d537ea1 100644 --- a/src/geom/circle/GetBounds.js +++ b/src/geom/circle/GetBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/GetPoint.js b/src/geom/circle/GetPoint.js index 698db939a..dc14c546b 100644 --- a/src/geom/circle/GetPoint.js +++ b/src/geom/circle/GetPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/GetPoints.js b/src/geom/circle/GetPoints.js index 294654ee7..d541dc3bf 100644 --- a/src/geom/circle/GetPoints.js +++ b/src/geom/circle/GetPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/Offset.js b/src/geom/circle/Offset.js index 8bc4175d5..05a7c5cbc 100644 --- a/src/geom/circle/Offset.js +++ b/src/geom/circle/Offset.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/OffsetPoint.js b/src/geom/circle/OffsetPoint.js index de9938859..f5f12276d 100644 --- a/src/geom/circle/OffsetPoint.js +++ b/src/geom/circle/OffsetPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/Random.js b/src/geom/circle/Random.js index e75218779..e31b753a9 100644 --- a/src/geom/circle/Random.js +++ b/src/geom/circle/Random.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/circle/index.js b/src/geom/circle/index.js index 2c47dc3a0..656560e0c 100644 --- a/src/geom/circle/index.js +++ b/src/geom/circle/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/const.js b/src/geom/const.js index 980e26cf0..37ba3ef12 100644 --- a/src/geom/const.js +++ b/src/geom/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,7 +8,7 @@ var GEOM_CONST = { /** * A Circle Geometry object type. - * + * * @name Phaser.Geom.CIRCLE * @type {number} * @since 3.19.0 @@ -17,7 +17,7 @@ var GEOM_CONST = { /** * An Ellipse Geometry object type. - * + * * @name Phaser.Geom.ELLIPSE * @type {number} * @since 3.19.0 @@ -26,7 +26,7 @@ var GEOM_CONST = { /** * A Line Geometry object type. - * + * * @name Phaser.Geom.LINE * @type {number} * @since 3.19.0 @@ -35,7 +35,7 @@ var GEOM_CONST = { /** * A Point Geometry object type. - * + * * @name Phaser.Geom.POINT * @type {number} * @since 3.19.0 @@ -44,7 +44,7 @@ var GEOM_CONST = { /** * A Polygon Geometry object type. - * + * * @name Phaser.Geom.POLYGON * @type {number} * @since 3.19.0 @@ -53,7 +53,7 @@ var GEOM_CONST = { /** * A Rectangle Geometry object type. - * + * * @name Phaser.Geom.RECTANGLE * @type {number} * @since 3.19.0 @@ -62,7 +62,7 @@ var GEOM_CONST = { /** * A Triangle Geometry object type. - * + * * @name Phaser.Geom.TRIANGLE * @type {number} * @since 3.19.0 diff --git a/src/geom/ellipse/Area.js b/src/geom/ellipse/Area.js index bb5cb15b2..75e1e0743 100644 --- a/src/geom/ellipse/Area.js +++ b/src/geom/ellipse/Area.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/Circumference.js b/src/geom/ellipse/Circumference.js index 75fe314c6..c7ee44461 100644 --- a/src/geom/ellipse/Circumference.js +++ b/src/geom/ellipse/Circumference.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/CircumferencePoint.js b/src/geom/ellipse/CircumferencePoint.js index a3ce6df65..5365de4d3 100644 --- a/src/geom/ellipse/CircumferencePoint.js +++ b/src/geom/ellipse/CircumferencePoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/Clone.js b/src/geom/ellipse/Clone.js index 17657fd4f..4fc2c0809 100644 --- a/src/geom/ellipse/Clone.js +++ b/src/geom/ellipse/Clone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/Contains.js b/src/geom/ellipse/Contains.js index e0ace630d..1d1f683e4 100644 --- a/src/geom/ellipse/Contains.js +++ b/src/geom/ellipse/Contains.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/ContainsPoint.js b/src/geom/ellipse/ContainsPoint.js index 4260d0ebb..5cfec2e23 100644 --- a/src/geom/ellipse/ContainsPoint.js +++ b/src/geom/ellipse/ContainsPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/ContainsRect.js b/src/geom/ellipse/ContainsRect.js index f3427889a..db4180258 100644 --- a/src/geom/ellipse/ContainsRect.js +++ b/src/geom/ellipse/ContainsRect.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/CopyFrom.js b/src/geom/ellipse/CopyFrom.js index 6e0374235..e257d284c 100644 --- a/src/geom/ellipse/CopyFrom.js +++ b/src/geom/ellipse/CopyFrom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/Ellipse.js b/src/geom/ellipse/Ellipse.js index 932566e91..a2dcabce2 100644 --- a/src/geom/ellipse/Ellipse.js +++ b/src/geom/ellipse/Ellipse.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/Equals.js b/src/geom/ellipse/Equals.js index 6395d9daa..5695d7fbd 100644 --- a/src/geom/ellipse/Equals.js +++ b/src/geom/ellipse/Equals.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/GetBounds.js b/src/geom/ellipse/GetBounds.js index 141ce5c8a..0ea653e11 100644 --- a/src/geom/ellipse/GetBounds.js +++ b/src/geom/ellipse/GetBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/GetPoint.js b/src/geom/ellipse/GetPoint.js index 7a1242600..4958d2f15 100644 --- a/src/geom/ellipse/GetPoint.js +++ b/src/geom/ellipse/GetPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/GetPoints.js b/src/geom/ellipse/GetPoints.js index 67f2fd8ff..03004d307 100644 --- a/src/geom/ellipse/GetPoints.js +++ b/src/geom/ellipse/GetPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/Offset.js b/src/geom/ellipse/Offset.js index a2089241e..e5a3e0540 100644 --- a/src/geom/ellipse/Offset.js +++ b/src/geom/ellipse/Offset.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/OffsetPoint.js b/src/geom/ellipse/OffsetPoint.js index 2309cc0f5..c988f8f86 100644 --- a/src/geom/ellipse/OffsetPoint.js +++ b/src/geom/ellipse/OffsetPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/Random.js b/src/geom/ellipse/Random.js index 0008fc7ed..5702c887a 100644 --- a/src/geom/ellipse/Random.js +++ b/src/geom/ellipse/Random.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/ellipse/index.js b/src/geom/ellipse/index.js index be7226eaa..ce336b13c 100644 --- a/src/geom/ellipse/index.js +++ b/src/geom/ellipse/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/index.js b/src/geom/index.js index 7e73292cd..3d92941f9 100644 --- a/src/geom/index.js +++ b/src/geom/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/CircleToCircle.js b/src/geom/intersects/CircleToCircle.js index 567abb25d..7b94bdff1 100644 --- a/src/geom/intersects/CircleToCircle.js +++ b/src/geom/intersects/CircleToCircle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/CircleToRectangle.js b/src/geom/intersects/CircleToRectangle.js index 3afd9f2a9..1a082e4f1 100644 --- a/src/geom/intersects/CircleToRectangle.js +++ b/src/geom/intersects/CircleToRectangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetCircleToCircle.js b/src/geom/intersects/GetCircleToCircle.js index b241a908d..86d4ea445 100644 --- a/src/geom/intersects/GetCircleToCircle.js +++ b/src/geom/intersects/GetCircleToCircle.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetCircleToRectangle.js b/src/geom/intersects/GetCircleToRectangle.js index edd7fc59e..93abd5bc2 100644 --- a/src/geom/intersects/GetCircleToRectangle.js +++ b/src/geom/intersects/GetCircleToRectangle.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetLineToCircle.js b/src/geom/intersects/GetLineToCircle.js index fa59407e3..304748c82 100644 --- a/src/geom/intersects/GetLineToCircle.js +++ b/src/geom/intersects/GetLineToCircle.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetLineToLine.js b/src/geom/intersects/GetLineToLine.js index 9b47aa3f2..e0661571c 100644 --- a/src/geom/intersects/GetLineToLine.js +++ b/src/geom/intersects/GetLineToLine.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetLineToPoints.js b/src/geom/intersects/GetLineToPoints.js index 9852d3d0a..ecffc14dd 100644 --- a/src/geom/intersects/GetLineToPoints.js +++ b/src/geom/intersects/GetLineToPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetLineToPolygon.js b/src/geom/intersects/GetLineToPolygon.js index 69942c28a..f8a823c8f 100644 --- a/src/geom/intersects/GetLineToPolygon.js +++ b/src/geom/intersects/GetLineToPolygon.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetLineToRectangle.js b/src/geom/intersects/GetLineToRectangle.js index 859866b29..d64c12ebb 100644 --- a/src/geom/intersects/GetLineToRectangle.js +++ b/src/geom/intersects/GetLineToRectangle.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetRaysFromPointToPolygon.js b/src/geom/intersects/GetRaysFromPointToPolygon.js index 5b9544a4e..79033ce24 100644 --- a/src/geom/intersects/GetRaysFromPointToPolygon.js +++ b/src/geom/intersects/GetRaysFromPointToPolygon.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetRectangleIntersection.js b/src/geom/intersects/GetRectangleIntersection.js index 9949b8143..00b10e8d9 100644 --- a/src/geom/intersects/GetRectangleIntersection.js +++ b/src/geom/intersects/GetRectangleIntersection.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,9 +9,9 @@ var RectangleToRectangle = require('./RectangleToRectangle'); /** * Checks if two Rectangle shapes intersect and returns the area of this intersection as Rectangle object. - * + * * If optional `output` parameter is omitted, new Rectangle object is created and returned. If there is intersection, it will contain intersection area. If there is no intersection, it wil be empty Rectangle (all values set to zero). - * + * * If Rectangle object is passed as `output` and there is intersection, then intersection area data will be loaded into it and it will be returned. If there is no intersection, it will be returned without any change. * * @function Phaser.Geom.Intersects.GetRectangleIntersection diff --git a/src/geom/intersects/GetRectangleToRectangle.js b/src/geom/intersects/GetRectangleToRectangle.js index 28f0808d9..dbba009da 100644 --- a/src/geom/intersects/GetRectangleToRectangle.js +++ b/src/geom/intersects/GetRectangleToRectangle.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetRectangleToTriangle.js b/src/geom/intersects/GetRectangleToTriangle.js index e574f7d44..beb27891d 100644 --- a/src/geom/intersects/GetRectangleToTriangle.js +++ b/src/geom/intersects/GetRectangleToTriangle.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetTriangleToCircle.js b/src/geom/intersects/GetTriangleToCircle.js index bf7877342..5c2caf19f 100644 --- a/src/geom/intersects/GetTriangleToCircle.js +++ b/src/geom/intersects/GetTriangleToCircle.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetTriangleToLine.js b/src/geom/intersects/GetTriangleToLine.js index 1490c1b7d..a5c341da1 100644 --- a/src/geom/intersects/GetTriangleToLine.js +++ b/src/geom/intersects/GetTriangleToLine.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/GetTriangleToTriangle.js b/src/geom/intersects/GetTriangleToTriangle.js index 01e759ba9..361c01a16 100644 --- a/src/geom/intersects/GetTriangleToTriangle.js +++ b/src/geom/intersects/GetTriangleToTriangle.js @@ -1,7 +1,7 @@ /** * @author Florian Vazelle * @author Geoffrey Glaive - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/LineToCircle.js b/src/geom/intersects/LineToCircle.js index 5c31b3cb7..1adcc3b2e 100644 --- a/src/geom/intersects/LineToCircle.js +++ b/src/geom/intersects/LineToCircle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -64,10 +64,10 @@ var LineToCircle = function (line, circle, nearest) nearest.x = line.x1 + px; nearest.y = line.y1 + py; - + // len2 of p var pLen2 = (px * px) + (py * py); - + return ( pLen2 <= dLen2 && ((px * dx) + (py * dy)) >= 0 && diff --git a/src/geom/intersects/LineToLine.js b/src/geom/intersects/LineToLine.js index 5a7a60a3e..7bd15bcfd 100644 --- a/src/geom/intersects/LineToLine.js +++ b/src/geom/intersects/LineToLine.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/LineToRectangle.js b/src/geom/intersects/LineToRectangle.js index dd483f23b..0e1994211 100644 --- a/src/geom/intersects/LineToRectangle.js +++ b/src/geom/intersects/LineToRectangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/PointToLine.js b/src/geom/intersects/PointToLine.js index e783fe496..b00a8f70e 100644 --- a/src/geom/intersects/PointToLine.js +++ b/src/geom/intersects/PointToLine.js @@ -1,13 +1,13 @@ /** * @author Richard Davey * @author Florian Mertens - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Checks if the a Point falls between the two end-points of a Line, based on the given line thickness. - * + * * Assumes that the line end points are circular, not square. * * @function Phaser.Geom.Intersects.PointToLine diff --git a/src/geom/intersects/PointToLineSegment.js b/src/geom/intersects/PointToLineSegment.js index bda719df1..c0ade55de 100644 --- a/src/geom/intersects/PointToLineSegment.js +++ b/src/geom/intersects/PointToLineSegment.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/RectangleToRectangle.js b/src/geom/intersects/RectangleToRectangle.js index 6f7a04620..24a6ba4df 100644 --- a/src/geom/intersects/RectangleToRectangle.js +++ b/src/geom/intersects/RectangleToRectangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/RectangleToTriangle.js b/src/geom/intersects/RectangleToTriangle.js index 7ddfb5a1b..d6b731251 100644 --- a/src/geom/intersects/RectangleToTriangle.js +++ b/src/geom/intersects/RectangleToTriangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/RectangleToValues.js b/src/geom/intersects/RectangleToValues.js index e6668c906..fed06c54b 100644 --- a/src/geom/intersects/RectangleToValues.js +++ b/src/geom/intersects/RectangleToValues.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/TriangleToCircle.js b/src/geom/intersects/TriangleToCircle.js index 7a8e6f271..35f421729 100644 --- a/src/geom/intersects/TriangleToCircle.js +++ b/src/geom/intersects/TriangleToCircle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/TriangleToLine.js b/src/geom/intersects/TriangleToLine.js index 0e31d4c4d..414675f79 100644 --- a/src/geom/intersects/TriangleToLine.js +++ b/src/geom/intersects/TriangleToLine.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/TriangleToTriangle.js b/src/geom/intersects/TriangleToTriangle.js index 69ae8421a..7a0c4f967 100644 --- a/src/geom/intersects/TriangleToTriangle.js +++ b/src/geom/intersects/TriangleToTriangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/intersects/index.js b/src/geom/intersects/index.js index 27a372470..c6782ba9a 100644 --- a/src/geom/intersects/index.js +++ b/src/geom/intersects/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Angle.js b/src/geom/line/Angle.js index 772fb79de..c437a0733 100644 --- a/src/geom/line/Angle.js +++ b/src/geom/line/Angle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/BresenhamPoints.js b/src/geom/line/BresenhamPoints.js index f8df554af..0e715f1ff 100644 --- a/src/geom/line/BresenhamPoints.js +++ b/src/geom/line/BresenhamPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/CenterOn.js b/src/geom/line/CenterOn.js index d425336bd..6aef411f9 100644 --- a/src/geom/line/CenterOn.js +++ b/src/geom/line/CenterOn.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Clone.js b/src/geom/line/Clone.js index 993648c14..9b7aedd64 100644 --- a/src/geom/line/Clone.js +++ b/src/geom/line/Clone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/CopyFrom.js b/src/geom/line/CopyFrom.js index 382e37803..87cf6d8b7 100644 --- a/src/geom/line/CopyFrom.js +++ b/src/geom/line/CopyFrom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Equals.js b/src/geom/line/Equals.js index 1f596ba45..0da0c1133 100644 --- a/src/geom/line/Equals.js +++ b/src/geom/line/Equals.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Extend.js b/src/geom/line/Extend.js index a2634967e..55b5a3d6e 100644 --- a/src/geom/line/Extend.js +++ b/src/geom/line/Extend.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/GetEasedPoints.js b/src/geom/line/GetEasedPoints.js index 4b3294580..dc5771733 100644 --- a/src/geom/line/GetEasedPoints.js +++ b/src/geom/line/GetEasedPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/GetMidPoint.js b/src/geom/line/GetMidPoint.js index 87e802778..7a0a03b9d 100644 --- a/src/geom/line/GetMidPoint.js +++ b/src/geom/line/GetMidPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/GetNearestPoint.js b/src/geom/line/GetNearestPoint.js index 0bf695059..1ba9ca73b 100644 --- a/src/geom/line/GetNearestPoint.js +++ b/src/geom/line/GetNearestPoint.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Florian Mertens - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/GetNormal.js b/src/geom/line/GetNormal.js index ce62b7b02..138cb9178 100644 --- a/src/geom/line/GetNormal.js +++ b/src/geom/line/GetNormal.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/GetPoint.js b/src/geom/line/GetPoint.js index c66cfbb76..32e445c46 100644 --- a/src/geom/line/GetPoint.js +++ b/src/geom/line/GetPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/GetPoints.js b/src/geom/line/GetPoints.js index c1b1b1749..c5187cae6 100644 --- a/src/geom/line/GetPoints.js +++ b/src/geom/line/GetPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/GetShortestDistance.js b/src/geom/line/GetShortestDistance.js index 0087bcc6b..cff8cf83d 100644 --- a/src/geom/line/GetShortestDistance.js +++ b/src/geom/line/GetShortestDistance.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Florian Mertens - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Height.js b/src/geom/line/Height.js index f35bdd09e..1c7101cf1 100644 --- a/src/geom/line/Height.js +++ b/src/geom/line/Height.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Length.js b/src/geom/line/Length.js index 116623f47..51570bf36 100644 --- a/src/geom/line/Length.js +++ b/src/geom/line/Length.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Line.js b/src/geom/line/Line.js index a40585888..5c1af148a 100644 --- a/src/geom/line/Line.js +++ b/src/geom/line/Line.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/NormalAngle.js b/src/geom/line/NormalAngle.js index 80eda7992..f14abe928 100644 --- a/src/geom/line/NormalAngle.js +++ b/src/geom/line/NormalAngle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/NormalX.js b/src/geom/line/NormalX.js index 8cb0a3d84..d3f693d22 100644 --- a/src/geom/line/NormalX.js +++ b/src/geom/line/NormalX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/NormalY.js b/src/geom/line/NormalY.js index 23e5fea92..d994494d2 100644 --- a/src/geom/line/NormalY.js +++ b/src/geom/line/NormalY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Offset.js b/src/geom/line/Offset.js index f38f1d443..3646e1d8e 100644 --- a/src/geom/line/Offset.js +++ b/src/geom/line/Offset.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/PerpSlope.js b/src/geom/line/PerpSlope.js index 8a82aadec..d2e2612e7 100644 --- a/src/geom/line/PerpSlope.js +++ b/src/geom/line/PerpSlope.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Random.js b/src/geom/line/Random.js index f56db0223..9b11b65fb 100644 --- a/src/geom/line/Random.js +++ b/src/geom/line/Random.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/ReflectAngle.js b/src/geom/line/ReflectAngle.js index af90f37d7..6dfd3adf6 100644 --- a/src/geom/line/ReflectAngle.js +++ b/src/geom/line/ReflectAngle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Rotate.js b/src/geom/line/Rotate.js index 7afcb30f5..9c3ca5e11 100644 --- a/src/geom/line/Rotate.js +++ b/src/geom/line/Rotate.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/RotateAroundPoint.js b/src/geom/line/RotateAroundPoint.js index 894355bf2..120844a9d 100644 --- a/src/geom/line/RotateAroundPoint.js +++ b/src/geom/line/RotateAroundPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/RotateAroundXY.js b/src/geom/line/RotateAroundXY.js index 63669f6b3..9b8ffb7cf 100644 --- a/src/geom/line/RotateAroundXY.js +++ b/src/geom/line/RotateAroundXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/SetToAngle.js b/src/geom/line/SetToAngle.js index cc061a1df..0a6a5b724 100644 --- a/src/geom/line/SetToAngle.js +++ b/src/geom/line/SetToAngle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Slope.js b/src/geom/line/Slope.js index 8b0b77278..1c3e48fa5 100644 --- a/src/geom/line/Slope.js +++ b/src/geom/line/Slope.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/Width.js b/src/geom/line/Width.js index 83d78b6ee..401d984d7 100644 --- a/src/geom/line/Width.js +++ b/src/geom/line/Width.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/line/index.js b/src/geom/line/index.js index 60a5c26f9..9fdc67644 100644 --- a/src/geom/line/index.js +++ b/src/geom/line/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/Face.js b/src/geom/mesh/Face.js index 6c39d7299..f29c9b975 100644 --- a/src/geom/mesh/Face.js +++ b/src/geom/mesh/Face.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/GenerateGridVerts.js b/src/geom/mesh/GenerateGridVerts.js index d324d0ee8..f840b14bf 100644 --- a/src/geom/mesh/GenerateGridVerts.js +++ b/src/geom/mesh/GenerateGridVerts.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/GenerateObjVerts.js b/src/geom/mesh/GenerateObjVerts.js index a61233ab3..b90bbd92e 100644 --- a/src/geom/mesh/GenerateObjVerts.js +++ b/src/geom/mesh/GenerateObjVerts.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/GenerateVerts.js b/src/geom/mesh/GenerateVerts.js index f07946ca3..820c4538a 100644 --- a/src/geom/mesh/GenerateVerts.js +++ b/src/geom/mesh/GenerateVerts.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/ParseObj.js b/src/geom/mesh/ParseObj.js index 9a9ca803b..4e0d88bd0 100644 --- a/src/geom/mesh/ParseObj.js +++ b/src/geom/mesh/ParseObj.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/ParseObjMaterial.js b/src/geom/mesh/ParseObjMaterial.js index 98f40566a..e02436304 100644 --- a/src/geom/mesh/ParseObjMaterial.js +++ b/src/geom/mesh/ParseObjMaterial.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/RotateFace.js b/src/geom/mesh/RotateFace.js index 68ec677b3..65fabdacd 100644 --- a/src/geom/mesh/RotateFace.js +++ b/src/geom/mesh/RotateFace.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/Vertex.js b/src/geom/mesh/Vertex.js index 9c411a21e..4d16b5502 100644 --- a/src/geom/mesh/Vertex.js +++ b/src/geom/mesh/Vertex.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/index.js b/src/geom/mesh/index.js index dcf8a097b..0a91b8d3e 100644 --- a/src/geom/mesh/index.js +++ b/src/geom/mesh/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/mesh/typedefs/index.js b/src/geom/mesh/typedefs/index.js index ad142cffb..9443016c6 100644 --- a/src/geom/mesh/typedefs/index.js +++ b/src/geom/mesh/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Ceil.js b/src/geom/point/Ceil.js index a39101e68..8d835fb55 100644 --- a/src/geom/point/Ceil.js +++ b/src/geom/point/Ceil.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Clone.js b/src/geom/point/Clone.js index 9d7249fc0..682a963a6 100644 --- a/src/geom/point/Clone.js +++ b/src/geom/point/Clone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/CopyFrom.js b/src/geom/point/CopyFrom.js index e71112e39..9956780f6 100644 --- a/src/geom/point/CopyFrom.js +++ b/src/geom/point/CopyFrom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Equals.js b/src/geom/point/Equals.js index 3084664ae..714a4696b 100644 --- a/src/geom/point/Equals.js +++ b/src/geom/point/Equals.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Floor.js b/src/geom/point/Floor.js index d158f17a0..685450ece 100644 --- a/src/geom/point/Floor.js +++ b/src/geom/point/Floor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/GetCentroid.js b/src/geom/point/GetCentroid.js index c081fe4f8..f6dba8cd2 100644 --- a/src/geom/point/GetCentroid.js +++ b/src/geom/point/GetCentroid.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/GetMagnitude.js b/src/geom/point/GetMagnitude.js index 07fae43fc..9f31dba66 100644 --- a/src/geom/point/GetMagnitude.js +++ b/src/geom/point/GetMagnitude.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/GetMagnitudeSq.js b/src/geom/point/GetMagnitudeSq.js index dd80db75b..a5496a579 100644 --- a/src/geom/point/GetMagnitudeSq.js +++ b/src/geom/point/GetMagnitudeSq.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/GetRectangleFromPoints.js b/src/geom/point/GetRectangleFromPoints.js index 3927bbadf..44bf8cb58 100644 --- a/src/geom/point/GetRectangleFromPoints.js +++ b/src/geom/point/GetRectangleFromPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Interpolate.js b/src/geom/point/Interpolate.js index fcd4e1a90..568b836ed 100644 --- a/src/geom/point/Interpolate.js +++ b/src/geom/point/Interpolate.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Invert.js b/src/geom/point/Invert.js index 698dcdcc4..56086e108 100644 --- a/src/geom/point/Invert.js +++ b/src/geom/point/Invert.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Negative.js b/src/geom/point/Negative.js index a013d869f..edf3ce6e7 100644 --- a/src/geom/point/Negative.js +++ b/src/geom/point/Negative.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Point.js b/src/geom/point/Point.js index 2c5164b7d..69a745064 100644 --- a/src/geom/point/Point.js +++ b/src/geom/point/Point.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/Project.js b/src/geom/point/Project.js index b269800fc..22f029c35 100644 --- a/src/geom/point/Project.js +++ b/src/geom/point/Project.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/ProjectUnit.js b/src/geom/point/ProjectUnit.js index 236d2a2db..e1ec24cae 100644 --- a/src/geom/point/ProjectUnit.js +++ b/src/geom/point/ProjectUnit.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/SetMagnitude.js b/src/geom/point/SetMagnitude.js index ef4f907b3..02c9b352c 100644 --- a/src/geom/point/SetMagnitude.js +++ b/src/geom/point/SetMagnitude.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/point/index.js b/src/geom/point/index.js index 53c1cd950..e47eae979 100644 --- a/src/geom/point/index.js +++ b/src/geom/point/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/Clone.js b/src/geom/polygon/Clone.js index 5d314dac4..01a552c00 100644 --- a/src/geom/polygon/Clone.js +++ b/src/geom/polygon/Clone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/Contains.js b/src/geom/polygon/Contains.js index fada1a347..e35bb50af 100644 --- a/src/geom/polygon/Contains.js +++ b/src/geom/polygon/Contains.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/ContainsPoint.js b/src/geom/polygon/ContainsPoint.js index 09e52a7c2..635c79335 100644 --- a/src/geom/polygon/ContainsPoint.js +++ b/src/geom/polygon/ContainsPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/Earcut.js b/src/geom/polygon/Earcut.js index e469b4538..3465535f8 100644 --- a/src/geom/polygon/Earcut.js +++ b/src/geom/polygon/Earcut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/GetAABB.js b/src/geom/polygon/GetAABB.js index 36a93f799..bed4d11e1 100644 --- a/src/geom/polygon/GetAABB.js +++ b/src/geom/polygon/GetAABB.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/GetNumberArray.js b/src/geom/polygon/GetNumberArray.js index b039b05b8..cf6f18fd5 100644 --- a/src/geom/polygon/GetNumberArray.js +++ b/src/geom/polygon/GetNumberArray.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/GetPoints.js b/src/geom/polygon/GetPoints.js index cf46fc3a7..0248afe1c 100644 --- a/src/geom/polygon/GetPoints.js +++ b/src/geom/polygon/GetPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/Perimeter.js b/src/geom/polygon/Perimeter.js index bd6d5587f..4e628c058 100644 --- a/src/geom/polygon/Perimeter.js +++ b/src/geom/polygon/Perimeter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/Polygon.js b/src/geom/polygon/Polygon.js index c701de371..ad2986aef 100644 --- a/src/geom/polygon/Polygon.js +++ b/src/geom/polygon/Polygon.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/Reverse.js b/src/geom/polygon/Reverse.js index 354e133a6..ad2cf5df9 100644 --- a/src/geom/polygon/Reverse.js +++ b/src/geom/polygon/Reverse.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/Smooth.js b/src/geom/polygon/Smooth.js index 3e77d9889..170e41d8d 100644 --- a/src/geom/polygon/Smooth.js +++ b/src/geom/polygon/Smooth.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Igor Ognichenko - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -12,7 +12,7 @@ var copy = function (out, a) { out[0] = a[0]; out[1] = a[1]; - + return out; }; @@ -40,12 +40,12 @@ var Smooth = function (polygon) } var output = []; - + if (points.length > 0) { output.push(copy([ 0, 0 ], points[0])); } - + for (i = 0; i < points.length - 1; i++) { var p0 = points[i]; @@ -58,12 +58,12 @@ var Smooth = function (polygon) output.push([ 0.85 * p0x + 0.15 * p1x, 0.85 * p0y + 0.15 * p1y ]); output.push([ 0.15 * p0x + 0.85 * p1x, 0.15 * p0y + 0.85 * p1y ]); } - + if (points.length > 1) { output.push(copy([ 0, 0 ], points[points.length - 1])); } - + return polygon.setTo(output); }; diff --git a/src/geom/polygon/Translate.js b/src/geom/polygon/Translate.js index a03dd0f5f..016a9d50a 100644 --- a/src/geom/polygon/Translate.js +++ b/src/geom/polygon/Translate.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/polygon/index.js b/src/geom/polygon/index.js index 9de3aa96a..25e354eb2 100644 --- a/src/geom/polygon/index.js +++ b/src/geom/polygon/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Area.js b/src/geom/rectangle/Area.js index fb13b7c29..009dd5575 100644 --- a/src/geom/rectangle/Area.js +++ b/src/geom/rectangle/Area.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Ceil.js b/src/geom/rectangle/Ceil.js index dd6ad15f3..02943dd84 100644 --- a/src/geom/rectangle/Ceil.js +++ b/src/geom/rectangle/Ceil.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/CeilAll.js b/src/geom/rectangle/CeilAll.js index 3b65d994e..358689e88 100644 --- a/src/geom/rectangle/CeilAll.js +++ b/src/geom/rectangle/CeilAll.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/CenterOn.js b/src/geom/rectangle/CenterOn.js index f1bb3298e..ab48c9a60 100644 --- a/src/geom/rectangle/CenterOn.js +++ b/src/geom/rectangle/CenterOn.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Clone.js b/src/geom/rectangle/Clone.js index a7d50a4e4..48afca34e 100644 --- a/src/geom/rectangle/Clone.js +++ b/src/geom/rectangle/Clone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Contains.js b/src/geom/rectangle/Contains.js index 382a8d2f4..ddef2dfd4 100644 --- a/src/geom/rectangle/Contains.js +++ b/src/geom/rectangle/Contains.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/ContainsPoint.js b/src/geom/rectangle/ContainsPoint.js index fe3761578..c34e20b8f 100644 --- a/src/geom/rectangle/ContainsPoint.js +++ b/src/geom/rectangle/ContainsPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/ContainsRect.js b/src/geom/rectangle/ContainsRect.js index 979a2ee07..b4a477e02 100644 --- a/src/geom/rectangle/ContainsRect.js +++ b/src/geom/rectangle/ContainsRect.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/CopyFrom.js b/src/geom/rectangle/CopyFrom.js index 2db18a759..92100fa8f 100644 --- a/src/geom/rectangle/CopyFrom.js +++ b/src/geom/rectangle/CopyFrom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Decompose.js b/src/geom/rectangle/Decompose.js index ad331ff98..465e9105f 100644 --- a/src/geom/rectangle/Decompose.js +++ b/src/geom/rectangle/Decompose.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Equals.js b/src/geom/rectangle/Equals.js index a8a7c037e..9aa3c68bc 100644 --- a/src/geom/rectangle/Equals.js +++ b/src/geom/rectangle/Equals.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/FitInside.js b/src/geom/rectangle/FitInside.js index cc4c5a3c5..be9cda44f 100644 --- a/src/geom/rectangle/FitInside.js +++ b/src/geom/rectangle/FitInside.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -10,7 +10,7 @@ var GetAspectRatio = require('./GetAspectRatio'); * Adjusts the target rectangle, changing its width, height and position, * so that it fits inside the area of the source rectangle, while maintaining its original * aspect ratio. - * + * * Unlike the `FitOutside` function, there may be some space inside the source area not covered. * * @function Phaser.Geom.Rectangle.FitInside diff --git a/src/geom/rectangle/FitOutside.js b/src/geom/rectangle/FitOutside.js index 4bc148c01..d4d176213 100644 --- a/src/geom/rectangle/FitOutside.js +++ b/src/geom/rectangle/FitOutside.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -10,7 +10,7 @@ var GetAspectRatio = require('./GetAspectRatio'); * Adjusts the target rectangle, changing its width, height and position, * so that it fully covers the area of the source rectangle, while maintaining its original * aspect ratio. - * + * * Unlike the `FitInside` function, the target rectangle may extend further out than the source. * * @function Phaser.Geom.Rectangle.FitOutside diff --git a/src/geom/rectangle/Floor.js b/src/geom/rectangle/Floor.js index 8f79186cb..dbec6ce91 100644 --- a/src/geom/rectangle/Floor.js +++ b/src/geom/rectangle/Floor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/FloorAll.js b/src/geom/rectangle/FloorAll.js index c5c48fcb2..5f0f41f1a 100644 --- a/src/geom/rectangle/FloorAll.js +++ b/src/geom/rectangle/FloorAll.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/FromPoints.js b/src/geom/rectangle/FromPoints.js index 4cf816736..65a3b9400 100644 --- a/src/geom/rectangle/FromPoints.js +++ b/src/geom/rectangle/FromPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/FromXY.js b/src/geom/rectangle/FromXY.js index 1b0226007..82434f0a6 100644 --- a/src/geom/rectangle/FromXY.js +++ b/src/geom/rectangle/FromXY.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/GetAspectRatio.js b/src/geom/rectangle/GetAspectRatio.js index 155023155..bfd1a95c9 100644 --- a/src/geom/rectangle/GetAspectRatio.js +++ b/src/geom/rectangle/GetAspectRatio.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/GetCenter.js b/src/geom/rectangle/GetCenter.js index af8d98793..97b38bc4e 100644 --- a/src/geom/rectangle/GetCenter.js +++ b/src/geom/rectangle/GetCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/GetPoint.js b/src/geom/rectangle/GetPoint.js index 3a4f4dfcf..bf4982557 100644 --- a/src/geom/rectangle/GetPoint.js +++ b/src/geom/rectangle/GetPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,9 +9,9 @@ var Point = require('../point/Point'); /** * Calculates the coordinates of a point at a certain `position` on the Rectangle's perimeter. - * + * * The `position` is a fraction between 0 and 1 which defines how far into the perimeter the point is. - * + * * A value of 0 or 1 returns the point at the top left corner of the rectangle, while a value of 0.5 returns the point at the bottom right corner of the rectangle. Values between 0 and 0.5 are on the top or the right side and values between 0.5 and 1 are on the bottom or the left side. * * @function Phaser.Geom.Rectangle.GetPoint diff --git a/src/geom/rectangle/GetPoints.js b/src/geom/rectangle/GetPoints.js index ca807aa3c..43e491c97 100644 --- a/src/geom/rectangle/GetPoints.js +++ b/src/geom/rectangle/GetPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/GetSize.js b/src/geom/rectangle/GetSize.js index d8f8f5fd7..abf970ee8 100644 --- a/src/geom/rectangle/GetSize.js +++ b/src/geom/rectangle/GetSize.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Inflate.js b/src/geom/rectangle/Inflate.js index cbf12e200..cc114bc22 100644 --- a/src/geom/rectangle/Inflate.js +++ b/src/geom/rectangle/Inflate.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Intersection.js b/src/geom/rectangle/Intersection.js index fc7357163..3bf6126f9 100644 --- a/src/geom/rectangle/Intersection.js +++ b/src/geom/rectangle/Intersection.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/MarchingAnts.js b/src/geom/rectangle/MarchingAnts.js index 6473eee29..93df2007c 100644 --- a/src/geom/rectangle/MarchingAnts.js +++ b/src/geom/rectangle/MarchingAnts.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/MergePoints.js b/src/geom/rectangle/MergePoints.js index d3544cc3b..0d82d8154 100644 --- a/src/geom/rectangle/MergePoints.js +++ b/src/geom/rectangle/MergePoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/MergeRect.js b/src/geom/rectangle/MergeRect.js index 448a77ab4..5da0286c9 100644 --- a/src/geom/rectangle/MergeRect.js +++ b/src/geom/rectangle/MergeRect.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/MergeXY.js b/src/geom/rectangle/MergeXY.js index 1f4f51d0c..3c2a0fbc8 100644 --- a/src/geom/rectangle/MergeXY.js +++ b/src/geom/rectangle/MergeXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Offset.js b/src/geom/rectangle/Offset.js index f70882059..641a215a2 100644 --- a/src/geom/rectangle/Offset.js +++ b/src/geom/rectangle/Offset.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/OffsetPoint.js b/src/geom/rectangle/OffsetPoint.js index b06e8965f..632d23f98 100644 --- a/src/geom/rectangle/OffsetPoint.js +++ b/src/geom/rectangle/OffsetPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Overlaps.js b/src/geom/rectangle/Overlaps.js index b595d6521..5a8e8eb6d 100644 --- a/src/geom/rectangle/Overlaps.js +++ b/src/geom/rectangle/Overlaps.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Perimeter.js b/src/geom/rectangle/Perimeter.js index 68eaf0d4b..c569bd6e4 100644 --- a/src/geom/rectangle/Perimeter.js +++ b/src/geom/rectangle/Perimeter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/PerimeterPoint.js b/src/geom/rectangle/PerimeterPoint.js index d03f53d64..5a44ef848 100644 --- a/src/geom/rectangle/PerimeterPoint.js +++ b/src/geom/rectangle/PerimeterPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Random.js b/src/geom/rectangle/Random.js index 713956116..c2e78567b 100644 --- a/src/geom/rectangle/Random.js +++ b/src/geom/rectangle/Random.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/RandomOutside.js b/src/geom/rectangle/RandomOutside.js index 19682f4d1..7632202ac 100644 --- a/src/geom/rectangle/RandomOutside.js +++ b/src/geom/rectangle/RandomOutside.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Rectangle.js b/src/geom/rectangle/Rectangle.js index f20be8fd0..fd434d84a 100644 --- a/src/geom/rectangle/Rectangle.js +++ b/src/geom/rectangle/Rectangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -107,9 +107,9 @@ var Rectangle = new Class({ /** * Calculates the coordinates of a point at a certain `position` on the Rectangle's perimeter. - * + * * The `position` is a fraction between 0 and 1 which defines how far into the perimeter the point is. - * + * * A value of 0 or 1 returns the point at the top left corner of the rectangle, while a value of 0.5 returns the point at the bottom right corner of the rectangle. Values between 0 and 0.5 are on the top or the right side and values between 0.5 and 1 are on the bottom or the left side. * * @method Phaser.Geom.Rectangle#getPoint diff --git a/src/geom/rectangle/SameDimensions.js b/src/geom/rectangle/SameDimensions.js index 64fc94659..b3426ae3e 100644 --- a/src/geom/rectangle/SameDimensions.js +++ b/src/geom/rectangle/SameDimensions.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Scale.js b/src/geom/rectangle/Scale.js index efbbcc174..d09259b78 100644 --- a/src/geom/rectangle/Scale.js +++ b/src/geom/rectangle/Scale.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/Union.js b/src/geom/rectangle/Union.js index 6ac609c91..26267ca96 100644 --- a/src/geom/rectangle/Union.js +++ b/src/geom/rectangle/Union.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/rectangle/index.js b/src/geom/rectangle/index.js index c7cbb2481..e8f51560e 100644 --- a/src/geom/rectangle/index.js +++ b/src/geom/rectangle/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Area.js b/src/geom/triangle/Area.js index bf06dad21..bcc73f377 100644 --- a/src/geom/triangle/Area.js +++ b/src/geom/triangle/Area.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/BuildEquilateral.js b/src/geom/triangle/BuildEquilateral.js index 1e8563052..c24bfd8b4 100644 --- a/src/geom/triangle/BuildEquilateral.js +++ b/src/geom/triangle/BuildEquilateral.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/BuildFromPolygon.js b/src/geom/triangle/BuildFromPolygon.js index f8a1096fc..fb5c936f6 100644 --- a/src/geom/triangle/BuildFromPolygon.js +++ b/src/geom/triangle/BuildFromPolygon.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/BuildRight.js b/src/geom/triangle/BuildRight.js index 5d7578fb9..93af3a3e1 100644 --- a/src/geom/triangle/BuildRight.js +++ b/src/geom/triangle/BuildRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/CenterOn.js b/src/geom/triangle/CenterOn.js index 53b6d7a97..68f41e08a 100644 --- a/src/geom/triangle/CenterOn.js +++ b/src/geom/triangle/CenterOn.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Centroid.js b/src/geom/triangle/Centroid.js index 3cec6d16c..44248967b 100644 --- a/src/geom/triangle/Centroid.js +++ b/src/geom/triangle/Centroid.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/CircumCenter.js b/src/geom/triangle/CircumCenter.js index a8bae4ffa..17ede09f3 100644 --- a/src/geom/triangle/CircumCenter.js +++ b/src/geom/triangle/CircumCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/CircumCircle.js b/src/geom/triangle/CircumCircle.js index b98ca0d15..8b42158fb 100644 --- a/src/geom/triangle/CircumCircle.js +++ b/src/geom/triangle/CircumCircle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Clone.js b/src/geom/triangle/Clone.js index a7e6f553e..a1053e6f7 100644 --- a/src/geom/triangle/Clone.js +++ b/src/geom/triangle/Clone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Contains.js b/src/geom/triangle/Contains.js index 236795d6f..0046ce52d 100644 --- a/src/geom/triangle/Contains.js +++ b/src/geom/triangle/Contains.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/ContainsArray.js b/src/geom/triangle/ContainsArray.js index e8df0fde7..8bed6ba0a 100644 --- a/src/geom/triangle/ContainsArray.js +++ b/src/geom/triangle/ContainsArray.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -63,7 +63,7 @@ var ContainsArray = function (triangle, points, returnFirst, out) u = ((dot11 * dot02) - (dot01 * dot12)) * inv; v = ((dot00 * dot12) - (dot01 * dot02)) * inv; - + if (u >= 0 && v >= 0 && (u + v < 1)) { out.push({ x: points[i].x, y: points[i].y }); diff --git a/src/geom/triangle/ContainsPoint.js b/src/geom/triangle/ContainsPoint.js index d641ac4f6..8782185b4 100644 --- a/src/geom/triangle/ContainsPoint.js +++ b/src/geom/triangle/ContainsPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/CopyFrom.js b/src/geom/triangle/CopyFrom.js index a42a24432..c09c0ed7c 100644 --- a/src/geom/triangle/CopyFrom.js +++ b/src/geom/triangle/CopyFrom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Decompose.js b/src/geom/triangle/Decompose.js index 5114cbe50..e8bb15896 100644 --- a/src/geom/triangle/Decompose.js +++ b/src/geom/triangle/Decompose.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Equals.js b/src/geom/triangle/Equals.js index 98a6ef408..0a0b36b10 100644 --- a/src/geom/triangle/Equals.js +++ b/src/geom/triangle/Equals.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/GetPoint.js b/src/geom/triangle/GetPoint.js index 546ea200a..acb1a7eb3 100644 --- a/src/geom/triangle/GetPoint.js +++ b/src/geom/triangle/GetPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/GetPoints.js b/src/geom/triangle/GetPoints.js index 5ac6ac793..0f332e31e 100644 --- a/src/geom/triangle/GetPoints.js +++ b/src/geom/triangle/GetPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/InCenter.js b/src/geom/triangle/InCenter.js index 154cc80c1..a3edf6b46 100644 --- a/src/geom/triangle/InCenter.js +++ b/src/geom/triangle/InCenter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Offset.js b/src/geom/triangle/Offset.js index b774a255d..34c47dd55 100644 --- a/src/geom/triangle/Offset.js +++ b/src/geom/triangle/Offset.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Perimeter.js b/src/geom/triangle/Perimeter.js index 65cb3b32e..42859bdba 100644 --- a/src/geom/triangle/Perimeter.js +++ b/src/geom/triangle/Perimeter.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Random.js b/src/geom/triangle/Random.js index 92687c15c..2e103caff 100644 --- a/src/geom/triangle/Random.js +++ b/src/geom/triangle/Random.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Rotate.js b/src/geom/triangle/Rotate.js index 820c4afd2..035801357 100644 --- a/src/geom/triangle/Rotate.js +++ b/src/geom/triangle/Rotate.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/RotateAroundPoint.js b/src/geom/triangle/RotateAroundPoint.js index c440469c8..549ab2073 100644 --- a/src/geom/triangle/RotateAroundPoint.js +++ b/src/geom/triangle/RotateAroundPoint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/RotateAroundXY.js b/src/geom/triangle/RotateAroundXY.js index 515a7e5a9..f295a9bc7 100644 --- a/src/geom/triangle/RotateAroundXY.js +++ b/src/geom/triangle/RotateAroundXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/Triangle.js b/src/geom/triangle/Triangle.js index f31c6103c..cc5f0dbd8 100644 --- a/src/geom/triangle/Triangle.js +++ b/src/geom/triangle/Triangle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/triangle/index.js b/src/geom/triangle/index.js index 050f8a177..46fee736b 100644 --- a/src/geom/triangle/index.js +++ b/src/geom/triangle/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/geom/typedefs/index.js b/src/geom/typedefs/index.js index a1aa24139..53224f457 100644 --- a/src/geom/typedefs/index.js +++ b/src/geom/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/CreateInteractiveObject.js b/src/input/CreateInteractiveObject.js index 2c9df433e..1465d90ee 100644 --- a/src/input/CreateInteractiveObject.js +++ b/src/input/CreateInteractiveObject.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Creates a new Interactive Object. - * + * * This is called automatically by the Input Manager when you enable a Game Object for input. * * The resulting Interactive Object is mapped to the Game Object's `input` property. diff --git a/src/input/CreatePixelPerfectHandler.js b/src/input/CreatePixelPerfectHandler.js index 326af8cec..ec7deb12b 100644 --- a/src/input/CreatePixelPerfectHandler.js +++ b/src/input/CreatePixelPerfectHandler.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/InputManager.js b/src/input/InputManager.js index e4d044ba8..0b864ae57 100644 --- a/src/input/InputManager.js +++ b/src/input/InputManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/InputPlugin.js b/src/input/InputPlugin.js index 2de31bd3b..1196cd764 100644 --- a/src/input/InputPlugin.js +++ b/src/input/InputPlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/InputPluginCache.js b/src/input/InputPluginCache.js index aec662cab..bb8b0442b 100644 --- a/src/input/InputPluginCache.js +++ b/src/input/InputPluginCache.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/Pointer.js b/src/input/Pointer.js index 891e7f0eb..87a2a6d5f 100644 --- a/src/input/Pointer.js +++ b/src/input/Pointer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/const.js b/src/input/const.js index 0aa755cae..338814765 100644 --- a/src/input/const.js +++ b/src/input/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,7 +8,7 @@ var INPUT_CONST = { /** * The mouse pointer is being held down. - * + * * @name Phaser.Input.MOUSE_DOWN * @type {number} * @since 3.10.0 @@ -17,7 +17,7 @@ var INPUT_CONST = { /** * The mouse pointer is being moved. - * + * * @name Phaser.Input.MOUSE_MOVE * @type {number} * @since 3.10.0 @@ -26,7 +26,7 @@ var INPUT_CONST = { /** * The mouse pointer is released. - * + * * @name Phaser.Input.MOUSE_UP * @type {number} * @since 3.10.0 @@ -35,7 +35,7 @@ var INPUT_CONST = { /** * A touch pointer has been started. - * + * * @name Phaser.Input.TOUCH_START * @type {number} * @since 3.10.0 @@ -44,7 +44,7 @@ var INPUT_CONST = { /** * A touch pointer has been started. - * + * * @name Phaser.Input.TOUCH_MOVE * @type {number} * @since 3.10.0 @@ -53,7 +53,7 @@ var INPUT_CONST = { /** * A touch pointer has been started. - * + * * @name Phaser.Input.TOUCH_END * @type {number} * @since 3.10.0 @@ -62,7 +62,7 @@ var INPUT_CONST = { /** * The pointer lock has changed. - * + * * @name Phaser.Input.POINTER_LOCK_CHANGE * @type {number} * @since 3.10.0 @@ -71,7 +71,7 @@ var INPUT_CONST = { /** * A touch pointer has been been cancelled by the browser. - * + * * @name Phaser.Input.TOUCH_CANCEL * @type {number} * @since 3.15.0 @@ -80,7 +80,7 @@ var INPUT_CONST = { /** * The mouse wheel changes. - * + * * @name Phaser.Input.MOUSE_WHEEL * @type {number} * @since 3.18.0 diff --git a/src/input/events/BOOT_EVENT.js b/src/input/events/BOOT_EVENT.js index 7988d335a..60de8866a 100644 --- a/src/input/events/BOOT_EVENT.js +++ b/src/input/events/BOOT_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Boot Event. - * + * * This internal event is dispatched by the Input Plugin when it boots, signalling to all of its systems to create themselves. * * @event Phaser.Input.Events#BOOT diff --git a/src/input/events/DESTROY_EVENT.js b/src/input/events/DESTROY_EVENT.js index 9c6dc29c7..27ab30135 100644 --- a/src/input/events/DESTROY_EVENT.js +++ b/src/input/events/DESTROY_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Destroy Event. - * + * * This internal event is dispatched by the Input Plugin when it is destroyed, signalling to all of its systems to destroy themselves. * * @event Phaser.Input.Events#DESTROY diff --git a/src/input/events/DRAG_END_EVENT.js b/src/input/events/DRAG_END_EVENT.js index 421e27d73..8689b3b17 100644 --- a/src/input/events/DRAG_END_EVENT.js +++ b/src/input/events/DRAG_END_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Drag End Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer stops dragging a Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('dragend', listener)`. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_DRAG_END]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DRAG_END} event instead. * * @event Phaser.Input.Events#DRAG_END * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer stopped dragging. */ diff --git a/src/input/events/DRAG_ENTER_EVENT.js b/src/input/events/DRAG_ENTER_EVENT.js index bb956571c..bb3cd7284 100644 --- a/src/input/events/DRAG_ENTER_EVENT.js +++ b/src/input/events/DRAG_ENTER_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Drag Enter Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer drags a Game Object into a Drag Target. - * + * * Listen to this event from within a Scene using: `this.input.on('dragenter', listener)`. - * + * * A Pointer can only drag a single Game Object at once. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_DRAG_ENTER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DRAG_ENTER} event instead. * * @event Phaser.Input.Events#DRAG_ENTER * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer is dragging. * @param {Phaser.GameObjects.GameObject} target - The drag target that this pointer has moved into. diff --git a/src/input/events/DRAG_EVENT.js b/src/input/events/DRAG_EVENT.js index 730d725d2..d2c1ab3ad 100644 --- a/src/input/events/DRAG_EVENT.js +++ b/src/input/events/DRAG_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Drag Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves while dragging a Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('drag', listener)`. - * + * * A Pointer can only drag a single Game Object at once. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_DRAG]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DRAG} event instead. * * @event Phaser.Input.Events#DRAG * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer is dragging. * @param {number} dragX - The x coordinate where the Pointer is currently dragging the Game Object, in world space. diff --git a/src/input/events/DRAG_LEAVE_EVENT.js b/src/input/events/DRAG_LEAVE_EVENT.js index 29c8c3de7..bcaf189f9 100644 --- a/src/input/events/DRAG_LEAVE_EVENT.js +++ b/src/input/events/DRAG_LEAVE_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Drag Leave Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer drags a Game Object out of a Drag Target. - * + * * Listen to this event from within a Scene using: `this.input.on('dragleave', listener)`. - * + * * A Pointer can only drag a single Game Object at once. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_DRAG_LEAVE]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DRAG_LEAVE} event instead. * * @event Phaser.Input.Events#DRAG_LEAVE * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer is dragging. * @param {Phaser.GameObjects.GameObject} target - The drag target that this pointer has left. diff --git a/src/input/events/DRAG_OVER_EVENT.js b/src/input/events/DRAG_OVER_EVENT.js index 915e89ee0..0a4ac69f1 100644 --- a/src/input/events/DRAG_OVER_EVENT.js +++ b/src/input/events/DRAG_OVER_EVENT.js @@ -1,26 +1,26 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Drag Over Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer drags a Game Object over a Drag Target. - * + * * When the Game Object first enters the drag target it will emit a `dragenter` event. If it then moves while within * the drag target, it will emit this event instead. - * + * * Listen to this event from within a Scene using: `this.input.on('dragover', listener)`. - * + * * A Pointer can only drag a single Game Object at once. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_DRAG_OVER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DRAG_OVER} event instead. * * @event Phaser.Input.Events#DRAG_OVER * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer is dragging. * @param {Phaser.GameObjects.GameObject} target - The drag target that this pointer has moved over. diff --git a/src/input/events/DRAG_START_EVENT.js b/src/input/events/DRAG_START_EVENT.js index 36f8bd812..65d6268d4 100644 --- a/src/input/events/DRAG_START_EVENT.js +++ b/src/input/events/DRAG_START_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Drag Start Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer starts to drag any Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('dragstart', listener)`. - * + * * A Pointer can only drag a single Game Object at once. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_DRAG_START]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DRAG_START} event instead. * * @event Phaser.Input.Events#DRAG_START * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer is dragging. */ diff --git a/src/input/events/DROP_EVENT.js b/src/input/events/DROP_EVENT.js index 92569eeaa..8887999be 100644 --- a/src/input/events/DROP_EVENT.js +++ b/src/input/events/DROP_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Drop Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer drops a Game Object on a Drag Target. - * + * * Listen to this event from within a Scene using: `this.input.on('drop', listener)`. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_DROP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DROP} event instead. * * @event Phaser.Input.Events#DROP * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer was dragging. * @param {Phaser.GameObjects.GameObject} target - The Drag Target the `gameObject` has been dropped on. diff --git a/src/input/events/GAMEOBJECT_DOWN_EVENT.js b/src/input/events/GAMEOBJECT_DOWN_EVENT.js index 0a1bec816..cf0a9a611 100644 --- a/src/input/events/GAMEOBJECT_DOWN_EVENT.js +++ b/src/input/events/GAMEOBJECT_DOWN_EVENT.js @@ -1,33 +1,33 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Down Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is pressed down on _any_ interactive Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('gameobjectdown', listener)`. - * + * * To receive this event, the Game Objects must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_POINTER_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_DOWN} event instead. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_DOWN} * 2. [GAMEOBJECT_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DOWN} * 3. [POINTER_DOWN]{@linkcode Phaser.Input.Events#event:POINTER_DOWN} or [POINTER_DOWN_OUTSIDE]{@linkcode Phaser.Input.Events#event:POINTER_DOWN_OUTSIDE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_DOWN * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The Game Object the pointer was pressed down on. * @param {Phaser.Types.Input.EventData} event - The Phaser input event. You can call `stopPropagation()` to halt it from going any further in the event flow. diff --git a/src/input/events/GAMEOBJECT_DRAG_END_EVENT.js b/src/input/events/GAMEOBJECT_DRAG_END_EVENT.js index fffc52d17..9e37dae22 100644 --- a/src/input/events/GAMEOBJECT_DRAG_END_EVENT.js +++ b/src/input/events/GAMEOBJECT_DRAG_END_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Drag End Event. - * + * * This event is dispatched by an interactive Game Object if a pointer stops dragging it. - * + * * Listen to this event from a Game Object using: `gameObject.on('dragend', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive and enabled for drag. * See [GameObject.setInteractive](Phaser.GameObjects.GameObject#setInteractive) for more details. * * @event Phaser.Input.Events#GAMEOBJECT_DRAG_END * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {number} dragX - The x coordinate where the Pointer stopped dragging the Game Object, in world space. * @param {number} dragY - The y coordinate where the Pointer stopped dragging the Game Object, in world space. diff --git a/src/input/events/GAMEOBJECT_DRAG_ENTER_EVENT.js b/src/input/events/GAMEOBJECT_DRAG_ENTER_EVENT.js index 437becdab..1d9515955 100644 --- a/src/input/events/GAMEOBJECT_DRAG_ENTER_EVENT.js +++ b/src/input/events/GAMEOBJECT_DRAG_ENTER_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Drag Enter Event. - * + * * This event is dispatched by an interactive Game Object if a pointer drags it into a drag target. - * + * * Listen to this event from a Game Object using: `gameObject.on('dragenter', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive and enabled for drag. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. * * @event Phaser.Input.Events#GAMEOBJECT_DRAG_ENTER * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} target - The drag target that this pointer has moved into. */ diff --git a/src/input/events/GAMEOBJECT_DRAG_EVENT.js b/src/input/events/GAMEOBJECT_DRAG_EVENT.js index 47f44de4a..10e1659b9 100644 --- a/src/input/events/GAMEOBJECT_DRAG_EVENT.js +++ b/src/input/events/GAMEOBJECT_DRAG_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Drag Event. - * + * * This event is dispatched by an interactive Game Object if a pointer moves while dragging it. - * + * * Listen to this event from a Game Object using: `gameObject.on('drag', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive and enabled for drag. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. * * @event Phaser.Input.Events#GAMEOBJECT_DRAG * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {number} dragX - The x coordinate where the Pointer is currently dragging the Game Object, in world space. * @param {number} dragY - The y coordinate where the Pointer is currently dragging the Game Object, in world space. diff --git a/src/input/events/GAMEOBJECT_DRAG_LEAVE_EVENT.js b/src/input/events/GAMEOBJECT_DRAG_LEAVE_EVENT.js index e20f718df..1ebfd535e 100644 --- a/src/input/events/GAMEOBJECT_DRAG_LEAVE_EVENT.js +++ b/src/input/events/GAMEOBJECT_DRAG_LEAVE_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Drag Leave Event. - * + * * This event is dispatched by an interactive Game Object if a pointer drags it out of a drag target. - * + * * Listen to this event from a Game Object using: `gameObject.on('dragleave', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive and enabled for drag. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. * * @event Phaser.Input.Events#GAMEOBJECT_DRAG_LEAVE * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} target - The drag target that this pointer has left. */ diff --git a/src/input/events/GAMEOBJECT_DRAG_OVER_EVENT.js b/src/input/events/GAMEOBJECT_DRAG_OVER_EVENT.js index 8a1a0df39..30f0ed4e5 100644 --- a/src/input/events/GAMEOBJECT_DRAG_OVER_EVENT.js +++ b/src/input/events/GAMEOBJECT_DRAG_OVER_EVENT.js @@ -1,26 +1,26 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Drag Over Event. - * + * * This event is dispatched by an interactive Game Object if a pointer drags it over a drag target. - * + * * When the Game Object first enters the drag target it will emit a `dragenter` event. If it then moves while within * the drag target, it will emit this event instead. - * + * * Listen to this event from a Game Object using: `gameObject.on('dragover', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive and enabled for drag. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. * * @event Phaser.Input.Events#GAMEOBJECT_DRAG_OVER * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} target - The drag target that this pointer has moved over. */ diff --git a/src/input/events/GAMEOBJECT_DRAG_START_EVENT.js b/src/input/events/GAMEOBJECT_DRAG_START_EVENT.js index 1032e427a..f9ff62970 100644 --- a/src/input/events/GAMEOBJECT_DRAG_START_EVENT.js +++ b/src/input/events/GAMEOBJECT_DRAG_START_EVENT.js @@ -1,26 +1,26 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Drag Start Event. - * + * * This event is dispatched by an interactive Game Object if a pointer starts to drag it. - * + * * Listen to this event from a Game Object using: `gameObject.on('dragstart', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive and enabled for drag. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * There are lots of useful drag related properties that are set within the Game Object when dragging occurs. * For example, `gameObject.input.dragStartX`, `dragStartY` and so on. * * @event Phaser.Input.Events#GAMEOBJECT_DRAG_START * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {number} dragX - The x coordinate where the Pointer is currently dragging the Game Object, in world space. * @param {number} dragY - The y coordinate where the Pointer is currently dragging the Game Object, in world space. diff --git a/src/input/events/GAMEOBJECT_DROP_EVENT.js b/src/input/events/GAMEOBJECT_DROP_EVENT.js index 6b1df4ff1..8aacb4997 100644 --- a/src/input/events/GAMEOBJECT_DROP_EVENT.js +++ b/src/input/events/GAMEOBJECT_DROP_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Drop Event. - * + * * This event is dispatched by an interactive Game Object if a pointer drops it on a Drag Target. - * + * * Listen to this event from a Game Object using: `gameObject.on('drop', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive and enabled for drag. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. * * @event Phaser.Input.Events#GAMEOBJECT_DROP * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} target - The Drag Target the `gameObject` has been dropped on. */ diff --git a/src/input/events/GAMEOBJECT_MOVE_EVENT.js b/src/input/events/GAMEOBJECT_MOVE_EVENT.js index f1f017ad8..57230167e 100644 --- a/src/input/events/GAMEOBJECT_MOVE_EVENT.js +++ b/src/input/events/GAMEOBJECT_MOVE_EVENT.js @@ -1,33 +1,33 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Move Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is moved across _any_ interactive Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('gameobjectmove', listener)`. - * + * * To receive this event, the Game Objects must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_POINTER_MOVE]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_MOVE} event instead. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_MOVE]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_MOVE} * 2. [GAMEOBJECT_MOVE]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_MOVE} * 3. [POINTER_MOVE]{@linkcode Phaser.Input.Events#event:POINTER_MOVE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_MOVE * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The Game Object the pointer was moved on. * @param {Phaser.Types.Input.EventData} event - The Phaser input event. You can call `stopPropagation()` to halt it from going any further in the event flow. diff --git a/src/input/events/GAMEOBJECT_OUT_EVENT.js b/src/input/events/GAMEOBJECT_OUT_EVENT.js index c614784de..3ef9b8b83 100644 --- a/src/input/events/GAMEOBJECT_OUT_EVENT.js +++ b/src/input/events/GAMEOBJECT_OUT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/events/GAMEOBJECT_OVER_EVENT.js b/src/input/events/GAMEOBJECT_OVER_EVENT.js index 0e9e16054..3601a5c63 100644 --- a/src/input/events/GAMEOBJECT_OVER_EVENT.js +++ b/src/input/events/GAMEOBJECT_OVER_EVENT.js @@ -1,33 +1,33 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Over Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves over _any_ interactive Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('gameobjectover', listener)`. - * + * * To receive this event, the Game Objects must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_POINTER_OVER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_OVER} event instead. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_OVER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_OVER} * 2. [GAMEOBJECT_OVER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_OVER} * 3. [POINTER_OVER]{@linkcode Phaser.Input.Events#event:POINTER_OVER} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_OVER * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The Game Object the pointer moved over. * @param {Phaser.Types.Input.EventData} event - The Phaser input event. You can call `stopPropagation()` to halt it from going any further in the event flow. diff --git a/src/input/events/GAMEOBJECT_POINTER_DOWN_EVENT.js b/src/input/events/GAMEOBJECT_POINTER_DOWN_EVENT.js index 475942944..d5669a3ea 100644 --- a/src/input/events/GAMEOBJECT_POINTER_DOWN_EVENT.js +++ b/src/input/events/GAMEOBJECT_POINTER_DOWN_EVENT.js @@ -1,32 +1,32 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Pointer Down Event. - * + * * This event is dispatched by an interactive Game Object if a pointer is pressed down on it. - * + * * Listen to this event from a Game Object using: `gameObject.on('pointerdown', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_DOWN} * 2. [GAMEOBJECT_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DOWN} * 3. [POINTER_DOWN]{@linkcode Phaser.Input.Events#event:POINTER_DOWN} or [POINTER_DOWN_OUTSIDE]{@linkcode Phaser.Input.Events#event:POINTER_DOWN_OUTSIDE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_POINTER_DOWN * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {number} localX - The x coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position. * @param {number} localY - The y coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position. diff --git a/src/input/events/GAMEOBJECT_POINTER_MOVE_EVENT.js b/src/input/events/GAMEOBJECT_POINTER_MOVE_EVENT.js index d8afbd534..19bea7f47 100644 --- a/src/input/events/GAMEOBJECT_POINTER_MOVE_EVENT.js +++ b/src/input/events/GAMEOBJECT_POINTER_MOVE_EVENT.js @@ -1,32 +1,32 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Pointer Move Event. - * + * * This event is dispatched by an interactive Game Object if a pointer is moved while over it. - * + * * Listen to this event from a Game Object using: `gameObject.on('pointermove', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_MOVE]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_MOVE} * 2. [GAMEOBJECT_MOVE]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_MOVE} * 3. [POINTER_MOVE]{@linkcode Phaser.Input.Events#event:POINTER_MOVE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_POINTER_MOVE * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {number} localX - The x coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position. * @param {number} localY - The y coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position. diff --git a/src/input/events/GAMEOBJECT_POINTER_OUT_EVENT.js b/src/input/events/GAMEOBJECT_POINTER_OUT_EVENT.js index 603ccad7e..50b7e4840 100644 --- a/src/input/events/GAMEOBJECT_POINTER_OUT_EVENT.js +++ b/src/input/events/GAMEOBJECT_POINTER_OUT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/events/GAMEOBJECT_POINTER_OVER_EVENT.js b/src/input/events/GAMEOBJECT_POINTER_OVER_EVENT.js index 6e4c837f8..31967cd5c 100644 --- a/src/input/events/GAMEOBJECT_POINTER_OVER_EVENT.js +++ b/src/input/events/GAMEOBJECT_POINTER_OVER_EVENT.js @@ -1,32 +1,32 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Pointer Over Event. - * + * * This event is dispatched by an interactive Game Object if a pointer moves over it. - * + * * Listen to this event from a Game Object using: `gameObject.on('pointerover', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_OVER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_OVER} * 2. [GAMEOBJECT_OVER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_OVER} * 3. [POINTER_OVER]{@linkcode Phaser.Input.Events#event:POINTER_OVER} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_POINTER_OVER * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {number} localX - The x coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position. * @param {number} localY - The y coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position. diff --git a/src/input/events/GAMEOBJECT_POINTER_UP_EVENT.js b/src/input/events/GAMEOBJECT_POINTER_UP_EVENT.js index 6f3098518..0dff5f3a6 100644 --- a/src/input/events/GAMEOBJECT_POINTER_UP_EVENT.js +++ b/src/input/events/GAMEOBJECT_POINTER_UP_EVENT.js @@ -1,32 +1,32 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Pointer Up Event. - * + * * This event is dispatched by an interactive Game Object if a pointer is released while over it. - * + * * Listen to this event from a Game Object using: `gameObject.on('pointerup', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_UP} * 2. [GAMEOBJECT_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_UP} * 3. [POINTER_UP]{@linkcode Phaser.Input.Events#event:POINTER_UP} or [POINTER_UP_OUTSIDE]{@linkcode Phaser.Input.Events#event:POINTER_UP_OUTSIDE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_POINTER_UP * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {number} localX - The x coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position. * @param {number} localY - The y coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position. diff --git a/src/input/events/GAMEOBJECT_POINTER_WHEEL_EVENT.js b/src/input/events/GAMEOBJECT_POINTER_WHEEL_EVENT.js index 6c4b6b8fe..a8bae31ea 100644 --- a/src/input/events/GAMEOBJECT_POINTER_WHEEL_EVENT.js +++ b/src/input/events/GAMEOBJECT_POINTER_WHEEL_EVENT.js @@ -1,32 +1,32 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Pointer Wheel Event. - * + * * This event is dispatched by an interactive Game Object if a pointer has its wheel moved while over it. - * + * * Listen to this event from a Game Object using: `gameObject.on('wheel', listener)`. * Note that the scope of the listener is automatically set to be the Game Object instance itself. - * + * * To receive this event, the Game Object must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_WHEEL]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_WHEEL} * 2. [GAMEOBJECT_WHEEL]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_WHEEL} * 3. [POINTER_WHEEL]{@linkcode Phaser.Input.Events#event:POINTER_WHEEL} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_POINTER_WHEEL * @since 3.18.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {number} deltaX - The horizontal scroll amount that occurred due to the user moving a mouse wheel or similar input device. * @param {number} deltaY - The vertical scroll amount that occurred due to the user moving a mouse wheel or similar input device. This value will typically be less than 0 if the user scrolls up and greater than zero if scrolling down. diff --git a/src/input/events/GAMEOBJECT_UP_EVENT.js b/src/input/events/GAMEOBJECT_UP_EVENT.js index e8f473b41..ff75686ab 100644 --- a/src/input/events/GAMEOBJECT_UP_EVENT.js +++ b/src/input/events/GAMEOBJECT_UP_EVENT.js @@ -1,33 +1,33 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Up Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is released while over _any_ interactive Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('gameobjectup', listener)`. - * + * * To receive this event, the Game Objects must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_POINTER_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_UP} event instead. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_UP} * 2. [GAMEOBJECT_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_UP} * 3. [POINTER_UP]{@linkcode Phaser.Input.Events#event:POINTER_UP} or [POINTER_UP_OUTSIDE]{@linkcode Phaser.Input.Events#event:POINTER_UP_OUTSIDE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_UP * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The Game Object the pointer was over when released. * @param {Phaser.Types.Input.EventData} event - The Phaser input event. You can call `stopPropagation()` to halt it from going any further in the event flow. diff --git a/src/input/events/GAMEOBJECT_WHEEL_EVENT.js b/src/input/events/GAMEOBJECT_WHEEL_EVENT.js index d4297da0a..f7dac2689 100644 --- a/src/input/events/GAMEOBJECT_WHEEL_EVENT.js +++ b/src/input/events/GAMEOBJECT_WHEEL_EVENT.js @@ -1,33 +1,33 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Wheel Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer has its wheel moved while over _any_ interactive Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('gameobjectwheel', listener)`. - * + * * To receive this event, the Game Objects must have been set as interactive. * See [GameObject.setInteractive]{@link Phaser.GameObjects.GameObject#setInteractive} for more details. - * + * * To listen for this event from a _specific_ Game Object, use the [GAMEOBJECT_POINTER_WHEEL]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_WHEEL} event instead. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_WHEEL]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_WHEEL} * 2. [GAMEOBJECT_WHEEL]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_WHEEL} * 3. [POINTER_WHEEL]{@linkcode Phaser.Input.Events#event:POINTER_WHEEL} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#GAMEOBJECT_WHEEL * @since 3.18.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject} gameObject - The Game Object the pointer was over when the wheel changed. * @param {number} deltaX - The horizontal scroll amount that occurred due to the user moving a mouse wheel or similar input device. diff --git a/src/input/events/GAME_OUT_EVENT.js b/src/input/events/GAME_OUT_EVENT.js index 539742ff8..1f7e91ee8 100644 --- a/src/input/events/GAME_OUT_EVENT.js +++ b/src/input/events/GAME_OUT_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Game Out Event. - * + * * This event is dispatched by the Input Plugin if the active pointer leaves the game canvas and is now * outside of it, elsewhere on the web page. - * + * * Listen to this event from within a Scene using: `this.input.on('gameout', listener)`. * * @event Phaser.Input.Events#GAME_OUT * @since 3.16.1 - * + * * @param {number} time - The current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or Date.now if using SetTimeout. * @param {(MouseEvent|TouchEvent)} event - The DOM Event that triggered the canvas out. */ diff --git a/src/input/events/GAME_OVER_EVENT.js b/src/input/events/GAME_OVER_EVENT.js index bb76e00b3..76c1e864f 100644 --- a/src/input/events/GAME_OVER_EVENT.js +++ b/src/input/events/GAME_OVER_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Game Over Event. - * + * * This event is dispatched by the Input Plugin if the active pointer enters the game canvas and is now * over of it, having previously been elsewhere on the web page. - * + * * Listen to this event from within a Scene using: `this.input.on('gameover', listener)`. * * @event Phaser.Input.Events#GAME_OVER * @since 3.16.1 - * + * * @param {number} time - The current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or Date.now if using SetTimeout. * @param {(MouseEvent|TouchEvent)} event - The DOM Event that triggered the canvas over. */ diff --git a/src/input/events/MANAGER_BOOT_EVENT.js b/src/input/events/MANAGER_BOOT_EVENT.js index da42a8749..d7d11292a 100644 --- a/src/input/events/MANAGER_BOOT_EVENT.js +++ b/src/input/events/MANAGER_BOOT_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Manager Boot Event. - * + * * This internal event is dispatched by the Input Manager when it boots. * * @event Phaser.Input.Events#MANAGER_BOOT diff --git a/src/input/events/MANAGER_PROCESS_EVENT.js b/src/input/events/MANAGER_PROCESS_EVENT.js index aa2c8b422..d6742358d 100644 --- a/src/input/events/MANAGER_PROCESS_EVENT.js +++ b/src/input/events/MANAGER_PROCESS_EVENT.js @@ -1,18 +1,18 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Manager Process Event. - * + * * This internal event is dispatched by the Input Manager when not using the legacy queue system, * and it wants the Input Plugins to update themselves. * * @event Phaser.Input.Events#MANAGER_PROCESS * @since 3.0.0 - * + * * @param {number} time - The current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or Date.now if using SetTimeout. * @param {number} delta - The delta time in ms since the last frame. This is a smoothed and capped value based on the FPS rate. */ diff --git a/src/input/events/MANAGER_UPDATE_EVENT.js b/src/input/events/MANAGER_UPDATE_EVENT.js index f58acc77b..ad35854f5 100644 --- a/src/input/events/MANAGER_UPDATE_EVENT.js +++ b/src/input/events/MANAGER_UPDATE_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Manager Update Event. - * + * * This internal event is dispatched by the Input Manager as part of its update step. * * @event Phaser.Input.Events#MANAGER_UPDATE diff --git a/src/input/events/POINTERLOCK_CHANGE_EVENT.js b/src/input/events/POINTERLOCK_CHANGE_EVENT.js index 90a5926d3..e3eb8820d 100644 --- a/src/input/events/POINTERLOCK_CHANGE_EVENT.js +++ b/src/input/events/POINTERLOCK_CHANGE_EVENT.js @@ -1,17 +1,17 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Manager Pointer Lock Change Event. - * + * * This event is dispatched by the Input Manager when it is processing a native Pointer Lock Change DOM Event. * * @event Phaser.Input.Events#POINTERLOCK_CHANGE * @since 3.0.0 - * + * * @param {Event} event - The native DOM Event. * @param {boolean} locked - The locked state of the Mouse Pointer. */ diff --git a/src/input/events/POINTER_DOWN_EVENT.js b/src/input/events/POINTER_DOWN_EVENT.js index e9116d427..4eec8df9c 100644 --- a/src/input/events/POINTER_DOWN_EVENT.js +++ b/src/input/events/POINTER_DOWN_EVENT.js @@ -1,28 +1,28 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Down Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is pressed down anywhere. - * + * * Listen to this event from within a Scene using: `this.input.on('pointerdown', listener)`. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_DOWN} * 2. [GAMEOBJECT_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DOWN} * 3. [POINTER_DOWN]{@linkcode Phaser.Input.Events#event:POINTER_DOWN} or [POINTER_DOWN_OUTSIDE]{@linkcode Phaser.Input.Events#event:POINTER_DOWN_OUTSIDE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#POINTER_DOWN * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject[]} currentlyOver - An array containing all interactive Game Objects that the pointer was over when the event was created. */ diff --git a/src/input/events/POINTER_DOWN_OUTSIDE_EVENT.js b/src/input/events/POINTER_DOWN_OUTSIDE_EVENT.js index 5290c45a9..ea907083c 100644 --- a/src/input/events/POINTER_DOWN_OUTSIDE_EVENT.js +++ b/src/input/events/POINTER_DOWN_OUTSIDE_EVENT.js @@ -1,28 +1,28 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Down Outside Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is pressed down anywhere outside of the game canvas. - * + * * Listen to this event from within a Scene using: `this.input.on('pointerdownoutside', listener)`. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_DOWN} * 2. [GAMEOBJECT_DOWN]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_DOWN} * 3. [POINTER_DOWN]{@linkcode Phaser.Input.Events#event:POINTER_DOWN} or [POINTER_DOWN_OUTSIDE]{@linkcode Phaser.Input.Events#event:POINTER_DOWN_OUTSIDE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#POINTER_DOWN_OUTSIDE * @since 3.16.1 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. */ module.exports = 'pointerdownoutside'; diff --git a/src/input/events/POINTER_MOVE_EVENT.js b/src/input/events/POINTER_MOVE_EVENT.js index 3ae600009..577f6db0c 100644 --- a/src/input/events/POINTER_MOVE_EVENT.js +++ b/src/input/events/POINTER_MOVE_EVENT.js @@ -1,28 +1,28 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Move Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is moved anywhere. - * + * * Listen to this event from within a Scene using: `this.input.on('pointermove', listener)`. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_MOVE]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_MOVE} * 2. [GAMEOBJECT_MOVE]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_MOVE} * 3. [POINTER_MOVE]{@linkcode Phaser.Input.Events#event:POINTER_MOVE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#POINTER_MOVE * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject[]} currentlyOver - An array containing all interactive Game Objects that the pointer was over when the event was created. */ diff --git a/src/input/events/POINTER_OUT_EVENT.js b/src/input/events/POINTER_OUT_EVENT.js index 2083d612b..15e27b460 100644 --- a/src/input/events/POINTER_OUT_EVENT.js +++ b/src/input/events/POINTER_OUT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/events/POINTER_OVER_EVENT.js b/src/input/events/POINTER_OVER_EVENT.js index 1304784f5..07ec2ccc2 100644 --- a/src/input/events/POINTER_OVER_EVENT.js +++ b/src/input/events/POINTER_OVER_EVENT.js @@ -1,28 +1,28 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Over Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer moves over any interactive Game Object. - * + * * Listen to this event from within a Scene using: `this.input.on('pointerover', listener)`. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_OVER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_OVER} * 2. [GAMEOBJECT_OVER]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_OVER} * 3. [POINTER_OVER]{@linkcode Phaser.Input.Events#event:POINTER_OVER} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#POINTER_OVER * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject[]} justOver - An array containing all interactive Game Objects that the pointer moved over when the event was created. */ diff --git a/src/input/events/POINTER_UP_EVENT.js b/src/input/events/POINTER_UP_EVENT.js index 05ce8fe49..9abe395e8 100644 --- a/src/input/events/POINTER_UP_EVENT.js +++ b/src/input/events/POINTER_UP_EVENT.js @@ -1,28 +1,28 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Up Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is released anywhere. - * + * * Listen to this event from within a Scene using: `this.input.on('pointerup', listener)`. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_UP} * 2. [GAMEOBJECT_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_UP} * 3. [POINTER_UP]{@linkcode Phaser.Input.Events#event:POINTER_UP} or [POINTER_UP_OUTSIDE]{@linkcode Phaser.Input.Events#event:POINTER_UP_OUTSIDE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#POINTER_UP * @since 3.0.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject[]} currentlyOver - An array containing all interactive Game Objects that the pointer was over when the event was created. */ diff --git a/src/input/events/POINTER_UP_OUTSIDE_EVENT.js b/src/input/events/POINTER_UP_OUTSIDE_EVENT.js index c0dece412..685d1f38f 100644 --- a/src/input/events/POINTER_UP_OUTSIDE_EVENT.js +++ b/src/input/events/POINTER_UP_OUTSIDE_EVENT.js @@ -1,28 +1,28 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Up Outside Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer is released anywhere outside of the game canvas. - * + * * Listen to this event from within a Scene using: `this.input.on('pointerupoutside', listener)`. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_UP} * 2. [GAMEOBJECT_UP]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_UP} * 3. [POINTER_UP]{@linkcode Phaser.Input.Events#event:POINTER_UP} or [POINTER_UP_OUTSIDE]{@linkcode Phaser.Input.Events#event:POINTER_UP_OUTSIDE} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#POINTER_UP_OUTSIDE * @since 3.16.1 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. */ module.exports = 'pointerupoutside'; diff --git a/src/input/events/POINTER_WHEEL_EVENT.js b/src/input/events/POINTER_WHEEL_EVENT.js index c902588ee..6e753a106 100644 --- a/src/input/events/POINTER_WHEEL_EVENT.js +++ b/src/input/events/POINTER_WHEEL_EVENT.js @@ -1,28 +1,28 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pointer Wheel Input Event. - * + * * This event is dispatched by the Input Plugin belonging to a Scene if a pointer has its wheel updated. - * + * * Listen to this event from within a Scene using: `this.input.on('wheel', listener)`. - * + * * The event hierarchy is as follows: - * + * * 1. [GAMEOBJECT_POINTER_WHEEL]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_POINTER_WHEEL} * 2. [GAMEOBJECT_WHEEL]{@linkcode Phaser.Input.Events#event:GAMEOBJECT_WHEEL} * 3. [POINTER_WHEEL]{@linkcode Phaser.Input.Events#event:POINTER_WHEEL} - * + * * With the top event being dispatched first and then flowing down the list. Note that higher-up event handlers can stop * the propagation of this event. * * @event Phaser.Input.Events#POINTER_WHEEL * @since 3.18.0 - * + * * @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event. * @param {Phaser.GameObjects.GameObject[]} currentlyOver - An array containing all interactive Game Objects that the pointer was over when the event was created. * @param {number} deltaX - The horizontal scroll amount that occurred due to the user moving a mouse wheel or similar input device. diff --git a/src/input/events/PRE_UPDATE_EVENT.js b/src/input/events/PRE_UPDATE_EVENT.js index 9c37ccba4..a7690250d 100644 --- a/src/input/events/PRE_UPDATE_EVENT.js +++ b/src/input/events/PRE_UPDATE_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Pre-Update Event. - * + * * This internal event is dispatched by the Input Plugin at the start of its `preUpdate` method. * This hook is designed specifically for input plugins, but can also be listened to from user-land code. * diff --git a/src/input/events/SHUTDOWN_EVENT.js b/src/input/events/SHUTDOWN_EVENT.js index 8ed7b30a3..f468dd861 100644 --- a/src/input/events/SHUTDOWN_EVENT.js +++ b/src/input/events/SHUTDOWN_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Shutdown Event. - * + * * This internal event is dispatched by the Input Plugin when it shuts down, signalling to all of its systems to shut themselves down. * * @event Phaser.Input.Events#SHUTDOWN diff --git a/src/input/events/START_EVENT.js b/src/input/events/START_EVENT.js index 1395adb41..232860031 100644 --- a/src/input/events/START_EVENT.js +++ b/src/input/events/START_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Start Event. - * + * * This internal event is dispatched by the Input Plugin when it has finished setting-up, * signalling to all of its internal systems to start. * diff --git a/src/input/events/UPDATE_EVENT.js b/src/input/events/UPDATE_EVENT.js index a95fc9b21..bda821bd6 100644 --- a/src/input/events/UPDATE_EVENT.js +++ b/src/input/events/UPDATE_EVENT.js @@ -1,18 +1,18 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Input Plugin Update Event. - * + * * This internal event is dispatched by the Input Plugin at the start of its `update` method. * This hook is designed specifically for input plugins, but can also be listened to from user-land code. * * @event Phaser.Input.Events#UPDATE * @since 3.0.0 - * + * * @param {number} time - The current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or Date.now if using SetTimeout. * @param {number} delta - The delta time in ms since the last frame. This is a smoothed and capped value based on the FPS rate. */ diff --git a/src/input/events/index.js b/src/input/events/index.js index d1e19bfb4..7af726e0e 100644 --- a/src/input/events/index.js +++ b/src/input/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/gamepad/Axis.js b/src/input/gamepad/Axis.js index 0e8ff706d..e3ab06859 100644 --- a/src/input/gamepad/Axis.js +++ b/src/input/gamepad/Axis.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/gamepad/Button.js b/src/input/gamepad/Button.js index ef8dbe7c1..fac6d1825 100644 --- a/src/input/gamepad/Button.js +++ b/src/input/gamepad/Button.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/gamepad/Gamepad.js b/src/input/gamepad/Gamepad.js index 3e3b3279c..e4c97765d 100644 --- a/src/input/gamepad/Gamepad.js +++ b/src/input/gamepad/Gamepad.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/gamepad/GamepadPlugin.js b/src/input/gamepad/GamepadPlugin.js index de0266d11..ed30d9240 100644 --- a/src/input/gamepad/GamepadPlugin.js +++ b/src/input/gamepad/GamepadPlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/gamepad/configs/SNES_USB_Controller.js b/src/input/gamepad/configs/SNES_USB_Controller.js index 8d35d523b..53c50ce71 100644 --- a/src/input/gamepad/configs/SNES_USB_Controller.js +++ b/src/input/gamepad/configs/SNES_USB_Controller.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -16,7 +16,7 @@ module.exports = { /** * D-Pad up - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.UP * @const * @type {number} @@ -26,7 +26,7 @@ module.exports = { /** * D-Pad down - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.DOWN * @const * @type {number} @@ -36,7 +36,7 @@ module.exports = { /** * D-Pad left - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.LEFT * @const * @type {number} @@ -46,7 +46,7 @@ module.exports = { /** * D-Pad right - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.RIGHT * @const * @type {number} @@ -56,7 +56,7 @@ module.exports = { /** * Select button - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.SELECT * @const * @type {number} @@ -66,7 +66,7 @@ module.exports = { /** * Start button - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.START * @const * @type {number} @@ -76,7 +76,7 @@ module.exports = { /** * B Button (Bottom) - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.B * @const * @type {number} @@ -86,7 +86,7 @@ module.exports = { /** * A Button (Right) - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.A * @const * @type {number} @@ -96,7 +96,7 @@ module.exports = { /** * Y Button (Left) - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.Y * @const * @type {number} @@ -106,7 +106,7 @@ module.exports = { /** * X Button (Top) - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.X * @const * @type {number} @@ -116,7 +116,7 @@ module.exports = { /** * Left bumper - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.LEFT_SHOULDER * @const * @type {number} @@ -126,7 +126,7 @@ module.exports = { /** * Right bumper - * + * * @name Phaser.Input.Gamepad.Configs.SNES_USB.RIGHT_SHOULDER * @const * @type {number} diff --git a/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js b/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js index 6caf755a7..2837755dd 100644 --- a/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js +++ b/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -16,7 +16,7 @@ module.exports = { /** * D-Pad up - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.UP * @const * @type {number} @@ -26,7 +26,7 @@ module.exports = { /** * D-Pad down - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.DOWN * @const * @type {number} @@ -36,7 +36,7 @@ module.exports = { /** * D-Pad left - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.LEFT * @const * @type {number} @@ -46,7 +46,7 @@ module.exports = { /** * D-Pad up - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.RIGHT * @const * @type {number} @@ -56,7 +56,7 @@ module.exports = { /** * Share button - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.SHARE * @const * @type {number} @@ -66,7 +66,7 @@ module.exports = { /** * Options button - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.OPTIONS * @const * @type {number} @@ -76,7 +76,7 @@ module.exports = { /** * PlayStation logo button - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.PS * @const * @type {number} @@ -86,7 +86,7 @@ module.exports = { /** * Touchpad click - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.TOUCHBAR * @const * @type {number} @@ -96,7 +96,7 @@ module.exports = { /** * Cross button (Bottom) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.X * @const * @type {number} @@ -106,7 +106,7 @@ module.exports = { /** * Circle button (Right) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.CIRCLE * @const * @type {number} @@ -116,7 +116,7 @@ module.exports = { /** * Square button (Left) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.SQUARE * @const * @type {number} @@ -126,7 +126,7 @@ module.exports = { /** * Triangle button (Top) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.TRIANGLE * @const * @type {number} @@ -136,7 +136,7 @@ module.exports = { /** * Left bumper (L1) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.L1 * @const * @type {number} @@ -146,7 +146,7 @@ module.exports = { /** * Right bumper (R1) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.R1 * @const * @type {number} @@ -156,7 +156,7 @@ module.exports = { /** * Left trigger (L2) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.L2 * @const * @type {number} @@ -166,7 +166,7 @@ module.exports = { /** * Right trigger (R2) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.R2 * @const * @type {number} @@ -176,7 +176,7 @@ module.exports = { /** * Left stick click (L3) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.L3 * @const * @type {number} @@ -186,7 +186,7 @@ module.exports = { /** * Right stick click (R3) - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.R3 * @const * @type {number} @@ -196,7 +196,7 @@ module.exports = { /** * Left stick horizontal - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.LEFT_STICK_H * @const * @type {number} @@ -206,7 +206,7 @@ module.exports = { /** * Left stick vertical - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.LEFT_STICK_V * @const * @type {number} @@ -216,7 +216,7 @@ module.exports = { /** * Right stick horizontal - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.RIGHT_STICK_H * @const * @type {number} @@ -226,7 +226,7 @@ module.exports = { /** * Right stick vertical - * + * * @name Phaser.Input.Gamepad.Configs.DUALSHOCK_4.RIGHT_STICK_V * @const * @type {number} diff --git a/src/input/gamepad/configs/XBox360_Controller.js b/src/input/gamepad/configs/XBox360_Controller.js index 4b55957eb..fbb86a346 100644 --- a/src/input/gamepad/configs/XBox360_Controller.js +++ b/src/input/gamepad/configs/XBox360_Controller.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,7 +15,7 @@ module.exports = { /** * D-Pad up - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.UP * @const * @type {number} @@ -25,7 +25,7 @@ module.exports = { /** * D-Pad down - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.DOWN * @const * @type {number} @@ -35,7 +35,7 @@ module.exports = { /** * D-Pad left - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.LEFT * @const * @type {number} @@ -45,7 +45,7 @@ module.exports = { /** * D-Pad right - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.RIGHT * @const * @type {number} @@ -55,7 +55,7 @@ module.exports = { /** * XBox menu button - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.MENU * @const * @type {number} @@ -65,7 +65,7 @@ module.exports = { /** * A button (Bottom) - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.A * @const * @type {number} @@ -75,7 +75,7 @@ module.exports = { /** * B button (Right) - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.B * @const * @type {number} @@ -85,7 +85,7 @@ module.exports = { /** * X button (Left) - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.X * @const * @type {number} @@ -95,7 +95,7 @@ module.exports = { /** * Y button (Top) - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.Y * @const * @type {number} @@ -105,7 +105,7 @@ module.exports = { /** * Left Bumper - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.LB * @const * @type {number} @@ -115,7 +115,7 @@ module.exports = { /** * Right Bumper - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.RB * @const * @type {number} @@ -125,7 +125,7 @@ module.exports = { /** * Left Trigger - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.LT * @const * @type {number} @@ -135,7 +135,7 @@ module.exports = { /** * Right Trigger - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.RT * @const * @type {number} @@ -145,7 +145,7 @@ module.exports = { /** * Back / Change View button - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.BACK * @const * @type {number} @@ -155,7 +155,7 @@ module.exports = { /** * Start button - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.START * @const * @type {number} @@ -165,7 +165,7 @@ module.exports = { /** * Left Stick press - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.LS * @const * @type {number} @@ -175,7 +175,7 @@ module.exports = { /** * Right stick press - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.RS * @const * @type {number} @@ -185,7 +185,7 @@ module.exports = { /** * Left Stick horizontal - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.LEFT_STICK_H * @const * @type {number} @@ -195,7 +195,7 @@ module.exports = { /** * Left Stick vertical - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.LEFT_STICK_V * @const * @type {number} @@ -205,7 +205,7 @@ module.exports = { /** * Right Stick horizontal - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.RIGHT_STICK_H * @const * @type {number} @@ -215,7 +215,7 @@ module.exports = { /** * Right Stick vertical - * + * * @name Phaser.Input.Gamepad.Configs.XBOX_360.RIGHT_STICK_V * @const * @type {number} diff --git a/src/input/gamepad/configs/index.js b/src/input/gamepad/configs/index.js index 4f5e763aa..0fd8cdf92 100644 --- a/src/input/gamepad/configs/index.js +++ b/src/input/gamepad/configs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/gamepad/events/BUTTON_DOWN_EVENT.js b/src/input/gamepad/events/BUTTON_DOWN_EVENT.js index 64a9a543e..df51f21a5 100644 --- a/src/input/gamepad/events/BUTTON_DOWN_EVENT.js +++ b/src/input/gamepad/events/BUTTON_DOWN_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Button Down Event. - * + * * This event is dispatched by the Gamepad Plugin when a button has been pressed on any active Gamepad. - * + * * Listen to this event from within a Scene using: `this.input.gamepad.on('down', listener)`. - * + * * You can also listen for a DOWN event from a Gamepad instance. See the [GAMEPAD_BUTTON_DOWN]{@linkcode Phaser.Input.Gamepad.Events#event:GAMEPAD_BUTTON_DOWN} event for details. * * @event Phaser.Input.Gamepad.Events#BUTTON_DOWN * @since 3.10.0 - * + * * @param {Phaser.Input.Gamepad} pad - A reference to the Gamepad on which the button was pressed. * @param {Phaser.Input.Gamepad.Button} button - A reference to the Button which was pressed. * @param {number} value - The value of the button at the time it was pressed. Between 0 and 1. Some Gamepads have pressure-sensitive buttons. diff --git a/src/input/gamepad/events/BUTTON_UP_EVENT.js b/src/input/gamepad/events/BUTTON_UP_EVENT.js index 7993a40f0..76f146ce0 100644 --- a/src/input/gamepad/events/BUTTON_UP_EVENT.js +++ b/src/input/gamepad/events/BUTTON_UP_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Button Up Event. - * + * * This event is dispatched by the Gamepad Plugin when a button has been released on any active Gamepad. - * + * * Listen to this event from within a Scene using: `this.input.gamepad.on('up', listener)`. - * + * * You can also listen for an UP event from a Gamepad instance. See the [GAMEPAD_BUTTON_UP]{@linkcode Phaser.Input.Gamepad.Events#event:GAMEPAD_BUTTON_UP} event for details. * * @event Phaser.Input.Gamepad.Events#BUTTON_UP * @since 3.10.0 - * + * * @param {Phaser.Input.Gamepad} pad - A reference to the Gamepad on which the button was released. * @param {Phaser.Input.Gamepad.Button} button - A reference to the Button which was released. * @param {number} value - The value of the button at the time it was released. Between 0 and 1. Some Gamepads have pressure-sensitive buttons. diff --git a/src/input/gamepad/events/CONNECTED_EVENT.js b/src/input/gamepad/events/CONNECTED_EVENT.js index c39ba4a15..0005328ab 100644 --- a/src/input/gamepad/events/CONNECTED_EVENT.js +++ b/src/input/gamepad/events/CONNECTED_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Connected Event. - * + * * This event is dispatched by the Gamepad Plugin when a Gamepad has been connected. - * + * * Listen to this event from within a Scene using: `this.input.gamepad.once('connected', listener)`. - * + * * Note that the browser may require you to press a button on a gamepad before it will allow you to access it, * this is for security reasons. However, it may also trust the page already, in which case you won't get the * 'connected' event and instead should check `GamepadPlugin.total` to see if it thinks there are any gamepads @@ -18,7 +18,7 @@ * * @event Phaser.Input.Gamepad.Events#CONNECTED * @since 3.0.0 - * + * * @param {Phaser.Input.Gamepad} pad - A reference to the Gamepad which was connected. * @param {Event} event - The native DOM Event that triggered the connection. */ diff --git a/src/input/gamepad/events/DISCONNECTED_EVENT.js b/src/input/gamepad/events/DISCONNECTED_EVENT.js index 7b67d621c..28a403a22 100644 --- a/src/input/gamepad/events/DISCONNECTED_EVENT.js +++ b/src/input/gamepad/events/DISCONNECTED_EVENT.js @@ -1,19 +1,19 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Disconnected Event. - * + * * This event is dispatched by the Gamepad Plugin when a Gamepad has been disconnected. - * + * * Listen to this event from within a Scene using: `this.input.gamepad.once('disconnected', listener)`. * * @event Phaser.Input.Gamepad.Events#DISCONNECTED * @since 3.0.0 - * + * * @param {Phaser.Input.Gamepad} pad - A reference to the Gamepad which was disconnected. * @param {Event} event - The native DOM Event that triggered the disconnection. */ diff --git a/src/input/gamepad/events/GAMEPAD_BUTTON_DOWN_EVENT.js b/src/input/gamepad/events/GAMEPAD_BUTTON_DOWN_EVENT.js index 285006089..de5f0e0aa 100644 --- a/src/input/gamepad/events/GAMEPAD_BUTTON_DOWN_EVENT.js +++ b/src/input/gamepad/events/GAMEPAD_BUTTON_DOWN_EVENT.js @@ -1,24 +1,24 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Button Down Event. - * + * * This event is dispatched by a Gamepad instance when a button has been pressed on it. - * + * * Listen to this event from a Gamepad instance. Once way to get this is from the `pad1`, `pad2`, etc properties on the Gamepad Plugin: * `this.input.gamepad.pad1.on('down', listener)`. - * + * * Note that you will not receive any Gamepad button events until the browser considers the Gamepad as being 'connected'. - * + * * You can also listen for a DOWN event from the Gamepad Plugin. See the [BUTTON_DOWN]{@linkcode Phaser.Input.Gamepad.Events#event:BUTTON_DOWN} event for details. * * @event Phaser.Input.Gamepad.Events#GAMEPAD_BUTTON_DOWN * @since 3.10.0 - * + * * @param {number} index - The index of the button that was pressed. * @param {number} value - The value of the button at the time it was pressed. Between 0 and 1. Some Gamepads have pressure-sensitive buttons. * @param {Phaser.Input.Gamepad.Button} button - A reference to the Button which was pressed. diff --git a/src/input/gamepad/events/GAMEPAD_BUTTON_UP_EVENT.js b/src/input/gamepad/events/GAMEPAD_BUTTON_UP_EVENT.js index 5504103e2..b651b2b16 100644 --- a/src/input/gamepad/events/GAMEPAD_BUTTON_UP_EVENT.js +++ b/src/input/gamepad/events/GAMEPAD_BUTTON_UP_EVENT.js @@ -1,24 +1,24 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Gamepad Button Up Event. - * + * * This event is dispatched by a Gamepad instance when a button has been released on it. - * + * * Listen to this event from a Gamepad instance. Once way to get this is from the `pad1`, `pad2`, etc properties on the Gamepad Plugin: * `this.input.gamepad.pad1.on('up', listener)`. - * + * * Note that you will not receive any Gamepad button events until the browser considers the Gamepad as being 'connected'. - * + * * You can also listen for an UP event from the Gamepad Plugin. See the [BUTTON_UP]{@linkcode Phaser.Input.Gamepad.Events#event:BUTTON_UP} event for details. * * @event Phaser.Input.Gamepad.Events#GAMEPAD_BUTTON_UP * @since 3.10.0 - * + * * @param {number} index - The index of the button that was released. * @param {number} value - The value of the button at the time it was released. Between 0 and 1. Some Gamepads have pressure-sensitive buttons. * @param {Phaser.Input.Gamepad.Button} button - A reference to the Button which was released. diff --git a/src/input/gamepad/events/index.js b/src/input/gamepad/events/index.js index ba8fdbf09..6927e0f57 100644 --- a/src/input/gamepad/events/index.js +++ b/src/input/gamepad/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/gamepad/index.js b/src/input/gamepad/index.js index c9f0b2b1a..cc9618543 100644 --- a/src/input/gamepad/index.js +++ b/src/input/gamepad/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,6 +15,6 @@ module.exports = { Events: require('./events'), Gamepad: require('./Gamepad'), GamepadPlugin: require('./GamepadPlugin'), - + Configs: require('./configs/') }; diff --git a/src/input/gamepad/typedefs/index.js b/src/input/gamepad/typedefs/index.js index d95114b58..eda98d601 100644 --- a/src/input/gamepad/typedefs/index.js +++ b/src/input/gamepad/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/index.js b/src/input/index.js index 157170352..912ef600e 100644 --- a/src/input/index.js +++ b/src/input/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/KeyboardManager.js b/src/input/keyboard/KeyboardManager.js index 46c956f90..a2b2e59c9 100644 --- a/src/input/keyboard/KeyboardManager.js +++ b/src/input/keyboard/KeyboardManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/KeyboardPlugin.js b/src/input/keyboard/KeyboardPlugin.js index c00696bfc..9da0fe83b 100644 --- a/src/input/keyboard/KeyboardPlugin.js +++ b/src/input/keyboard/KeyboardPlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/combo/AdvanceKeyCombo.js b/src/input/keyboard/combo/AdvanceKeyCombo.js index 397918299..48d5100ba 100644 --- a/src/input/keyboard/combo/AdvanceKeyCombo.js +++ b/src/input/keyboard/combo/AdvanceKeyCombo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/combo/KeyCombo.js b/src/input/keyboard/combo/KeyCombo.js index d5027bd01..4984ea9d1 100644 --- a/src/input/keyboard/combo/KeyCombo.js +++ b/src/input/keyboard/combo/KeyCombo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/combo/ProcessKeyCombo.js b/src/input/keyboard/combo/ProcessKeyCombo.js index a34af74cd..7ab130b13 100644 --- a/src/input/keyboard/combo/ProcessKeyCombo.js +++ b/src/input/keyboard/combo/ProcessKeyCombo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/combo/ResetKeyCombo.js b/src/input/keyboard/combo/ResetKeyCombo.js index ffb32718d..11dc7f4a9 100644 --- a/src/input/keyboard/combo/ResetKeyCombo.js +++ b/src/input/keyboard/combo/ResetKeyCombo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/events/ANY_KEY_DOWN_EVENT.js b/src/input/keyboard/events/ANY_KEY_DOWN_EVENT.js index 68a27620a..a019e4d80 100644 --- a/src/input/keyboard/events/ANY_KEY_DOWN_EVENT.js +++ b/src/input/keyboard/events/ANY_KEY_DOWN_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Global Key Down Event. - * + * * This event is dispatched by the Keyboard Plugin when any key on the keyboard is pressed down. - * + * * Listen to this event from within a Scene using: `this.input.keyboard.on('keydown', listener)`. - * + * * You can also listen for a specific key being pressed. See [Keyboard.Events.KEY_DOWN]{@linkcode Phaser.Input.Keyboard.Events#event:KEY_DOWN} for details. - * + * * Finally, you can create Key objects, which you can also listen for events from. See [Keyboard.Events.DOWN]{@linkcode Phaser.Input.Keyboard.Events#event:DOWN} for details. - * + * * _Note_: Many keyboards are unable to process certain combinations of keys due to hardware limitations known as ghosting. * Read [this article on ghosting]{@link http://www.html5gamedevs.com/topic/4876-impossible-to-use-more-than-2-keyboard-input-buttons-at-the-same-time/} for details. * @@ -24,7 +24,7 @@ * * @event Phaser.Input.Keyboard.Events#ANY_KEY_DOWN * @since 3.0.0 - * + * * @param {KeyboardEvent} event - The native DOM Keyboard Event. You can inspect this to learn more about the key that was pressed, any modifiers, etc. */ module.exports = 'keydown'; diff --git a/src/input/keyboard/events/ANY_KEY_UP_EVENT.js b/src/input/keyboard/events/ANY_KEY_UP_EVENT.js index c3a38b3e9..6dd2760a7 100644 --- a/src/input/keyboard/events/ANY_KEY_UP_EVENT.js +++ b/src/input/keyboard/events/ANY_KEY_UP_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Global Key Up Event. - * + * * This event is dispatched by the Keyboard Plugin when any key on the keyboard is released. - * + * * Listen to this event from within a Scene using: `this.input.keyboard.on('keyup', listener)`. - * + * * You can also listen for a specific key being released. See [Keyboard.Events.KEY_UP]{@linkcode Phaser.Input.Keyboard.Events#event:KEY_UP} for details. - * + * * Finally, you can create Key objects, which you can also listen for events from. See [Keyboard.Events.UP]{@linkcode Phaser.Input.Keyboard.Events#event:UP} for details. * * @event Phaser.Input.Keyboard.Events#ANY_KEY_UP * @since 3.0.0 - * + * * @param {KeyboardEvent} event - The native DOM Keyboard Event. You can inspect this to learn more about the key that was released, any modifiers, etc. */ module.exports = 'keyup'; diff --git a/src/input/keyboard/events/COMBO_MATCH_EVENT.js b/src/input/keyboard/events/COMBO_MATCH_EVENT.js index 8d3199f7f..b08c3367f 100644 --- a/src/input/keyboard/events/COMBO_MATCH_EVENT.js +++ b/src/input/keyboard/events/COMBO_MATCH_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Combo Match Event. - * + * * This event is dispatched by the Keyboard Plugin when a [Key Combo]{@link Phaser.Input.Keyboard.KeyCombo} is matched. - * + * * Listen for this event from the Key Plugin after a combo has been created: - * + * * ```javascript * this.input.keyboard.createCombo([ 38, 38, 40, 40, 37, 39, 37, 39, 66, 65, 13 ], { resetOnMatch: true }); * @@ -21,7 +21,7 @@ * * @event Phaser.Input.Keyboard.Events#COMBO_MATCH * @since 3.0.0 - * + * * @param {Phaser.Input.Keyboard.KeyCombo} keycombo - The Key Combo object that was matched. * @param {KeyboardEvent} event - The native DOM Keyboard Event of the final key in the combo. You can inspect this to learn more about any modifiers, etc. */ diff --git a/src/input/keyboard/events/DOWN_EVENT.js b/src/input/keyboard/events/DOWN_EVENT.js index 24d9b7b1d..083520089 100644 --- a/src/input/keyboard/events/DOWN_EVENT.js +++ b/src/input/keyboard/events/DOWN_EVENT.js @@ -1,27 +1,27 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Down Event. - * + * * This event is dispatched by a [Key]{@link Phaser.Input.Keyboard.Key} object when it is pressed. - * + * * Listen for this event from the Key object instance directly: - * + * * ```javascript * var spaceBar = this.input.keyboard.addKey(Phaser.Input.Keyboard.KeyCodes.SPACE); - * + * * spaceBar.on('down', listener) * ``` - * + * * You can also create a generic 'global' listener. See [Keyboard.Events.ANY_KEY_DOWN]{@linkcode Phaser.Input.Keyboard.Events#event:ANY_KEY_DOWN} for details. * * @event Phaser.Input.Keyboard.Events#DOWN * @since 3.0.0 - * + * * @param {Phaser.Input.Keyboard.Key} key - The Key object that was pressed. * @param {KeyboardEvent} event - The native DOM Keyboard Event. You can inspect this to learn more about any modifiers, etc. */ diff --git a/src/input/keyboard/events/KEY_DOWN_EVENT.js b/src/input/keyboard/events/KEY_DOWN_EVENT.js index 911a6c402..542de20aa 100644 --- a/src/input/keyboard/events/KEY_DOWN_EVENT.js +++ b/src/input/keyboard/events/KEY_DOWN_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Down Event. - * + * * This event is dispatched by the Keyboard Plugin when any key on the keyboard is pressed down. - * + * * Unlike the `ANY_KEY_DOWN` event, this one has a special dynamic event name. For example, to listen for the `A` key being pressed * use the following from within a Scene: `this.input.keyboard.on('keydown-A', listener)`. You can replace the `-A` part of the event - * name with any valid [Key Code string]{@link Phaser.Input.Keyboard.KeyCodes}. For example, this will listen for the space bar: + * name with any valid [Key Code string]{@link Phaser.Input.Keyboard.KeyCodes}. For example, this will listen for the space bar: * `this.input.keyboard.on('keydown-SPACE', listener)`. - * + * * You can also create a generic 'global' listener. See [Keyboard.Events.ANY_KEY_DOWN]{@linkcode Phaser.Input.Keyboard.Events#event:ANY_KEY_DOWN} for details. - * + * * Finally, you can create Key objects, which you can also listen for events from. See [Keyboard.Events.DOWN]{@linkcode Phaser.Input.Keyboard.Events#event:DOWN} for details. - * + * * _Note_: Many keyboards are unable to process certain combinations of keys due to hardware limitations known as ghosting. * Read [this article on ghosting]{@link http://www.html5gamedevs.com/topic/4876-impossible-to-use-more-than-2-keyboard-input-buttons-at-the-same-time/} for details. * @@ -27,7 +27,7 @@ * * @event Phaser.Input.Keyboard.Events#KEY_DOWN * @since 3.0.0 - * + * * @param {KeyboardEvent} event - The native DOM Keyboard Event. You can inspect this to learn more about the key that was pressed, any modifiers, etc. */ module.exports = 'keydown-'; diff --git a/src/input/keyboard/events/KEY_UP_EVENT.js b/src/input/keyboard/events/KEY_UP_EVENT.js index 55065f213..dbb7e41e5 100644 --- a/src/input/keyboard/events/KEY_UP_EVENT.js +++ b/src/input/keyboard/events/KEY_UP_EVENT.js @@ -1,26 +1,26 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Up Event. - * + * * This event is dispatched by the Keyboard Plugin when any key on the keyboard is released. - * + * * Unlike the `ANY_KEY_UP` event, this one has a special dynamic event name. For example, to listen for the `A` key being released * use the following from within a Scene: `this.input.keyboard.on('keyup-A', listener)`. You can replace the `-A` part of the event - * name with any valid [Key Code string]{@link Phaser.Input.Keyboard.KeyCodes}. For example, this will listen for the space bar: + * name with any valid [Key Code string]{@link Phaser.Input.Keyboard.KeyCodes}. For example, this will listen for the space bar: * `this.input.keyboard.on('keyup-SPACE', listener)`. - * + * * You can also create a generic 'global' listener. See [Keyboard.Events.ANY_KEY_UP]{@linkcode Phaser.Input.Keyboard.Events#event:ANY_KEY_UP} for details. - * + * * Finally, you can create Key objects, which you can also listen for events from. See [Keyboard.Events.UP]{@linkcode Phaser.Input.Keyboard.Events#event:UP} for details. * * @event Phaser.Input.Keyboard.Events#KEY_UP * @since 3.0.0 - * + * * @param {KeyboardEvent} event - The native DOM Keyboard Event. You can inspect this to learn more about the key that was released, any modifiers, etc. */ module.exports = 'keyup-'; diff --git a/src/input/keyboard/events/UP_EVENT.js b/src/input/keyboard/events/UP_EVENT.js index 126d916e7..347d33acd 100644 --- a/src/input/keyboard/events/UP_EVENT.js +++ b/src/input/keyboard/events/UP_EVENT.js @@ -1,27 +1,27 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Key Up Event. - * + * * This event is dispatched by a [Key]{@link Phaser.Input.Keyboard.Key} object when it is released. - * + * * Listen for this event from the Key object instance directly: - * + * * ```javascript * var spaceBar = this.input.keyboard.addKey(Phaser.Input.Keyboard.KeyCodes.SPACE); - * + * * spaceBar.on('up', listener) * ``` - * + * * You can also create a generic 'global' listener. See [Keyboard.Events.ANY_KEY_UP]{@linkcode Phaser.Input.Keyboard.Events#event:ANY_KEY_UP} for details. * * @event Phaser.Input.Keyboard.Events#UP * @since 3.0.0 - * + * * @param {Phaser.Input.Keyboard.Key} key - The Key object that was released. * @param {KeyboardEvent} event - The native DOM Keyboard Event. You can inspect this to learn more about any modifiers, etc. */ diff --git a/src/input/keyboard/events/index.js b/src/input/keyboard/events/index.js index 3eca6a61e..81b552a35 100644 --- a/src/input/keyboard/events/index.js +++ b/src/input/keyboard/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/index.js b/src/input/keyboard/index.js index 70941c314..47efa2582 100644 --- a/src/input/keyboard/index.js +++ b/src/input/keyboard/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/keys/DownDuration.js b/src/input/keyboard/keys/DownDuration.js index cc8ea62f7..8c7b864ae 100644 --- a/src/input/keyboard/keys/DownDuration.js +++ b/src/input/keyboard/keys/DownDuration.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/keys/JustDown.js b/src/input/keyboard/keys/JustDown.js index 89f34fe99..3b89cb9af 100644 --- a/src/input/keyboard/keys/JustDown.js +++ b/src/input/keyboard/keys/JustDown.js @@ -1,14 +1,14 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The justDown value allows you to test if this Key has just been pressed down or not. - * + * * When you check this value it will return `true` if the Key is down, otherwise `false`. - * + * * You can only call justDown once per key press. It will only return `true` once, until the Key is released and pressed down again. * This allows you to use it in situations where you want to check if this key is down without using an event, such as in a core game loop. * diff --git a/src/input/keyboard/keys/JustUp.js b/src/input/keyboard/keys/JustUp.js index 97bc3b894..24402b287 100644 --- a/src/input/keyboard/keys/JustUp.js +++ b/src/input/keyboard/keys/JustUp.js @@ -1,14 +1,14 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The justUp value allows you to test if this Key has just been released or not. - * + * * When you check this value it will return `true` if the Key is up, otherwise `false`. - * + * * You can only call JustUp once per key release. It will only return `true` once, until the Key is pressed down and released again. * This allows you to use it in situations where you want to check if this key is up without using an event, such as in a core game loop. * diff --git a/src/input/keyboard/keys/Key.js b/src/input/keyboard/keys/Key.js index 345d38254..165282d3a 100644 --- a/src/input/keyboard/keys/Key.js +++ b/src/input/keyboard/keys/Key.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/keys/KeyCodes.js b/src/input/keyboard/keys/KeyCodes.js index 6938eb943..812165ef9 100644 --- a/src/input/keyboard/keys/KeyCodes.js +++ b/src/input/keyboard/keys/KeyCodes.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -16,7 +16,7 @@ var KeyCodes = { /** * The BACKSPACE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.BACKSPACE * @type {number} * @since 3.0.0 @@ -25,7 +25,7 @@ var KeyCodes = { /** * The TAB key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.TAB * @type {number} * @since 3.0.0 @@ -34,7 +34,7 @@ var KeyCodes = { /** * The ENTER key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.ENTER * @type {number} * @since 3.0.0 @@ -43,7 +43,7 @@ var KeyCodes = { /** * The SHIFT key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.SHIFT * @type {number} * @since 3.0.0 @@ -52,7 +52,7 @@ var KeyCodes = { /** * The CTRL key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.CTRL * @type {number} * @since 3.0.0 @@ -61,7 +61,7 @@ var KeyCodes = { /** * The ALT key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.ALT * @type {number} * @since 3.0.0 @@ -70,7 +70,7 @@ var KeyCodes = { /** * The PAUSE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.PAUSE * @type {number} * @since 3.0.0 @@ -79,7 +79,7 @@ var KeyCodes = { /** * The CAPS_LOCK key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.CAPS_LOCK * @type {number} * @since 3.0.0 @@ -88,7 +88,7 @@ var KeyCodes = { /** * The ESC key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.ESC * @type {number} * @since 3.0.0 @@ -97,7 +97,7 @@ var KeyCodes = { /** * The SPACE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.SPACE * @type {number} * @since 3.0.0 @@ -106,7 +106,7 @@ var KeyCodes = { /** * The PAGE_UP key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.PAGE_UP * @type {number} * @since 3.0.0 @@ -115,7 +115,7 @@ var KeyCodes = { /** * The PAGE_DOWN key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.PAGE_DOWN * @type {number} * @since 3.0.0 @@ -124,7 +124,7 @@ var KeyCodes = { /** * The END key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.END * @type {number} * @since 3.0.0 @@ -133,7 +133,7 @@ var KeyCodes = { /** * The HOME key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.HOME * @type {number} * @since 3.0.0 @@ -142,7 +142,7 @@ var KeyCodes = { /** * The LEFT key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.LEFT * @type {number} * @since 3.0.0 @@ -151,7 +151,7 @@ var KeyCodes = { /** * The UP key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.UP * @type {number} * @since 3.0.0 @@ -160,7 +160,7 @@ var KeyCodes = { /** * The RIGHT key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.RIGHT * @type {number} * @since 3.0.0 @@ -169,7 +169,7 @@ var KeyCodes = { /** * The DOWN key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.DOWN * @type {number} * @since 3.0.0 @@ -178,7 +178,7 @@ var KeyCodes = { /** * The PRINT_SCREEN key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.PRINT_SCREEN * @type {number} * @since 3.0.0 @@ -187,7 +187,7 @@ var KeyCodes = { /** * The INSERT key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.INSERT * @type {number} * @since 3.0.0 @@ -196,7 +196,7 @@ var KeyCodes = { /** * The DELETE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.DELETE * @type {number} * @since 3.0.0 @@ -205,7 +205,7 @@ var KeyCodes = { /** * The ZERO key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.ZERO * @type {number} * @since 3.0.0 @@ -214,7 +214,7 @@ var KeyCodes = { /** * The ONE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.ONE * @type {number} * @since 3.0.0 @@ -223,7 +223,7 @@ var KeyCodes = { /** * The TWO key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.TWO * @type {number} * @since 3.0.0 @@ -232,7 +232,7 @@ var KeyCodes = { /** * The THREE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.THREE * @type {number} * @since 3.0.0 @@ -241,7 +241,7 @@ var KeyCodes = { /** * The FOUR key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.FOUR * @type {number} * @since 3.0.0 @@ -250,7 +250,7 @@ var KeyCodes = { /** * The FIVE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.FIVE * @type {number} * @since 3.0.0 @@ -259,7 +259,7 @@ var KeyCodes = { /** * The SIX key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.SIX * @type {number} * @since 3.0.0 @@ -268,7 +268,7 @@ var KeyCodes = { /** * The SEVEN key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.SEVEN * @type {number} * @since 3.0.0 @@ -277,7 +277,7 @@ var KeyCodes = { /** * The EIGHT key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.EIGHT * @type {number} * @since 3.0.0 @@ -286,7 +286,7 @@ var KeyCodes = { /** * The NINE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NINE * @type {number} * @since 3.0.0 @@ -295,7 +295,7 @@ var KeyCodes = { /** * The NUMPAD_ZERO key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_ZERO * @type {number} * @since 3.0.0 @@ -304,7 +304,7 @@ var KeyCodes = { /** * The NUMPAD_ONE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_ONE * @type {number} * @since 3.0.0 @@ -313,7 +313,7 @@ var KeyCodes = { /** * The NUMPAD_TWO key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_TWO * @type {number} * @since 3.0.0 @@ -322,7 +322,7 @@ var KeyCodes = { /** * The NUMPAD_THREE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_THREE * @type {number} * @since 3.0.0 @@ -331,7 +331,7 @@ var KeyCodes = { /** * The NUMPAD_FOUR key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_FOUR * @type {number} * @since 3.0.0 @@ -340,7 +340,7 @@ var KeyCodes = { /** * The NUMPAD_FIVE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_FIVE * @type {number} * @since 3.0.0 @@ -349,7 +349,7 @@ var KeyCodes = { /** * The NUMPAD_SIX key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_SIX * @type {number} * @since 3.0.0 @@ -358,7 +358,7 @@ var KeyCodes = { /** * The NUMPAD_SEVEN key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_SEVEN * @type {number} * @since 3.0.0 @@ -367,7 +367,7 @@ var KeyCodes = { /** * The NUMPAD_EIGHT key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_EIGHT * @type {number} * @since 3.0.0 @@ -376,7 +376,7 @@ var KeyCodes = { /** * The NUMPAD_NINE key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_NINE * @type {number} * @since 3.0.0 @@ -385,7 +385,7 @@ var KeyCodes = { /** * The Numpad Addition (+) key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_ADD * @type {number} * @since 3.21.0 @@ -394,7 +394,7 @@ var KeyCodes = { /** * The Numpad Subtraction (-) key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.NUMPAD_SUBTRACT * @type {number} * @since 3.21.0 @@ -403,7 +403,7 @@ var KeyCodes = { /** * The A key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.A * @type {number} * @since 3.0.0 @@ -412,7 +412,7 @@ var KeyCodes = { /** * The B key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.B * @type {number} * @since 3.0.0 @@ -421,7 +421,7 @@ var KeyCodes = { /** * The C key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.C * @type {number} * @since 3.0.0 @@ -430,7 +430,7 @@ var KeyCodes = { /** * The D key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.D * @type {number} * @since 3.0.0 @@ -439,7 +439,7 @@ var KeyCodes = { /** * The E key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.E * @type {number} * @since 3.0.0 @@ -448,7 +448,7 @@ var KeyCodes = { /** * The F key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F * @type {number} * @since 3.0.0 @@ -457,7 +457,7 @@ var KeyCodes = { /** * The G key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.G * @type {number} * @since 3.0.0 @@ -466,7 +466,7 @@ var KeyCodes = { /** * The H key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.H * @type {number} * @since 3.0.0 @@ -475,7 +475,7 @@ var KeyCodes = { /** * The I key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.I * @type {number} * @since 3.0.0 @@ -484,7 +484,7 @@ var KeyCodes = { /** * The J key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.J * @type {number} * @since 3.0.0 @@ -493,7 +493,7 @@ var KeyCodes = { /** * The K key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.K * @type {number} * @since 3.0.0 @@ -502,7 +502,7 @@ var KeyCodes = { /** * The L key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.L * @type {number} * @since 3.0.0 @@ -511,7 +511,7 @@ var KeyCodes = { /** * The M key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.M * @type {number} * @since 3.0.0 @@ -520,7 +520,7 @@ var KeyCodes = { /** * The N key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.N * @type {number} * @since 3.0.0 @@ -529,7 +529,7 @@ var KeyCodes = { /** * The O key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.O * @type {number} * @since 3.0.0 @@ -538,7 +538,7 @@ var KeyCodes = { /** * The P key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.P * @type {number} * @since 3.0.0 @@ -547,7 +547,7 @@ var KeyCodes = { /** * The Q key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.Q * @type {number} * @since 3.0.0 @@ -556,7 +556,7 @@ var KeyCodes = { /** * The R key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.R * @type {number} * @since 3.0.0 @@ -565,7 +565,7 @@ var KeyCodes = { /** * The S key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.S * @type {number} * @since 3.0.0 @@ -574,7 +574,7 @@ var KeyCodes = { /** * The T key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.T * @type {number} * @since 3.0.0 @@ -583,7 +583,7 @@ var KeyCodes = { /** * The U key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.U * @type {number} * @since 3.0.0 @@ -592,7 +592,7 @@ var KeyCodes = { /** * The V key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.V * @type {number} * @since 3.0.0 @@ -601,7 +601,7 @@ var KeyCodes = { /** * The W key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.W * @type {number} * @since 3.0.0 @@ -610,7 +610,7 @@ var KeyCodes = { /** * The X key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.X * @type {number} * @since 3.0.0 @@ -619,7 +619,7 @@ var KeyCodes = { /** * The Y key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.Y * @type {number} * @since 3.0.0 @@ -628,7 +628,7 @@ var KeyCodes = { /** * The Z key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.Z * @type {number} * @since 3.0.0 @@ -637,7 +637,7 @@ var KeyCodes = { /** * The F1 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F1 * @type {number} * @since 3.0.0 @@ -646,7 +646,7 @@ var KeyCodes = { /** * The F2 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F2 * @type {number} * @since 3.0.0 @@ -655,7 +655,7 @@ var KeyCodes = { /** * The F3 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F3 * @type {number} * @since 3.0.0 @@ -664,7 +664,7 @@ var KeyCodes = { /** * The F4 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F4 * @type {number} * @since 3.0.0 @@ -673,7 +673,7 @@ var KeyCodes = { /** * The F5 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F5 * @type {number} * @since 3.0.0 @@ -682,7 +682,7 @@ var KeyCodes = { /** * The F6 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F6 * @type {number} * @since 3.0.0 @@ -691,7 +691,7 @@ var KeyCodes = { /** * The F7 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F7 * @type {number} * @since 3.0.0 @@ -700,7 +700,7 @@ var KeyCodes = { /** * The F8 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F8 * @type {number} * @since 3.0.0 @@ -709,7 +709,7 @@ var KeyCodes = { /** * The F9 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F9 * @type {number} * @since 3.0.0 @@ -718,7 +718,7 @@ var KeyCodes = { /** * The F10 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F10 * @type {number} * @since 3.0.0 @@ -727,7 +727,7 @@ var KeyCodes = { /** * The F11 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F11 * @type {number} * @since 3.0.0 @@ -736,7 +736,7 @@ var KeyCodes = { /** * The F12 key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.F12 * @type {number} * @since 3.0.0 @@ -745,7 +745,7 @@ var KeyCodes = { /** * The SEMICOLON key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.SEMICOLON * @type {number} * @since 3.0.0 @@ -754,7 +754,7 @@ var KeyCodes = { /** * The PLUS key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.PLUS * @type {number} * @since 3.0.0 @@ -763,7 +763,7 @@ var KeyCodes = { /** * The COMMA key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.COMMA * @type {number} * @since 3.0.0 @@ -772,7 +772,7 @@ var KeyCodes = { /** * The MINUS key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.MINUS * @type {number} * @since 3.0.0 @@ -781,7 +781,7 @@ var KeyCodes = { /** * The PERIOD key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.PERIOD * @type {number} * @since 3.0.0 @@ -790,7 +790,7 @@ var KeyCodes = { /** * The FORWARD_SLASH key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.FORWARD_SLASH * @type {number} * @since 3.0.0 @@ -799,7 +799,7 @@ var KeyCodes = { /** * The BACK_SLASH key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.BACK_SLASH * @type {number} * @since 3.0.0 @@ -808,7 +808,7 @@ var KeyCodes = { /** * The QUOTES key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.QUOTES * @type {number} * @since 3.0.0 @@ -817,7 +817,7 @@ var KeyCodes = { /** * The BACKTICK key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.BACKTICK * @type {number} * @since 3.0.0 @@ -826,7 +826,7 @@ var KeyCodes = { /** * The OPEN_BRACKET key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.OPEN_BRACKET * @type {number} * @since 3.0.0 @@ -835,7 +835,7 @@ var KeyCodes = { /** * The CLOSED_BRACKET key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.CLOSED_BRACKET * @type {number} * @since 3.0.0 @@ -844,7 +844,7 @@ var KeyCodes = { /** * The SEMICOLON_FIREFOX key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.SEMICOLON_FIREFOX * @type {number} * @since 3.0.0 @@ -853,7 +853,7 @@ var KeyCodes = { /** * The COLON key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.COLON * @type {number} * @since 3.0.0 @@ -862,7 +862,7 @@ var KeyCodes = { /** * The COMMA_FIREFOX_WINDOWS key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.COMMA_FIREFOX_WINDOWS * @type {number} * @since 3.0.0 @@ -871,7 +871,7 @@ var KeyCodes = { /** * The COMMA_FIREFOX key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.COMMA_FIREFOX * @type {number} * @since 3.0.0 @@ -880,7 +880,7 @@ var KeyCodes = { /** * The BRACKET_RIGHT_FIREFOX key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.BRACKET_RIGHT_FIREFOX * @type {number} * @since 3.0.0 @@ -889,7 +889,7 @@ var KeyCodes = { /** * The BRACKET_LEFT_FIREFOX key. - * + * * @name Phaser.Input.Keyboard.KeyCodes.BRACKET_LEFT_FIREFOX * @type {number} * @since 3.0.0 diff --git a/src/input/keyboard/keys/KeyMap.js b/src/input/keyboard/keys/KeyMap.js index 3f90e0816..bdb39554e 100644 --- a/src/input/keyboard/keys/KeyMap.js +++ b/src/input/keyboard/keys/KeyMap.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/keys/UpDuration.js b/src/input/keyboard/keys/UpDuration.js index cf6c184bc..ff709e054 100644 --- a/src/input/keyboard/keys/UpDuration.js +++ b/src/input/keyboard/keys/UpDuration.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/keyboard/typedefs/index.js b/src/input/keyboard/typedefs/index.js index 159297c1b..696fd860c 100644 --- a/src/input/keyboard/typedefs/index.js +++ b/src/input/keyboard/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/mouse/MouseManager.js b/src/input/mouse/MouseManager.js index 0c5a71141..0bf9d8135 100644 --- a/src/input/mouse/MouseManager.js +++ b/src/input/mouse/MouseManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/mouse/index.js b/src/input/mouse/index.js index a5ff433ab..98f12ff48 100644 --- a/src/input/mouse/index.js +++ b/src/input/mouse/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -12,6 +12,6 @@ module.exports = { MouseManager: require('./MouseManager') - + }; /* eslint-enable */ diff --git a/src/input/touch/TouchManager.js b/src/input/touch/TouchManager.js index 329b44f7c..82eaac5d9 100644 --- a/src/input/touch/TouchManager.js +++ b/src/input/touch/TouchManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/input/touch/index.js b/src/input/touch/index.js index 097c1bc7a..393f21878 100644 --- a/src/input/touch/index.js +++ b/src/input/touch/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -12,6 +12,6 @@ module.exports = { TouchManager: require('./TouchManager') - + }; /* eslint-enable */ diff --git a/src/input/typedefs/EventData.js b/src/input/typedefs/EventData.js index 664589337..3aef5f12e 100644 --- a/src/input/typedefs/EventData.js +++ b/src/input/typedefs/EventData.js @@ -1,17 +1,17 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * A Phaser Input Event Data object. - * + * * This object is passed to the registered event listeners and allows you to stop any further propagation. - * + * * @typedef {object} Phaser.Types.Input.EventData * @since 3.15.1 - * + * * @property {boolean} [cancelled=false] - The cancelled state of this Event. * @property {function} stopPropagation - Call this method to stop this event from passing any further down the event chain. */ diff --git a/src/input/typedefs/index.js b/src/input/typedefs/index.js index 96498d6a9..be0f76ef8 100644 --- a/src/input/typedefs/index.js +++ b/src/input/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/File.js b/src/loader/File.js index 5547dc8c0..dcdcfe17d 100644 --- a/src/loader/File.js +++ b/src/loader/File.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -59,6 +59,11 @@ var File = new Class({ */ this.type = GetFastValue(fileConfig, 'type', false); + if (!this.type) + { + throw new Error('Invalid File type: ' + this.type); + } + /** * Unique cache key (unique within its file type) * @@ -75,9 +80,9 @@ var File = new Class({ this.key = loader.prefix + loadKey; } - if (!this.type || !this.key) + if (!this.key) { - throw new Error('Invalid Loader.' + this.type + ' key'); + throw new Error('Invalid File key: ' + this.key); } var url = GetFastValue(fileConfig, 'url'); diff --git a/src/loader/FileTypesManager.js b/src/loader/FileTypesManager.js index ec1d68109..71bf63896 100644 --- a/src/loader/FileTypesManager.js +++ b/src/loader/FileTypesManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,13 +14,13 @@ var FileTypesManager = { /** * Static method called when a LoaderPlugin is created. - * + * * Loops through the local types object and injects all of them as * properties into the LoaderPlugin instance. * * @method Phaser.Loader.FileTypesManager.install * @since 3.0.0 - * + * * @param {Phaser.Loader.LoaderPlugin} loader - The LoaderPlugin to install the types into. */ install: function (loader) @@ -33,12 +33,12 @@ var FileTypesManager = { /** * Static method called directly by the File Types. - * + * * The key is a reference to the function used to load the files via the Loader, i.e. `image`. * * @method Phaser.Loader.FileTypesManager.register * @since 3.0.0 - * + * * @param {string} key - The key that will be used as the method name in the LoaderPlugin. * @param {function} factoryFunction - The function that will be called when LoaderPlugin.key is invoked. */ diff --git a/src/loader/GetURL.js b/src/loader/GetURL.js index 2897cf9ac..c700281a0 100644 --- a/src/loader/GetURL.js +++ b/src/loader/GetURL.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/LoaderPlugin.js b/src/loader/LoaderPlugin.js index d1e7d2729..bfd875d73 100644 --- a/src/loader/LoaderPlugin.js +++ b/src/loader/LoaderPlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/MergeXHRSettings.js b/src/loader/MergeXHRSettings.js index 62ca3671b..6ff6df0e6 100644 --- a/src/loader/MergeXHRSettings.js +++ b/src/loader/MergeXHRSettings.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/MultiFile.js b/src/loader/MultiFile.js index 0b290db66..876f638c2 100644 --- a/src/loader/MultiFile.js +++ b/src/loader/MultiFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/XHRLoader.js b/src/loader/XHRLoader.js index a4e67689e..1e7d39a8e 100644 --- a/src/loader/XHRLoader.js +++ b/src/loader/XHRLoader.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/XHRSettings.js b/src/loader/XHRSettings.js index 85668db11..18fc9270b 100644 --- a/src/loader/XHRSettings.js +++ b/src/loader/XHRSettings.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/const.js b/src/loader/const.js index 268e596ef..d4c16f35b 100644 --- a/src/loader/const.js +++ b/src/loader/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/ADD_EVENT.js b/src/loader/events/ADD_EVENT.js index d6aaaa124..d0fdd3b38 100644 --- a/src/loader/events/ADD_EVENT.js +++ b/src/loader/events/ADD_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/COMPLETE_EVENT.js b/src/loader/events/COMPLETE_EVENT.js index c7c401f3a..882023625 100644 --- a/src/loader/events/COMPLETE_EVENT.js +++ b/src/loader/events/COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/FILE_COMPLETE_EVENT.js b/src/loader/events/FILE_COMPLETE_EVENT.js index b6525bbe4..cc4236143 100644 --- a/src/loader/events/FILE_COMPLETE_EVENT.js +++ b/src/loader/events/FILE_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/FILE_KEY_COMPLETE_EVENT.js b/src/loader/events/FILE_KEY_COMPLETE_EVENT.js index 38a841ecf..1544fb800 100644 --- a/src/loader/events/FILE_KEY_COMPLETE_EVENT.js +++ b/src/loader/events/FILE_KEY_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/FILE_LOAD_ERROR_EVENT.js b/src/loader/events/FILE_LOAD_ERROR_EVENT.js index a9aba5f09..d7da576cf 100644 --- a/src/loader/events/FILE_LOAD_ERROR_EVENT.js +++ b/src/loader/events/FILE_LOAD_ERROR_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/FILE_LOAD_EVENT.js b/src/loader/events/FILE_LOAD_EVENT.js index 7f300f425..785700f55 100644 --- a/src/loader/events/FILE_LOAD_EVENT.js +++ b/src/loader/events/FILE_LOAD_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/FILE_PROGRESS_EVENT.js b/src/loader/events/FILE_PROGRESS_EVENT.js index 9a98b4bf6..0421576c3 100644 --- a/src/loader/events/FILE_PROGRESS_EVENT.js +++ b/src/loader/events/FILE_PROGRESS_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/POST_PROCESS_EVENT.js b/src/loader/events/POST_PROCESS_EVENT.js index 875f70f2d..cec0fdf6c 100644 --- a/src/loader/events/POST_PROCESS_EVENT.js +++ b/src/loader/events/POST_PROCESS_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/PROGRESS_EVENT.js b/src/loader/events/PROGRESS_EVENT.js index 0099c77ab..b4d811735 100644 --- a/src/loader/events/PROGRESS_EVENT.js +++ b/src/loader/events/PROGRESS_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/events/START_EVENT.js b/src/loader/events/START_EVENT.js index e5748b3e0..36da2c0eb 100644 --- a/src/loader/events/START_EVENT.js +++ b/src/loader/events/START_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Loader Plugin Start Event. - * + * * This event is dispatched when the Loader starts running. At this point load progress is zero. - * + * * This event is dispatched even if there aren't any files in the load queue. - * + * * Listen to it from a Scene using: `this.load.on('start', listener)`. * * @event Phaser.Loader.Events#START * @since 3.0.0 - * + * * @param {Phaser.Loader.LoaderPlugin} loader - A reference to the Loader Plugin that dispatched this event. */ module.exports = 'start'; diff --git a/src/loader/events/index.js b/src/loader/events/index.js index 6c8a6fb40..4d8776387 100644 --- a/src/loader/events/index.js +++ b/src/loader/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/AnimationJSONFile.js b/src/loader/filetypes/AnimationJSONFile.js index 732014a75..124ead7d1 100644 --- a/src/loader/filetypes/AnimationJSONFile.js +++ b/src/loader/filetypes/AnimationJSONFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/AsepriteFile.js b/src/loader/filetypes/AsepriteFile.js index 472c80ea3..292421e5c 100644 --- a/src/loader/filetypes/AsepriteFile.js +++ b/src/loader/filetypes/AsepriteFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/AtlasJSONFile.js b/src/loader/filetypes/AtlasJSONFile.js index d11551684..e8da35563 100644 --- a/src/loader/filetypes/AtlasJSONFile.js +++ b/src/loader/filetypes/AtlasJSONFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/AtlasXMLFile.js b/src/loader/filetypes/AtlasXMLFile.js index 3dfaa2262..9a5bf8d5f 100644 --- a/src/loader/filetypes/AtlasXMLFile.js +++ b/src/loader/filetypes/AtlasXMLFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/AudioFile.js b/src/loader/filetypes/AudioFile.js index fe1f8e41a..11d0cecab 100644 --- a/src/loader/filetypes/AudioFile.js +++ b/src/loader/filetypes/AudioFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/AudioSpriteFile.js b/src/loader/filetypes/AudioSpriteFile.js index de4d19059..66a26fc40 100644 --- a/src/loader/filetypes/AudioSpriteFile.js +++ b/src/loader/filetypes/AudioSpriteFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/BinaryFile.js b/src/loader/filetypes/BinaryFile.js index 867df1ea9..9a0dae861 100644 --- a/src/loader/filetypes/BinaryFile.js +++ b/src/loader/filetypes/BinaryFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/BitmapFontFile.js b/src/loader/filetypes/BitmapFontFile.js index 8c9002a46..88a947fec 100644 --- a/src/loader/filetypes/BitmapFontFile.js +++ b/src/loader/filetypes/BitmapFontFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/CSSFile.js b/src/loader/filetypes/CSSFile.js index 515d121a4..ecea36df6 100644 --- a/src/loader/filetypes/CSSFile.js +++ b/src/loader/filetypes/CSSFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/GLSLFile.js b/src/loader/filetypes/GLSLFile.js index 542cd4ab6..a98a84014 100644 --- a/src/loader/filetypes/GLSLFile.js +++ b/src/loader/filetypes/GLSLFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/HTML5AudioFile.js b/src/loader/filetypes/HTML5AudioFile.js index e8ae6a141..383a70806 100644 --- a/src/loader/filetypes/HTML5AudioFile.js +++ b/src/loader/filetypes/HTML5AudioFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -16,7 +16,7 @@ var IsPlainObject = require('../../utils/object/IsPlainObject'); * A single Audio File suitable for loading by the Loader. * * These are created when you use the Phaser.Loader.LoaderPlugin#audio method and are not typically created directly. - * + * * For documentation about what all the arguments and configuration options mean please see Phaser.Loader.LoaderPlugin#audio. * * @class HTML5AudioFile diff --git a/src/loader/filetypes/HTMLFile.js b/src/loader/filetypes/HTMLFile.js index a32274c6f..c12b9d11d 100644 --- a/src/loader/filetypes/HTMLFile.js +++ b/src/loader/filetypes/HTMLFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/HTMLTextureFile.js b/src/loader/filetypes/HTMLTextureFile.js index b7818761d..0cd6d6a46 100644 --- a/src/loader/filetypes/HTMLTextureFile.js +++ b/src/loader/filetypes/HTMLTextureFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/ImageFile.js b/src/loader/filetypes/ImageFile.js index 269bb26e5..688f95dd1 100644 --- a/src/loader/filetypes/ImageFile.js +++ b/src/loader/filetypes/ImageFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/JSONFile.js b/src/loader/filetypes/JSONFile.js index b0564928c..1d58ff910 100644 --- a/src/loader/filetypes/JSONFile.js +++ b/src/loader/filetypes/JSONFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/MultiAtlasFile.js b/src/loader/filetypes/MultiAtlasFile.js index 7dc531182..7458a72c5 100644 --- a/src/loader/filetypes/MultiAtlasFile.js +++ b/src/loader/filetypes/MultiAtlasFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/MultiScriptFile.js b/src/loader/filetypes/MultiScriptFile.js index 81a48062e..a23956520 100644 --- a/src/loader/filetypes/MultiScriptFile.js +++ b/src/loader/filetypes/MultiScriptFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/OBJFile.js b/src/loader/filetypes/OBJFile.js index 5435ab55f..023bc6a6a 100644 --- a/src/loader/filetypes/OBJFile.js +++ b/src/loader/filetypes/OBJFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/PackFile.js b/src/loader/filetypes/PackFile.js index 137708f0c..378e78740 100644 --- a/src/loader/filetypes/PackFile.js +++ b/src/loader/filetypes/PackFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/PluginFile.js b/src/loader/filetypes/PluginFile.js index 85eb527a7..f87ab8a69 100644 --- a/src/loader/filetypes/PluginFile.js +++ b/src/loader/filetypes/PluginFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/SVGFile.js b/src/loader/filetypes/SVGFile.js index b2eb50fff..33bb5eb3d 100644 --- a/src/loader/filetypes/SVGFile.js +++ b/src/loader/filetypes/SVGFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/SceneFile.js b/src/loader/filetypes/SceneFile.js index 6c27a7369..3b9e85925 100644 --- a/src/loader/filetypes/SceneFile.js +++ b/src/loader/filetypes/SceneFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/ScenePluginFile.js b/src/loader/filetypes/ScenePluginFile.js index 9348b0a3d..e512a1d73 100644 --- a/src/loader/filetypes/ScenePluginFile.js +++ b/src/loader/filetypes/ScenePluginFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/ScriptFile.js b/src/loader/filetypes/ScriptFile.js index 0872330be..3a2f68cd8 100644 --- a/src/loader/filetypes/ScriptFile.js +++ b/src/loader/filetypes/ScriptFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -51,6 +51,10 @@ var ScriptFile = new Class({ xhrSettings = GetFastValue(config, 'xhrSettings'); extension = GetFastValue(config, 'extension', extension); } + else if (type === undefined) + { + type = 'script'; + } var fileConfig = { type: type, diff --git a/src/loader/filetypes/SpriteSheetFile.js b/src/loader/filetypes/SpriteSheetFile.js index 640cdf649..f44bba068 100644 --- a/src/loader/filetypes/SpriteSheetFile.js +++ b/src/loader/filetypes/SpriteSheetFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/TextFile.js b/src/loader/filetypes/TextFile.js index fa938ad83..fe44e0f0d 100644 --- a/src/loader/filetypes/TextFile.js +++ b/src/loader/filetypes/TextFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/TilemapCSVFile.js b/src/loader/filetypes/TilemapCSVFile.js index a42acf4e3..64f562b4b 100644 --- a/src/loader/filetypes/TilemapCSVFile.js +++ b/src/loader/filetypes/TilemapCSVFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/TilemapImpactFile.js b/src/loader/filetypes/TilemapImpactFile.js index f6b922776..359c8d7e7 100644 --- a/src/loader/filetypes/TilemapImpactFile.js +++ b/src/loader/filetypes/TilemapImpactFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/TilemapJSONFile.js b/src/loader/filetypes/TilemapJSONFile.js index 515a6fb4a..a639205fa 100644 --- a/src/loader/filetypes/TilemapJSONFile.js +++ b/src/loader/filetypes/TilemapJSONFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/UnityAtlasFile.js b/src/loader/filetypes/UnityAtlasFile.js index 8b1addd27..0c5c5a5e5 100644 --- a/src/loader/filetypes/UnityAtlasFile.js +++ b/src/loader/filetypes/UnityAtlasFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/VideoFile.js b/src/loader/filetypes/VideoFile.js index 9bd54e25c..32f4a1f83 100644 --- a/src/loader/filetypes/VideoFile.js +++ b/src/loader/filetypes/VideoFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/XMLFile.js b/src/loader/filetypes/XMLFile.js index 04471f09c..148983c39 100644 --- a/src/loader/filetypes/XMLFile.js +++ b/src/loader/filetypes/XMLFile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/index.js b/src/loader/filetypes/index.js index 0d94fbd4f..65416118f 100644 --- a/src/loader/filetypes/index.js +++ b/src/loader/filetypes/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/filetypes/typedefs/index.js b/src/loader/filetypes/typedefs/index.js index 9993b8210..6d86e2a3f 100644 --- a/src/loader/filetypes/typedefs/index.js +++ b/src/loader/filetypes/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/index.js b/src/loader/index.js index d1c83460e..d308fb621 100644 --- a/src/loader/index.js +++ b/src/loader/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/loader/typedefs/index.js b/src/loader/typedefs/index.js index 5c58ffa11..0aa7be247 100644 --- a/src/loader/typedefs/index.js +++ b/src/loader/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Average.js b/src/math/Average.js index d846323bf..a4ed51700 100644 --- a/src/math/Average.js +++ b/src/math/Average.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Bernstein.js b/src/math/Bernstein.js index 6ba3f5a0c..d03c6d2f5 100644 --- a/src/math/Bernstein.js +++ b/src/math/Bernstein.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Between.js b/src/math/Between.js index d537a09a3..79d7a5b0b 100644 --- a/src/math/Between.js +++ b/src/math/Between.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/CatmullRom.js b/src/math/CatmullRom.js index b801833a9..aaf6fa791 100644 --- a/src/math/CatmullRom.js +++ b/src/math/CatmullRom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/CeilTo.js b/src/math/CeilTo.js index a695f5d7b..ed770203b 100644 --- a/src/math/CeilTo.js +++ b/src/math/CeilTo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Clamp.js b/src/math/Clamp.js index 4f3a6e848..ed5645d47 100644 --- a/src/math/Clamp.js +++ b/src/math/Clamp.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/DegToRad.js b/src/math/DegToRad.js index 443699f96..9f37ee3ea 100644 --- a/src/math/DegToRad.js +++ b/src/math/DegToRad.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Difference.js b/src/math/Difference.js index 41a5a83c1..e7fde075f 100644 --- a/src/math/Difference.js +++ b/src/math/Difference.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Euler.js b/src/math/Euler.js index 91d225a0a..cc8e7bef1 100644 --- a/src/math/Euler.js +++ b/src/math/Euler.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Factorial.js b/src/math/Factorial.js index 61f38bcef..7cb2ec718 100644 --- a/src/math/Factorial.js +++ b/src/math/Factorial.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/FloatBetween.js b/src/math/FloatBetween.js index 86a406978..554949ef4 100644 --- a/src/math/FloatBetween.js +++ b/src/math/FloatBetween.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/FloorTo.js b/src/math/FloorTo.js index dcd26d2c1..7ebb4b58a 100644 --- a/src/math/FloorTo.js +++ b/src/math/FloorTo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/FromPercent.js b/src/math/FromPercent.js index a362049e0..b4be7869d 100644 --- a/src/math/FromPercent.js +++ b/src/math/FromPercent.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/GetSpeed.js b/src/math/GetSpeed.js index ad4943527..f3e1fe313 100644 --- a/src/math/GetSpeed.js +++ b/src/math/GetSpeed.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/IsEven.js b/src/math/IsEven.js index 736bdba22..4578ac7a3 100644 --- a/src/math/IsEven.js +++ b/src/math/IsEven.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/IsEvenStrict.js b/src/math/IsEvenStrict.js index d7003c87d..3c629f6a2 100644 --- a/src/math/IsEvenStrict.js +++ b/src/math/IsEvenStrict.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Linear.js b/src/math/Linear.js index f7c242004..b9c82ef7b 100644 --- a/src/math/Linear.js +++ b/src/math/Linear.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Matrix3.js b/src/math/Matrix3.js index 4a3f59fd1..34a72c0fa 100644 --- a/src/math/Matrix3.js +++ b/src/math/Matrix3.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Matrix4.js b/src/math/Matrix4.js index 76bd5f3b6..33304b21f 100644 --- a/src/math/Matrix4.js +++ b/src/math/Matrix4.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/MaxAdd.js b/src/math/MaxAdd.js index 512d43d60..63b4cc4c0 100644 --- a/src/math/MaxAdd.js +++ b/src/math/MaxAdd.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/MinSub.js b/src/math/MinSub.js index 5eb3bbf64..04b0584ae 100644 --- a/src/math/MinSub.js +++ b/src/math/MinSub.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Percent.js b/src/math/Percent.js index 94296e289..438d6d0e2 100644 --- a/src/math/Percent.js +++ b/src/math/Percent.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Quaternion.js b/src/math/Quaternion.js index e1f35c74c..68944014c 100644 --- a/src/math/Quaternion.js +++ b/src/math/Quaternion.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RadToDeg.js b/src/math/RadToDeg.js index 8366badd8..579b41ccf 100644 --- a/src/math/RadToDeg.js +++ b/src/math/RadToDeg.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RandomXY.js b/src/math/RandomXY.js index 7b9d0c12f..8eb3b3981 100644 --- a/src/math/RandomXY.js +++ b/src/math/RandomXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RandomXYZ.js b/src/math/RandomXYZ.js index 1f28ab787..87e504bb2 100644 --- a/src/math/RandomXYZ.js +++ b/src/math/RandomXYZ.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RandomXYZW.js b/src/math/RandomXYZW.js index 50e2b5543..b18a8ef9e 100644 --- a/src/math/RandomXYZW.js +++ b/src/math/RandomXYZW.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Rotate.js b/src/math/Rotate.js index 09876dd16..334a51f76 100644 --- a/src/math/Rotate.js +++ b/src/math/Rotate.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RotateAround.js b/src/math/RotateAround.js index d4b01a579..16fe208f9 100644 --- a/src/math/RotateAround.js +++ b/src/math/RotateAround.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RotateAroundDistance.js b/src/math/RotateAroundDistance.js index b22bb3307..ab467ae5b 100644 --- a/src/math/RotateAroundDistance.js +++ b/src/math/RotateAroundDistance.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RotateTo.js b/src/math/RotateTo.js index f56486467..4f5d2f803 100644 --- a/src/math/RotateTo.js +++ b/src/math/RotateTo.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RotateVec3.js b/src/math/RotateVec3.js index bcc4005d3..a4ddac3f7 100644 --- a/src/math/RotateVec3.js +++ b/src/math/RotateVec3.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RoundAwayFromZero.js b/src/math/RoundAwayFromZero.js index ab67ccf0b..0f1ded4b8 100644 --- a/src/math/RoundAwayFromZero.js +++ b/src/math/RoundAwayFromZero.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/RoundTo.js b/src/math/RoundTo.js index 239f0393c..f4de10082 100644 --- a/src/math/RoundTo.js +++ b/src/math/RoundTo.js @@ -1,22 +1,22 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Round a value to the given precision. - * + * * For example: - * + * * ```javascript * RoundTo(123.456, 0) = 123 * RoundTo(123.456, 1) = 120 * RoundTo(123.456, 2) = 100 * ``` - * + * * To round the decimal, i.e. to round to precision, pass in a negative `place`: - * + * * ```javascript * RoundTo(123.456789, 0) = 123 * RoundTo(123.456789, -1) = 123.5 diff --git a/src/math/SinCosTableGenerator.js b/src/math/SinCosTableGenerator.js index 319c0c72d..4bd4027e5 100644 --- a/src/math/SinCosTableGenerator.js +++ b/src/math/SinCosTableGenerator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/SmoothStep.js b/src/math/SmoothStep.js index 666982fa9..655bd70be 100644 --- a/src/math/SmoothStep.js +++ b/src/math/SmoothStep.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/SmootherStep.js b/src/math/SmootherStep.js index 5a642eb5f..96ebf75fc 100644 --- a/src/math/SmootherStep.js +++ b/src/math/SmootherStep.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/ToXY.js b/src/math/ToXY.js index b4b61b6e7..9575326dc 100644 --- a/src/math/ToXY.js +++ b/src/math/ToXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,9 +8,9 @@ var Vector2 = require('./Vector2'); /** * Returns a Vector2 containing the x and y position of the given index in a `width` x `height` sized grid. - * + * * For example, in a 6 x 4 grid, index 16 would equal x: 4 y: 2. - * + * * If the given index is out of range an empty Vector2 is returned. * * @function Phaser.Math.ToXY diff --git a/src/math/TransformXY.js b/src/math/TransformXY.js index bfe7ea7f1..fcaa8664d 100644 --- a/src/math/TransformXY.js +++ b/src/math/TransformXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Vector2.js b/src/math/Vector2.js index 71401005b..690c7e840 100644 --- a/src/math/Vector2.js +++ b/src/math/Vector2.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Vector3.js b/src/math/Vector3.js index 446ef7cbd..a0c60c83e 100644 --- a/src/math/Vector3.js +++ b/src/math/Vector3.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Vector4.js b/src/math/Vector4.js index 940e198ba..27c7eb584 100644 --- a/src/math/Vector4.js +++ b/src/math/Vector4.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Within.js b/src/math/Within.js index 00d8fa959..93237ada2 100644 --- a/src/math/Within.js +++ b/src/math/Within.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/Wrap.js b/src/math/Wrap.js index 7bf6a2d8d..4bd1a3f6a 100644 --- a/src/math/Wrap.js +++ b/src/math/Wrap.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/Between.js b/src/math/angle/Between.js index e8d8f8cd0..e7eed2a55 100644 --- a/src/math/angle/Between.js +++ b/src/math/angle/Between.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/BetweenPoints.js b/src/math/angle/BetweenPoints.js index 574d8740a..3378829cb 100644 --- a/src/math/angle/BetweenPoints.js +++ b/src/math/angle/BetweenPoints.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/BetweenPointsY.js b/src/math/angle/BetweenPointsY.js index a48b9b055..359b79c99 100644 --- a/src/math/angle/BetweenPointsY.js +++ b/src/math/angle/BetweenPointsY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/BetweenY.js b/src/math/angle/BetweenY.js index 997c632fb..ac75a1c33 100644 --- a/src/math/angle/BetweenY.js +++ b/src/math/angle/BetweenY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/CounterClockwise.js b/src/math/angle/CounterClockwise.js index 3d20c3ad3..95bd324c4 100644 --- a/src/math/angle/CounterClockwise.js +++ b/src/math/angle/CounterClockwise.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/Normalize.js b/src/math/angle/Normalize.js index 495243f2e..ef4072ccf 100644 --- a/src/math/angle/Normalize.js +++ b/src/math/angle/Normalize.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/Random.js b/src/math/angle/Random.js index f7b3f3611..304a30b00 100644 --- a/src/math/angle/Random.js +++ b/src/math/angle/Random.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author @samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/RandomDegrees.js b/src/math/angle/RandomDegrees.js index d48c8f4f4..0b2d0e55e 100644 --- a/src/math/angle/RandomDegrees.js +++ b/src/math/angle/RandomDegrees.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author @samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/Reverse.js b/src/math/angle/Reverse.js index 6d0aa73e9..3edb97f4f 100644 --- a/src/math/angle/Reverse.js +++ b/src/math/angle/Reverse.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/RotateTo.js b/src/math/angle/RotateTo.js index 43f5aaf0e..13a857570 100644 --- a/src/math/angle/RotateTo.js +++ b/src/math/angle/RotateTo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/ShortestBetween.js b/src/math/angle/ShortestBetween.js index d2524cadd..9e5e3812d 100644 --- a/src/math/angle/ShortestBetween.js +++ b/src/math/angle/ShortestBetween.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/Wrap.js b/src/math/angle/Wrap.js index c4accbcb6..50cb209fc 100644 --- a/src/math/angle/Wrap.js +++ b/src/math/angle/Wrap.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/WrapDegrees.js b/src/math/angle/WrapDegrees.js index 3e5784914..6023cf83d 100644 --- a/src/math/angle/WrapDegrees.js +++ b/src/math/angle/WrapDegrees.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/angle/index.js b/src/math/angle/index.js index d5b806847..df7c3376b 100644 --- a/src/math/angle/index.js +++ b/src/math/angle/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/const.js b/src/math/const.js index e1824cdef..46c151378 100644 --- a/src/math/const.js +++ b/src/math/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,7 +8,7 @@ var MATH_CONST = { /** * The value of PI * 2. - * + * * @name Phaser.Math.PI2 * @type {number} * @since 3.0.0 @@ -17,7 +17,7 @@ var MATH_CONST = { /** * The value of PI * 0.5. - * + * * @name Phaser.Math.TAU * @type {number} * @since 3.0.0 @@ -26,7 +26,7 @@ var MATH_CONST = { /** * An epsilon value (1.0e-6) - * + * * @name Phaser.Math.EPSILON * @type {number} * @since 3.0.0 @@ -35,7 +35,7 @@ var MATH_CONST = { /** * For converting degrees to radians (PI / 180) - * + * * @name Phaser.Math.DEG_TO_RAD * @type {number} * @since 3.0.0 @@ -44,7 +44,7 @@ var MATH_CONST = { /** * For converting radians to degrees (180 / PI) - * + * * @name Phaser.Math.RAD_TO_DEG * @type {number} * @since 3.0.0 @@ -54,7 +54,7 @@ var MATH_CONST = { /** * An instance of the Random Number Generator. * This is not set until the Game boots. - * + * * @name Phaser.Math.RND * @type {Phaser.Math.RandomDataGenerator} * @since 3.0.0 @@ -64,7 +64,7 @@ var MATH_CONST = { /** * The minimum safe integer this browser supports. * We use a const for backward compatibility with Internet Explorer. - * + * * @name Phaser.Math.MIN_SAFE_INTEGER * @type {number} * @since 3.21.0 @@ -74,7 +74,7 @@ var MATH_CONST = { /** * The maximum safe integer this browser supports. * We use a const for backward compatibility with Internet Explorer. - * + * * @name Phaser.Math.MAX_SAFE_INTEGER * @type {number} * @since 3.21.0 diff --git a/src/math/distance/DistanceBetween.js b/src/math/distance/DistanceBetween.js index a82ea25b5..1c567204d 100644 --- a/src/math/distance/DistanceBetween.js +++ b/src/math/distance/DistanceBetween.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/distance/DistanceBetweenPoints.js b/src/math/distance/DistanceBetweenPoints.js index 93fe82d37..6e097ce6f 100644 --- a/src/math/distance/DistanceBetweenPoints.js +++ b/src/math/distance/DistanceBetweenPoints.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/distance/DistanceBetweenPointsSquared.js b/src/math/distance/DistanceBetweenPointsSquared.js index bea07156f..d5e50bafe 100644 --- a/src/math/distance/DistanceBetweenPointsSquared.js +++ b/src/math/distance/DistanceBetweenPointsSquared.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/distance/DistanceChebyshev.js b/src/math/distance/DistanceChebyshev.js index 6952fb4f4..f7faf24e7 100644 --- a/src/math/distance/DistanceChebyshev.js +++ b/src/math/distance/DistanceChebyshev.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/distance/DistancePower.js b/src/math/distance/DistancePower.js index 892497aac..712d4ffb4 100644 --- a/src/math/distance/DistancePower.js +++ b/src/math/distance/DistancePower.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/distance/DistanceSnake.js b/src/math/distance/DistanceSnake.js index b5235174e..ab6676f60 100644 --- a/src/math/distance/DistanceSnake.js +++ b/src/math/distance/DistanceSnake.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/distance/DistanceSquared.js b/src/math/distance/DistanceSquared.js index 28ff22733..4e3e619ee 100644 --- a/src/math/distance/DistanceSquared.js +++ b/src/math/distance/DistanceSquared.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/distance/index.js b/src/math/distance/index.js index 432dc569d..181771efa 100644 --- a/src/math/distance/index.js +++ b/src/math/distance/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/EaseMap.js b/src/math/easing/EaseMap.js index a7f742395..322392fe2 100644 --- a/src/math/easing/EaseMap.js +++ b/src/math/easing/EaseMap.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/back/In.js b/src/math/easing/back/In.js index ed96041d7..f5d7c2c82 100644 --- a/src/math/easing/back/In.js +++ b/src/math/easing/back/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/back/InOut.js b/src/math/easing/back/InOut.js index ccbdbc364..45ca664c2 100644 --- a/src/math/easing/back/InOut.js +++ b/src/math/easing/back/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/back/Out.js b/src/math/easing/back/Out.js index e5cb02cff..7243f6e82 100644 --- a/src/math/easing/back/Out.js +++ b/src/math/easing/back/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/back/index.js b/src/math/easing/back/index.js index 1a743967d..c0dd752ed 100644 --- a/src/math/easing/back/index.js +++ b/src/math/easing/back/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/bounce/In.js b/src/math/easing/bounce/In.js index 7285451cf..6b7bf524d 100644 --- a/src/math/easing/bounce/In.js +++ b/src/math/easing/bounce/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/bounce/InOut.js b/src/math/easing/bounce/InOut.js index eb995b160..b8c657328 100644 --- a/src/math/easing/bounce/InOut.js +++ b/src/math/easing/bounce/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/bounce/Out.js b/src/math/easing/bounce/Out.js index 2b6fc9cbe..09ca4fb4f 100644 --- a/src/math/easing/bounce/Out.js +++ b/src/math/easing/bounce/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/bounce/index.js b/src/math/easing/bounce/index.js index 7df070ae3..72efdcedc 100644 --- a/src/math/easing/bounce/index.js +++ b/src/math/easing/bounce/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/circular/In.js b/src/math/easing/circular/In.js index d3fab741a..125f441c9 100644 --- a/src/math/easing/circular/In.js +++ b/src/math/easing/circular/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/circular/InOut.js b/src/math/easing/circular/InOut.js index 1db2492e7..dd355dcb6 100644 --- a/src/math/easing/circular/InOut.js +++ b/src/math/easing/circular/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/circular/Out.js b/src/math/easing/circular/Out.js index d95dedfe1..ab156c477 100644 --- a/src/math/easing/circular/Out.js +++ b/src/math/easing/circular/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/circular/index.js b/src/math/easing/circular/index.js index d7bbc72f6..50ae24d40 100644 --- a/src/math/easing/circular/index.js +++ b/src/math/easing/circular/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/cubic/In.js b/src/math/easing/cubic/In.js index ebefde8c2..b10b95ddc 100644 --- a/src/math/easing/cubic/In.js +++ b/src/math/easing/cubic/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/cubic/InOut.js b/src/math/easing/cubic/InOut.js index 85ccf3de0..1fc6e6760 100644 --- a/src/math/easing/cubic/InOut.js +++ b/src/math/easing/cubic/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/cubic/Out.js b/src/math/easing/cubic/Out.js index 621e100e5..d78a31bc6 100644 --- a/src/math/easing/cubic/Out.js +++ b/src/math/easing/cubic/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/cubic/index.js b/src/math/easing/cubic/index.js index 441b7fe46..3f747285c 100644 --- a/src/math/easing/cubic/index.js +++ b/src/math/easing/cubic/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/elastic/In.js b/src/math/easing/elastic/In.js index c4c125810..252260e63 100644 --- a/src/math/easing/elastic/In.js +++ b/src/math/easing/elastic/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/elastic/InOut.js b/src/math/easing/elastic/InOut.js index 01e410d08..a8249908c 100644 --- a/src/math/easing/elastic/InOut.js +++ b/src/math/easing/elastic/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/elastic/Out.js b/src/math/easing/elastic/Out.js index 4d22b0234..005420498 100644 --- a/src/math/easing/elastic/Out.js +++ b/src/math/easing/elastic/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/elastic/index.js b/src/math/easing/elastic/index.js index 30bbe34d5..afabde839 100644 --- a/src/math/easing/elastic/index.js +++ b/src/math/easing/elastic/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/expo/In.js b/src/math/easing/expo/In.js index cfad035e5..d7e632662 100644 --- a/src/math/easing/expo/In.js +++ b/src/math/easing/expo/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/expo/InOut.js b/src/math/easing/expo/InOut.js index 21f58960a..cc59bf646 100644 --- a/src/math/easing/expo/InOut.js +++ b/src/math/easing/expo/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/expo/Out.js b/src/math/easing/expo/Out.js index 8915b0088..2676a9013 100644 --- a/src/math/easing/expo/Out.js +++ b/src/math/easing/expo/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/expo/index.js b/src/math/easing/expo/index.js index 00bf463a1..cfcd32744 100644 --- a/src/math/easing/expo/index.js +++ b/src/math/easing/expo/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/index.js b/src/math/easing/index.js index d75d9f942..d02b34ca8 100644 --- a/src/math/easing/index.js +++ b/src/math/easing/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/linear/Linear.js b/src/math/easing/linear/Linear.js index 1e491b361..d041482e4 100644 --- a/src/math/easing/linear/Linear.js +++ b/src/math/easing/linear/Linear.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/linear/index.js b/src/math/easing/linear/index.js index 88a270caa..fc0db8a31 100644 --- a/src/math/easing/linear/index.js +++ b/src/math/easing/linear/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quadratic/In.js b/src/math/easing/quadratic/In.js index 49de22428..0378b29ec 100644 --- a/src/math/easing/quadratic/In.js +++ b/src/math/easing/quadratic/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quadratic/InOut.js b/src/math/easing/quadratic/InOut.js index 1971f2d5c..cc6271dcf 100644 --- a/src/math/easing/quadratic/InOut.js +++ b/src/math/easing/quadratic/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quadratic/Out.js b/src/math/easing/quadratic/Out.js index ac17bc135..caff5e538 100644 --- a/src/math/easing/quadratic/Out.js +++ b/src/math/easing/quadratic/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quadratic/index.js b/src/math/easing/quadratic/index.js index 7474a5b25..de160d26d 100644 --- a/src/math/easing/quadratic/index.js +++ b/src/math/easing/quadratic/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quartic/In.js b/src/math/easing/quartic/In.js index 84eaae530..77ee667db 100644 --- a/src/math/easing/quartic/In.js +++ b/src/math/easing/quartic/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quartic/InOut.js b/src/math/easing/quartic/InOut.js index 607228040..410c0a1c7 100644 --- a/src/math/easing/quartic/InOut.js +++ b/src/math/easing/quartic/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quartic/Out.js b/src/math/easing/quartic/Out.js index 5693179ab..8351eb74d 100644 --- a/src/math/easing/quartic/Out.js +++ b/src/math/easing/quartic/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quartic/index.js b/src/math/easing/quartic/index.js index 5550895b4..8dd0a64ee 100644 --- a/src/math/easing/quartic/index.js +++ b/src/math/easing/quartic/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quintic/In.js b/src/math/easing/quintic/In.js index 23ad6ae6c..88fcff955 100644 --- a/src/math/easing/quintic/In.js +++ b/src/math/easing/quintic/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quintic/InOut.js b/src/math/easing/quintic/InOut.js index 2c6daf11b..6962cee7f 100644 --- a/src/math/easing/quintic/InOut.js +++ b/src/math/easing/quintic/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quintic/Out.js b/src/math/easing/quintic/Out.js index 03b37c99f..d003c95c1 100644 --- a/src/math/easing/quintic/Out.js +++ b/src/math/easing/quintic/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/quintic/index.js b/src/math/easing/quintic/index.js index 24a0d4c75..59c75297b 100644 --- a/src/math/easing/quintic/index.js +++ b/src/math/easing/quintic/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/sine/In.js b/src/math/easing/sine/In.js index 4e5cf8392..baf78b9c7 100644 --- a/src/math/easing/sine/In.js +++ b/src/math/easing/sine/In.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/sine/InOut.js b/src/math/easing/sine/InOut.js index d265e6406..5a97b415d 100644 --- a/src/math/easing/sine/InOut.js +++ b/src/math/easing/sine/InOut.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/sine/Out.js b/src/math/easing/sine/Out.js index 4b61be5a8..9538310e8 100644 --- a/src/math/easing/sine/Out.js +++ b/src/math/easing/sine/Out.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/sine/index.js b/src/math/easing/sine/index.js index fe563be57..80a9d03d7 100644 --- a/src/math/easing/sine/index.js +++ b/src/math/easing/sine/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/stepped/Stepped.js b/src/math/easing/stepped/Stepped.js index 6dfa1ba1a..29e7606ca 100644 --- a/src/math/easing/stepped/Stepped.js +++ b/src/math/easing/stepped/Stepped.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/easing/stepped/index.js b/src/math/easing/stepped/index.js index 82bcdee2d..8045ba8cd 100644 --- a/src/math/easing/stepped/index.js +++ b/src/math/easing/stepped/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/fuzzy/Ceil.js b/src/math/fuzzy/Ceil.js index f5a8e2863..0954f4ca1 100644 --- a/src/math/fuzzy/Ceil.js +++ b/src/math/fuzzy/Ceil.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/fuzzy/Equal.js b/src/math/fuzzy/Equal.js index 919b18418..a17813fad 100644 --- a/src/math/fuzzy/Equal.js +++ b/src/math/fuzzy/Equal.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/fuzzy/Floor.js b/src/math/fuzzy/Floor.js index 4f0138b1c..3631df56e 100644 --- a/src/math/fuzzy/Floor.js +++ b/src/math/fuzzy/Floor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/fuzzy/GreaterThan.js b/src/math/fuzzy/GreaterThan.js index 459b2b283..3217775a9 100644 --- a/src/math/fuzzy/GreaterThan.js +++ b/src/math/fuzzy/GreaterThan.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/fuzzy/LessThan.js b/src/math/fuzzy/LessThan.js index 24e6c8ff8..c45431ce6 100644 --- a/src/math/fuzzy/LessThan.js +++ b/src/math/fuzzy/LessThan.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/fuzzy/index.js b/src/math/fuzzy/index.js index a7be5b777..84d1b38f9 100644 --- a/src/math/fuzzy/index.js +++ b/src/math/fuzzy/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/index.js b/src/math/index.js index d7b8abdc2..b3fdd9446 100644 --- a/src/math/index.js +++ b/src/math/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/interpolation/BezierInterpolation.js b/src/math/interpolation/BezierInterpolation.js index 48a6d9ac0..aef0f1a8d 100644 --- a/src/math/interpolation/BezierInterpolation.js +++ b/src/math/interpolation/BezierInterpolation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/interpolation/CatmullRomInterpolation.js b/src/math/interpolation/CatmullRomInterpolation.js index f95a9a9d7..c351ad759 100644 --- a/src/math/interpolation/CatmullRomInterpolation.js +++ b/src/math/interpolation/CatmullRomInterpolation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/interpolation/CubicBezierInterpolation.js b/src/math/interpolation/CubicBezierInterpolation.js index 97f715c11..a3aa7ae1d 100644 --- a/src/math/interpolation/CubicBezierInterpolation.js +++ b/src/math/interpolation/CubicBezierInterpolation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/interpolation/LinearInterpolation.js b/src/math/interpolation/LinearInterpolation.js index ac1016e7c..d83039488 100644 --- a/src/math/interpolation/LinearInterpolation.js +++ b/src/math/interpolation/LinearInterpolation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/interpolation/QuadraticBezierInterpolation.js b/src/math/interpolation/QuadraticBezierInterpolation.js index 5df3be18f..be8860121 100644 --- a/src/math/interpolation/QuadraticBezierInterpolation.js +++ b/src/math/interpolation/QuadraticBezierInterpolation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/interpolation/SmoothStepInterpolation.js b/src/math/interpolation/SmoothStepInterpolation.js index 832c9543b..5c0b11468 100644 --- a/src/math/interpolation/SmoothStepInterpolation.js +++ b/src/math/interpolation/SmoothStepInterpolation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/interpolation/SmootherStepInterpolation.js b/src/math/interpolation/SmootherStepInterpolation.js index a4aede0ed..f76689e76 100644 --- a/src/math/interpolation/SmootherStepInterpolation.js +++ b/src/math/interpolation/SmootherStepInterpolation.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/interpolation/index.js b/src/math/interpolation/index.js index c073729f0..4500b82e2 100644 --- a/src/math/interpolation/index.js +++ b/src/math/interpolation/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/pow2/GetPowerOfTwo.js b/src/math/pow2/GetPowerOfTwo.js index 0ca58a972..db71b1e96 100644 --- a/src/math/pow2/GetPowerOfTwo.js +++ b/src/math/pow2/GetPowerOfTwo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/pow2/IsSizePowerOfTwo.js b/src/math/pow2/IsSizePowerOfTwo.js index 2d280967d..dc163a60b 100644 --- a/src/math/pow2/IsSizePowerOfTwo.js +++ b/src/math/pow2/IsSizePowerOfTwo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/pow2/IsValuePowerOfTwo.js b/src/math/pow2/IsValuePowerOfTwo.js index 40ab861fd..9816c30ef 100644 --- a/src/math/pow2/IsValuePowerOfTwo.js +++ b/src/math/pow2/IsValuePowerOfTwo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/pow2/index.js b/src/math/pow2/index.js index 8eccd11c4..93dc205a5 100644 --- a/src/math/pow2/index.js +++ b/src/math/pow2/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/random-data-generator/RandomDataGenerator.js b/src/math/random-data-generator/RandomDataGenerator.js index a0fffd2bf..8f5f3284a 100644 --- a/src/math/random-data-generator/RandomDataGenerator.js +++ b/src/math/random-data-generator/RandomDataGenerator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,13 +9,13 @@ var Class = require('../../utils/Class'); /** * @classdesc * A seeded Random Data Generator. - * + * * Access via `Phaser.Math.RND` which is an instance of this class pre-defined * by Phaser. Or, create your own instance to use as you require. - * + * * The `Math.RND` generator is seeded by the Game Config property value `seed`. * If no such config property exists, a random number is used. - * + * * If you create your own instance of this class you should provide a seed for it. * If no seed is given it will use a 'random' one based on Date.now. * @@ -347,7 +347,7 @@ var RandomDataGenerator = new Class({ * * @method Phaser.Math.RandomDataGenerator#pick * @since 3.0.0 - * + * * @generic T * @genericUse {T[]} - [array] * @genericUse {T} - [$return] diff --git a/src/math/snap/SnapCeil.js b/src/math/snap/SnapCeil.js index 61f984ed9..eaa0508f3 100644 --- a/src/math/snap/SnapCeil.js +++ b/src/math/snap/SnapCeil.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/snap/SnapFloor.js b/src/math/snap/SnapFloor.js index ab607a5c7..b0f144f13 100644 --- a/src/math/snap/SnapFloor.js +++ b/src/math/snap/SnapFloor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/snap/SnapTo.js b/src/math/snap/SnapTo.js index d0de1dcf6..6ab21abed 100644 --- a/src/math/snap/SnapTo.js +++ b/src/math/snap/SnapTo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/snap/index.js b/src/math/snap/index.js index d793b9fdd..150db358f 100644 --- a/src/math/snap/index.js +++ b/src/math/snap/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/math/typedefs/index.js b/src/math/typedefs/index.js index 7800ca27d..36a2beca4 100644 --- a/src/math/typedefs/index.js +++ b/src/math/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/phaser-arcade-physics.js b/src/phaser-arcade-physics.js index fa329a4c2..2c552e62b 100644 --- a/src/phaser-arcade-physics.js +++ b/src/phaser-arcade-physics.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/phaser-core.js b/src/phaser-core.js index e144e1953..d4863861a 100644 --- a/src/phaser-core.js +++ b/src/phaser-core.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/phaser-ie9.js b/src/phaser-ie9.js index 33b08de2c..26c231a44 100644 --- a/src/phaser-ie9.js +++ b/src/phaser-ie9.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/phaser.js b/src/phaser.js index cdc75bc34..9864679ad 100644 --- a/src/phaser.js +++ b/src/phaser.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/ArcadeImage.js b/src/physics/arcade/ArcadeImage.js index d5c2a29a9..48ed62787 100644 --- a/src/physics/arcade/ArcadeImage.js +++ b/src/physics/arcade/ArcadeImage.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/ArcadePhysics.js b/src/physics/arcade/ArcadePhysics.js index db0349a28..501393e91 100644 --- a/src/physics/arcade/ArcadePhysics.js +++ b/src/physics/arcade/ArcadePhysics.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/ArcadeSprite.js b/src/physics/arcade/ArcadeSprite.js index b6055d7d1..3ffe721e5 100644 --- a/src/physics/arcade/ArcadeSprite.js +++ b/src/physics/arcade/ArcadeSprite.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/Body.js b/src/physics/arcade/Body.js index 17dafac6c..91184aeb0 100644 --- a/src/physics/arcade/Body.js +++ b/src/physics/arcade/Body.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Benjamin D. Richards - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/Collider.js b/src/physics/arcade/Collider.js index f66d576db..76b509f6c 100644 --- a/src/physics/arcade/Collider.js +++ b/src/physics/arcade/Collider.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/Factory.js b/src/physics/arcade/Factory.js index 636cee0ed..b972ef01a 100644 --- a/src/physics/arcade/Factory.js +++ b/src/physics/arcade/Factory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/GetOverlapX.js b/src/physics/arcade/GetOverlapX.js index 86d8ab810..b5a1a5dfc 100644 --- a/src/physics/arcade/GetOverlapX.js +++ b/src/physics/arcade/GetOverlapX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/GetOverlapY.js b/src/physics/arcade/GetOverlapY.js index 456130e98..7a97a8372 100644 --- a/src/physics/arcade/GetOverlapY.js +++ b/src/physics/arcade/GetOverlapY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/PhysicsGroup.js b/src/physics/arcade/PhysicsGroup.js index f1af33efa..b29810eca 100644 --- a/src/physics/arcade/PhysicsGroup.js +++ b/src/physics/arcade/PhysicsGroup.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -103,7 +103,7 @@ var PhysicsGroup = new Class({ * This should be either `Phaser.Physics.Arcade.Image`, `Phaser.Physics.Arcade.Sprite`, or a class extending one of those. * * @name Phaser.Physics.Arcade.Group#classType - * @type {Function} + * @type {Phaser.Types.GameObjects.Group.GroupClassTypeConstructor} * @default ArcadeSprite * @since 3.0.0 */ diff --git a/src/physics/arcade/ProcessX.js b/src/physics/arcade/ProcessX.js index d7225cf64..9a3698d4b 100644 --- a/src/physics/arcade/ProcessX.js +++ b/src/physics/arcade/ProcessX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/ProcessY.js b/src/physics/arcade/ProcessY.js index bcce7d878..a001c5c0b 100644 --- a/src/physics/arcade/ProcessY.js +++ b/src/physics/arcade/ProcessY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/SeparateX.js b/src/physics/arcade/SeparateX.js index 7c93016f3..bf33e94a8 100644 --- a/src/physics/arcade/SeparateX.js +++ b/src/physics/arcade/SeparateX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/SeparateY.js b/src/physics/arcade/SeparateY.js index 56f0256aa..146039a1e 100644 --- a/src/physics/arcade/SeparateY.js +++ b/src/physics/arcade/SeparateY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/StaticBody.js b/src/physics/arcade/StaticBody.js index d4121bfbd..12bb8f29e 100644 --- a/src/physics/arcade/StaticBody.js +++ b/src/physics/arcade/StaticBody.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/StaticPhysicsGroup.js b/src/physics/arcade/StaticPhysicsGroup.js index f8f9989e4..b916985f2 100644 --- a/src/physics/arcade/StaticPhysicsGroup.js +++ b/src/physics/arcade/StaticPhysicsGroup.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/World.js b/src/physics/arcade/World.js index de2e7fad5..e533f1391 100644 --- a/src/physics/arcade/World.js +++ b/src/physics/arcade/World.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Acceleration.js b/src/physics/arcade/components/Acceleration.js index 8cc2a2aeb..16a645c1d 100644 --- a/src/physics/arcade/components/Acceleration.js +++ b/src/physics/arcade/components/Acceleration.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Angular.js b/src/physics/arcade/components/Angular.js index 0f502f387..e4747fba3 100644 --- a/src/physics/arcade/components/Angular.js +++ b/src/physics/arcade/components/Angular.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,7 +14,7 @@ var Angular = { /** * Sets the angular velocity of the body. - * + * * In Arcade Physics, bodies cannot rotate. They are always axis-aligned. * However, they can have angular motion, which is passed on to the Game Object bound to the body, * causing them to visually rotate, even though the body remains axis-aligned. @@ -35,7 +35,7 @@ var Angular = { /** * Sets the angular acceleration of the body. - * + * * In Arcade Physics, bodies cannot rotate. They are always axis-aligned. * However, they can have angular motion, which is passed on to the Game Object bound to the body, * causing them to visually rotate, even though the body remains axis-aligned. diff --git a/src/physics/arcade/components/Bounce.js b/src/physics/arcade/components/Bounce.js index a4ad84847..16bb8dac8 100644 --- a/src/physics/arcade/components/Bounce.js +++ b/src/physics/arcade/components/Bounce.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Debug.js b/src/physics/arcade/components/Debug.js index dd3545ac4..72eb8a06b 100644 --- a/src/physics/arcade/components/Debug.js +++ b/src/physics/arcade/components/Debug.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,7 +14,7 @@ var Debug = { /** * Sets the debug values of this body. - * + * * Bodies will only draw their debug if debug has been enabled for Arcade Physics as a whole. * Note that there is a performance cost in drawing debug displays. It should never be used in production. * diff --git a/src/physics/arcade/components/Drag.js b/src/physics/arcade/components/Drag.js index 441cc079a..3a9eaec8c 100644 --- a/src/physics/arcade/components/Drag.js +++ b/src/physics/arcade/components/Drag.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Enable.js b/src/physics/arcade/components/Enable.js index 16a10612b..0de7b6464 100644 --- a/src/physics/arcade/components/Enable.js +++ b/src/physics/arcade/components/Enable.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Friction.js b/src/physics/arcade/components/Friction.js index bcb4548a6..088d50ba1 100644 --- a/src/physics/arcade/components/Friction.js +++ b/src/physics/arcade/components/Friction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Gravity.js b/src/physics/arcade/components/Gravity.js index 1f21858ec..e598977f2 100644 --- a/src/physics/arcade/components/Gravity.js +++ b/src/physics/arcade/components/Gravity.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,7 +15,7 @@ var Gravity = { /** * Set the X and Y values of the gravitational pull to act upon this Arcade Physics Game Object. Values can be positive or negative. Larger values result in a stronger effect. - * + * * If only one value is provided, this value will be used for both the X and Y axis. * * @method Phaser.Physics.Arcade.Components.Gravity#setGravity diff --git a/src/physics/arcade/components/Immovable.js b/src/physics/arcade/components/Immovable.js index 26cd2faab..891c7ca62 100644 --- a/src/physics/arcade/components/Immovable.js +++ b/src/physics/arcade/components/Immovable.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Mass.js b/src/physics/arcade/components/Mass.js index a56c7d596..53f667305 100644 --- a/src/physics/arcade/components/Mass.js +++ b/src/physics/arcade/components/Mass.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Pushable.js b/src/physics/arcade/components/Pushable.js index e8ef66aa1..3f86f986f 100644 --- a/src/physics/arcade/components/Pushable.js +++ b/src/physics/arcade/components/Pushable.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Size.js b/src/physics/arcade/components/Size.js index 92e33e77c..bf558d7e9 100644 --- a/src/physics/arcade/components/Size.js +++ b/src/physics/arcade/components/Size.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/Velocity.js b/src/physics/arcade/components/Velocity.js index 2e78ffedf..c2c8a8dfd 100644 --- a/src/physics/arcade/components/Velocity.js +++ b/src/physics/arcade/components/Velocity.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/components/index.js b/src/physics/arcade/components/index.js index 2d2688292..a530b1f56 100644 --- a/src/physics/arcade/components/index.js +++ b/src/physics/arcade/components/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/const.js b/src/physics/arcade/const.js index a80a5f1b9..99ba53761 100644 --- a/src/physics/arcade/const.js +++ b/src/physics/arcade/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/events/COLLIDE_EVENT.js b/src/physics/arcade/events/COLLIDE_EVENT.js index fc1b14c32..8c1e8caba 100644 --- a/src/physics/arcade/events/COLLIDE_EVENT.js +++ b/src/physics/arcade/events/COLLIDE_EVENT.js @@ -1,24 +1,24 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Collide Event. - * + * * This event is dispatched by an Arcade Physics World instance if two bodies collide _and_ at least * one of them has their [onCollide]{@link Phaser.Physics.Arcade.Body#onCollide} property set to `true`. - * + * * It provides an alternative means to handling collide events rather than using the callback approach. - * + * * Listen to it from a Scene using: `this.physics.world.on('collide', listener)`. - * + * * Please note that 'collide' and 'overlap' are two different things in Arcade Physics. * * @event Phaser.Physics.Arcade.Events#COLLIDE * @since 3.0.0 - * + * * @param {Phaser.GameObjects.GameObject} gameObject1 - The first Game Object involved in the collision. This is the parent of `body1`. * @param {Phaser.GameObjects.GameObject} gameObject2 - The second Game Object involved in the collision. This is the parent of `body2`. * @param {Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody} body1 - The first Physics Body involved in the collision. diff --git a/src/physics/arcade/events/OVERLAP_EVENT.js b/src/physics/arcade/events/OVERLAP_EVENT.js index ec42658ba..abb50186b 100644 --- a/src/physics/arcade/events/OVERLAP_EVENT.js +++ b/src/physics/arcade/events/OVERLAP_EVENT.js @@ -1,24 +1,24 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Overlap Event. - * + * * This event is dispatched by an Arcade Physics World instance if two bodies overlap _and_ at least * one of them has their [onOverlap]{@link Phaser.Physics.Arcade.Body#onOverlap} property set to `true`. - * + * * It provides an alternative means to handling overlap events rather than using the callback approach. - * + * * Listen to it from a Scene using: `this.physics.world.on('overlap', listener)`. - * + * * Please note that 'collide' and 'overlap' are two different things in Arcade Physics. * * @event Phaser.Physics.Arcade.Events#OVERLAP * @since 3.0.0 - * + * * @param {Phaser.GameObjects.GameObject} gameObject1 - The first Game Object involved in the overlap. This is the parent of `body1`. * @param {Phaser.GameObjects.GameObject} gameObject2 - The second Game Object involved in the overlap. This is the parent of `body2`. * @param {Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody} body1 - The first Physics Body involved in the overlap. diff --git a/src/physics/arcade/events/PAUSE_EVENT.js b/src/physics/arcade/events/PAUSE_EVENT.js index 71db1e140..dffd378cc 100644 --- a/src/physics/arcade/events/PAUSE_EVENT.js +++ b/src/physics/arcade/events/PAUSE_EVENT.js @@ -1,14 +1,14 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Pause Event. - * + * * This event is dispatched by an Arcade Physics World instance when it is paused. - * + * * Listen to it from a Scene using: `this.physics.world.on('pause', listener)`. * * @event Phaser.Physics.Arcade.Events#PAUSE diff --git a/src/physics/arcade/events/RESUME_EVENT.js b/src/physics/arcade/events/RESUME_EVENT.js index b12f0a977..1afbf3537 100644 --- a/src/physics/arcade/events/RESUME_EVENT.js +++ b/src/physics/arcade/events/RESUME_EVENT.js @@ -1,14 +1,14 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Resume Event. - * + * * This event is dispatched by an Arcade Physics World instance when it resumes from a paused state. - * + * * Listen to it from a Scene using: `this.physics.world.on('resume', listener)`. * * @event Phaser.Physics.Arcade.Events#RESUME diff --git a/src/physics/arcade/events/TILE_COLLIDE_EVENT.js b/src/physics/arcade/events/TILE_COLLIDE_EVENT.js index 1e948b827..e1a3193cb 100644 --- a/src/physics/arcade/events/TILE_COLLIDE_EVENT.js +++ b/src/physics/arcade/events/TILE_COLLIDE_EVENT.js @@ -1,24 +1,24 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics Tile Collide Event. - * + * * This event is dispatched by an Arcade Physics World instance if a body collides with a Tile _and_ * has its [onCollide]{@link Phaser.Physics.Arcade.Body#onCollide} property set to `true`. - * + * * It provides an alternative means to handling collide events rather than using the callback approach. - * + * * Listen to it from a Scene using: `this.physics.world.on('tilecollide', listener)`. - * + * * Please note that 'collide' and 'overlap' are two different things in Arcade Physics. * * @event Phaser.Physics.Arcade.Events#TILE_COLLIDE * @since 3.16.1 - * + * * @param {Phaser.GameObjects.GameObject} gameObject - The Game Object involved in the collision. This is the parent of `body`. * @param {Phaser.Tilemaps.Tile} tile - The tile the body collided with. * @param {Phaser.Physics.Arcade.Body} body - The Arcade Physics Body of the Game Object involved in the collision. diff --git a/src/physics/arcade/events/TILE_OVERLAP_EVENT.js b/src/physics/arcade/events/TILE_OVERLAP_EVENT.js index 64fcbd82b..786e97187 100644 --- a/src/physics/arcade/events/TILE_OVERLAP_EVENT.js +++ b/src/physics/arcade/events/TILE_OVERLAP_EVENT.js @@ -1,24 +1,24 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics Tile Overlap Event. - * + * * This event is dispatched by an Arcade Physics World instance if a body overlaps with a Tile _and_ * has its [onOverlap]{@link Phaser.Physics.Arcade.Body#onOverlap} property set to `true`. - * + * * It provides an alternative means to handling overlap events rather than using the callback approach. - * + * * Listen to it from a Scene using: `this.physics.world.on('tileoverlap', listener)`. - * + * * Please note that 'collide' and 'overlap' are two different things in Arcade Physics. * * @event Phaser.Physics.Arcade.Events#TILE_OVERLAP * @since 3.16.1 - * + * * @param {Phaser.GameObjects.GameObject} gameObject - The Game Object involved in the overlap. This is the parent of `body`. * @param {Phaser.Tilemaps.Tile} tile - The tile the body overlapped. * @param {Phaser.Physics.Arcade.Body} body - The Arcade Physics Body of the Game Object involved in the overlap. diff --git a/src/physics/arcade/events/WORLD_BOUNDS_EVENT.js b/src/physics/arcade/events/WORLD_BOUNDS_EVENT.js index b2f4ba019..816ca7969 100644 --- a/src/physics/arcade/events/WORLD_BOUNDS_EVENT.js +++ b/src/physics/arcade/events/WORLD_BOUNDS_EVENT.js @@ -1,22 +1,22 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Arcade Physics World Bounds Event. - * + * * This event is dispatched by an Arcade Physics World instance if a body makes contact with the world bounds _and_ * it has its [onWorldBounds]{@link Phaser.Physics.Arcade.Body#onWorldBounds} property set to `true`. - * + * * It provides an alternative means to handling collide events rather than using the callback approach. - * + * * Listen to it from a Scene using: `this.physics.world.on('worldbounds', listener)`. * * @event Phaser.Physics.Arcade.Events#WORLD_BOUNDS * @since 3.0.0 - * + * * @param {Phaser.Physics.Arcade.Body} body - The Arcade Physics Body that hit the world bounds. * @param {boolean} up - Is the Body blocked up? I.e. collided with the top of the world bounds. * @param {boolean} down - Is the Body blocked down? I.e. collided with the bottom of the world bounds. diff --git a/src/physics/arcade/events/WORLD_STEP_EVENT.js b/src/physics/arcade/events/WORLD_STEP_EVENT.js index f815e8235..4d35fc9bd 100644 --- a/src/physics/arcade/events/WORLD_STEP_EVENT.js +++ b/src/physics/arcade/events/WORLD_STEP_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/events/index.js b/src/physics/arcade/events/index.js index 1150eaae8..741c690c9 100644 --- a/src/physics/arcade/events/index.js +++ b/src/physics/arcade/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/index.js b/src/physics/arcade/index.js index 3d53b29fd..40f118530 100644 --- a/src/physics/arcade/index.js +++ b/src/physics/arcade/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/tilemap/ProcessTileCallbacks.js b/src/physics/arcade/tilemap/ProcessTileCallbacks.js index 4f91076c9..f6714e95f 100644 --- a/src/physics/arcade/tilemap/ProcessTileCallbacks.js +++ b/src/physics/arcade/tilemap/ProcessTileCallbacks.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/tilemap/ProcessTileSeparationX.js b/src/physics/arcade/tilemap/ProcessTileSeparationX.js index a81ef6fd4..0302f6798 100644 --- a/src/physics/arcade/tilemap/ProcessTileSeparationX.js +++ b/src/physics/arcade/tilemap/ProcessTileSeparationX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/tilemap/ProcessTileSeparationY.js b/src/physics/arcade/tilemap/ProcessTileSeparationY.js index 71784322f..5c8a44141 100644 --- a/src/physics/arcade/tilemap/ProcessTileSeparationY.js +++ b/src/physics/arcade/tilemap/ProcessTileSeparationY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/tilemap/SeparateTile.js b/src/physics/arcade/tilemap/SeparateTile.js index e23490597..f05aad686 100644 --- a/src/physics/arcade/tilemap/SeparateTile.js +++ b/src/physics/arcade/tilemap/SeparateTile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/tilemap/TileCheckX.js b/src/physics/arcade/tilemap/TileCheckX.js index c6f65b793..a0564b087 100644 --- a/src/physics/arcade/tilemap/TileCheckX.js +++ b/src/physics/arcade/tilemap/TileCheckX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/tilemap/TileCheckY.js b/src/physics/arcade/tilemap/TileCheckY.js index 5129a646c..c0437b663 100644 --- a/src/physics/arcade/tilemap/TileCheckY.js +++ b/src/physics/arcade/tilemap/TileCheckY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/tilemap/TileIntersectsBody.js b/src/physics/arcade/tilemap/TileIntersectsBody.js index 9fbd2ba2f..06385c1a8 100644 --- a/src/physics/arcade/tilemap/TileIntersectsBody.js +++ b/src/physics/arcade/tilemap/TileIntersectsBody.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/tilemap/index.js b/src/physics/arcade/tilemap/index.js index 34e55b8a8..b9308ef5e 100644 --- a/src/physics/arcade/tilemap/index.js +++ b/src/physics/arcade/tilemap/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/arcade/typedefs/index.js b/src/physics/arcade/typedefs/index.js index 10e9c7e8b..e0a75c9cf 100644 --- a/src/physics/arcade/typedefs/index.js +++ b/src/physics/arcade/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/index.js b/src/physics/index.js index cd52da3b0..60ff9b506 100644 --- a/src/physics/index.js +++ b/src/physics/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/BodyBounds.js b/src/physics/matter-js/BodyBounds.js index 7ccc6fc7f..343a16715 100644 --- a/src/physics/matter-js/BodyBounds.js +++ b/src/physics/matter-js/BodyBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,17 +9,17 @@ var Vector2 = require('../../math/Vector2'); /** * @classdesc - * + * * The Body Bounds class contains methods to help you extract the world coordinates from various points around * the bounds of a Matter Body. Because Matter bodies are positioned based on their center of mass, and not a * dimension based center, you often need to get the bounds coordinates in order to properly align them in the world. - * + * * You can access this class via the MatterPhysics class from a Scene, i.e.: - * + * * ```javascript * this.matter.bodyBounds.getTopLeft(body); * ``` - * + * * See also the `MatterPhysics.alignBody` method. * * @class BodyBounds @@ -54,9 +54,9 @@ var BodyBounds = new Class({ /** * Parses the given body to get the bounds diff values from it. - * + * * They're stored in this class in the temporary properties `boundsCenter` and `centerDiff`. - * + * * This method is called automatically by all other methods in this class. * * @method Phaser.Physics.Matter.BodyBounds#parseBody @@ -92,7 +92,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the top-left of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * @@ -126,7 +126,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the top-center of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * @@ -160,7 +160,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the top-right of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * @@ -194,7 +194,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the left-center of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * @@ -228,7 +228,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the center of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * @@ -261,7 +261,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the right-center of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * @@ -295,7 +295,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the bottom-left of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * @@ -329,7 +329,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the bottom-center of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * @@ -363,7 +363,7 @@ var BodyBounds = new Class({ /** * Takes a Body and returns the world coordinates of the bottom-right of its _bounds_. - * + * * Body bounds are updated by Matter each step and factor in scale and rotation. * This will return the world coordinate based on the bodies _current_ position and bounds. * diff --git a/src/physics/matter-js/CustomMain.js b/src/physics/matter-js/CustomMain.js index 5c53ea438..cdd836516 100644 --- a/src/physics/matter-js/CustomMain.js +++ b/src/physics/matter-js/CustomMain.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/Factory.js b/src/physics/matter-js/Factory.js index 48fda7a26..e2f9f0957 100644 --- a/src/physics/matter-js/Factory.js +++ b/src/physics/matter-js/Factory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/MatterGameObject.js b/src/physics/matter-js/MatterGameObject.js index a5726cb24..1350993e3 100644 --- a/src/physics/matter-js/MatterGameObject.js +++ b/src/physics/matter-js/MatterGameObject.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -26,7 +26,7 @@ function hasGetterOrSetter (def) /** * A Matter Game Object is a generic object that allows you to combine any Phaser Game Object, * including those you have extended or created yourself, with all of the Matter Components. - * + * * This enables you to use component methods such as `setVelocity` or `isSensor` directly from * this Game Object. * @@ -110,7 +110,7 @@ var MatterGameObject = function (world, gameObject, options, addToWorld) } options.addToWorld = addToWorld; - + gameObject.setBody(shape, options); } diff --git a/src/physics/matter-js/MatterImage.js b/src/physics/matter-js/MatterImage.js index 5daadebc2..098c737b4 100644 --- a/src/physics/matter-js/MatterImage.js +++ b/src/physics/matter-js/MatterImage.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/MatterPhysics.js b/src/physics/matter-js/MatterPhysics.js index 793faed4e..e8fa240e8 100644 --- a/src/physics/matter-js/MatterPhysics.js +++ b/src/physics/matter-js/MatterPhysics.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/MatterSprite.js b/src/physics/matter-js/MatterSprite.js index da5a1a09a..add77f0e1 100644 --- a/src/physics/matter-js/MatterSprite.js +++ b/src/physics/matter-js/MatterSprite.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/MatterTileBody.js b/src/physics/matter-js/MatterTileBody.js index 050f2f2a6..1a08976ad 100644 --- a/src/physics/matter-js/MatterTileBody.js +++ b/src/physics/matter-js/MatterTileBody.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -126,7 +126,7 @@ var MatterTileBody = new Class({ * @since 3.0.0 * * @param {Phaser.Types.Physics.Matter.MatterBodyTileOptions} [options] - Options to be used when creating the Matter body. See MatterJS.Body for a list of what Matter accepts. - * + * * @return {Phaser.Physics.Matter.TileBody} This TileBody object. */ setFromTileRectangle: function (options) @@ -160,7 +160,7 @@ var MatterTileBody = new Class({ * @since 3.0.0 * * @param {Phaser.Types.Physics.Matter.MatterBodyTileOptions} [options] - Options to be used when creating the Matter body. See MatterJS.Body for a list of what Matter accepts. - * + * * @return {Phaser.Physics.Matter.TileBody} This TileBody object. */ setFromTileCollision: function (options) @@ -251,7 +251,7 @@ var MatterTileBody = new Class({ * * @param {MatterJS.BodyType} body - The new Matter body to use. * @param {boolean} [addToWorld=true] - Whether or not to add the body to the Matter world. - * + * * @return {Phaser.Physics.Matter.TileBody} This TileBody object. */ setBody: function (body, addToWorld) diff --git a/src/physics/matter-js/PhysicsEditorParser.js b/src/physics/matter-js/PhysicsEditorParser.js index 978a72aa5..7e4353a2c 100644 --- a/src/physics/matter-js/PhysicsEditorParser.js +++ b/src/physics/matter-js/PhysicsEditorParser.js @@ -2,7 +2,7 @@ * @author Joachim Grill * @author Richard Davey * @copyright 2018 CodeAndWeb GmbH - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -31,7 +31,7 @@ var PhysicsEditorParser = { * @param {number} y - The vertical world location of the body. * @param {object} config - The body configuration and fixture (child body) definitions, as exported by PhysicsEditor. * @param {Phaser.Types.Physics.Matter.MatterBodyConfig} [options] - An optional Body configuration object that is used to set initial Body properties on creation. - * + * * @return {MatterJS.BodyType} A compound Matter JS Body. */ parseBody: function (x, y, config, options) @@ -61,7 +61,7 @@ var PhysicsEditorParser = { var body = Body.create(matterConfig); Body.setParts(body, fixtures); - + Body.setPosition(body, { x: x, y: y }); return body; @@ -74,7 +74,7 @@ var PhysicsEditorParser = { * @since 3.10.0 * * @param {object} fixtureConfig - The fixture object to parse. - * + * * @return {MatterJS.BodyType[]} - An array of Matter JS Bodies. */ parseFixture: function (fixtureConfig) @@ -109,7 +109,7 @@ var PhysicsEditorParser = { * * @param {array} vertexSets - The vertex lists to parse. * @param {Phaser.Types.Physics.Matter.MatterBodyConfig} [options] - An optional Body configuration object that is used to set initial Body properties on creation. - * + * * @return {MatterJS.BodyType[]} - An array of Matter JS Bodies. */ parseVertices: function (vertexSets, options) diff --git a/src/physics/matter-js/PhysicsJSONParser.js b/src/physics/matter-js/PhysicsJSONParser.js index 7c9aa3622..4ebaf16f5 100644 --- a/src/physics/matter-js/PhysicsJSONParser.js +++ b/src/physics/matter-js/PhysicsJSONParser.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,29 +9,29 @@ var Body = require('./lib/body/Body'); /** * Creates a body using the supplied physics data, as provided by a JSON file. - * + * * The data file should be loaded as JSON: - * + * * ```javascript * preload () * { * this.load.json('ninjas', 'assets/ninjas.json); * } - * + * * create () * { * const ninjaShapes = this.cache.json.get('ninjas'); - * + * * this.matter.add.fromJSON(400, 300, ninjaShapes.shinobi); * } * ``` - * + * * Do not pass the entire JSON file to this method, but instead pass one of the shapes contained within it. - * + * * If you pas in an `options` object, any settings in there will override those in the config object. - * + * * The structure of the JSON file is as follows: - * + * * ```text * { * 'generator_info': // The name of the application that created the JSON data @@ -42,7 +42,7 @@ var Body = require('./lib/body/Body'); * } * } * ``` - * + * * At the time of writing, only the Phaser Physics Tracer App exports in this format. * * @namespace Phaser.Physics.Matter.PhysicsJSONParser @@ -60,7 +60,7 @@ var PhysicsJSONParser = { * @param {number} y - The vertical world location of the body. * @param {object} config - The body configuration data. * @param {Phaser.Types.Physics.Matter.MatterBodyConfig} [options] - An optional Body configuration object that is used to set initial Body properties on creation. - * + * * @return {MatterJS.BodyType} A Matter JS Body. */ parseBody: function (x, y, config, options) diff --git a/src/physics/matter-js/PointerConstraint.js b/src/physics/matter-js/PointerConstraint.js index 87c89f7df..a04743689 100644 --- a/src/physics/matter-js/PointerConstraint.js +++ b/src/physics/matter-js/PointerConstraint.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -23,7 +23,7 @@ var Vertices = require('./lib/geometry/Vertices'); * and when one is pressed down it checks to see if that hit any part of any active * body in the world. If it did, and the body has input enabled, it will begin to * drag it until either released, or you stop it via the `stopDrag` method. - * + * * You can adjust the stiffness, length and other properties of the constraint via * the `options` object on creation. * @@ -101,7 +101,7 @@ var PointerConstraint = new Class({ /** * Is this Constraint active or not? - * + * * An active constraint will be processed each update. An inactive one will be skipped. * Use this to toggle a Pointer Constraint on and off. * @@ -156,7 +156,7 @@ var PointerConstraint = new Class({ /** * A Pointer has been pressed down onto the Scene. - * + * * If this Constraint doesn't have an active Pointer then a hit test is set to * run against all active bodies in the world during the _next_ call to `update`. * If a body is found, it is bound to this constraint and the drag begins. @@ -199,7 +199,7 @@ var PointerConstraint = new Class({ * @method Phaser.Physics.Matter.PointerConstraint#getBody * @fires Phaser.Physics.Matter.Events#DRAG_START * @since 3.16.2 - * + * * @return {boolean} `true` if a body was found and set, otherwise `false`. */ getBody: function (pointer) @@ -314,9 +314,9 @@ var PointerConstraint = new Class({ var pos = this.position; var constraint = this.constraint; - + this.camera.getWorldPoint(pointer.x, pointer.y, pos); - + // Drag update constraint.pointA.x = pos.x; constraint.pointA.y = pos.y; @@ -329,7 +329,7 @@ var PointerConstraint = new Class({ /** * Stops the Pointer Constraint from dragging the body any further. - * + * * This is called automatically if the Pointer is released while actively * dragging a body. Or, you can call it manually to release a body from a * constraint without having to first release the pointer. diff --git a/src/physics/matter-js/World.js b/src/physics/matter-js/World.js index c7a3ac7ed..038b63f1f 100644 --- a/src/physics/matter-js/World.js +++ b/src/physics/matter-js/World.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -23,15 +23,15 @@ var Vector = require('./lib/geometry/Vector'); /** * @classdesc * The Matter World class is responsible for managing one single instance of a Matter Physics World for Phaser. - * + * * Access this via `this.matter.world` from within a Scene. - * + * * This class creates a Matter JS World Composite along with the Matter JS Engine during instantiation. It also * handles delta timing, bounds, body and constraint creation and debug drawing. - * + * * If you wish to access the Matter JS World object directly, see the `localWorld` property. * If you wish to access the Matter Engine directly, see the `engine` property. - * + * * This class is an Event Emitter and will proxy _all_ Matter JS events, as they are received. * * @class World @@ -127,13 +127,13 @@ var World = new Class({ /** * This function is called every time the core game loop steps, which is bound to the * Request Animation Frame frequency unless otherwise modified. - * + * * The function is passed two values: `time` and `delta`, both of which come from the game step values. - * + * * It must return a number. This number is used as the delta value passed to Matter.Engine.update. - * + * * You can override this function with your own to define your own timestep. - * + * * If you need to update the Engine multiple times in a single game step then call * `World.update` as many times as required. Each call will trigger the `getDelta` function. * If you wish to have full control over when the Engine updates then see the property `autoUpdate`. @@ -171,7 +171,7 @@ var World = new Class({ /** * The Matter JS Runner Configuration object. - * + * * This object is populated via the Matter Configuration object's `runner` property and is * updated constantly during the game step. * @@ -230,12 +230,12 @@ var World = new Class({ /** * The debug configuration object. - * + * * The values stored in this object are read from the Matter World Config `debug` property. - * + * * When a new Body or Constraint is _added to the World_, they are given the values stored in this object, * unless they have their own `render` object set that will override them. - * + * * Note that while you can modify the values of properties in this object at run-time, it will not change * any of the Matter objects _already added_. It will only impact objects newly added to the world, or one * that is removed and then re-added at a later time. @@ -346,16 +346,16 @@ var World = new Class({ /** * Sets the debug render style for the children of the given Matter Composite. - * + * * Composites themselves do not render, but they can contain bodies, constraints and other composites that may do. * So the children of this composite are passed to the `setBodyRenderStyle`, `setCompositeRenderStyle` and * `setConstraintRenderStyle` methods accordingly. - * + * * @method Phaser.Physics.Matter.World#setCompositeRenderStyle * @since 3.22.0 * * @param {MatterJS.CompositeType} composite - The Matter Composite to set the render style on. - * + * * @return {this} This Matter World instance for method chaining. */ setCompositeRenderStyle: function (composite) @@ -396,15 +396,15 @@ var World = new Class({ /** * Sets the debug render style for the given Matter Body. - * + * * If you are using this on a Phaser Game Object, such as a Matter Sprite, then pass in the body property * to this method, not the Game Object itself. - * + * * If you wish to skip a parameter, so it retains its current value, pass `false` for it. - * + * * If you wish to reset the Body render colors to the defaults found in the World Debug Config, then call * this method with just the `body` parameter provided and no others. - * + * * @method Phaser.Physics.Matter.World#setBodyRenderStyle * @since 3.22.0 * @@ -414,7 +414,7 @@ var World = new Class({ * @param {number} [lineThickness] - The line thickness. If `null` it will use the World Debug Config value. * @param {number} [fillColor] - The fill color. If `null` it will use the World Debug Config value. * @param {number} [fillOpacity] - The fill opacity, between 0 and 1. If `null` it will use the World Debug Config value. - * + * * @return {this} This Matter World instance for method chaining. */ setBodyRenderStyle: function (body, lineColor, lineOpacity, lineThickness, fillColor, fillOpacity) @@ -482,15 +482,15 @@ var World = new Class({ /** * Sets the debug render style for the given Matter Constraint. - * + * * If you are using this on a Phaser Game Object, then pass in the body property * to this method, not the Game Object itself. - * + * * If you wish to skip a parameter, so it retains its current value, pass `false` for it. - * + * * If you wish to reset the Constraint render colors to the defaults found in the World Debug Config, then call * this method with just the `constraint` parameter provided and no others. - * + * * @method Phaser.Physics.Matter.World#setConstraintRenderStyle * @since 3.22.0 * @@ -501,7 +501,7 @@ var World = new Class({ * @param {number} [pinSize] - If this constraint is a pin, this sets the size of the pin circle. If `null` it will use the World Debug Config value. * @param {number} [anchorColor] - The color used when rendering this constraints anchors. If `null` it will use the World Debug Config value. * @param {number} [anchorSize] - The size of the anchor circle, if this constraint has anchors. If `null` it will use the World Debug Config value. - * + * * @return {this} This Matter World instance for method chaining. */ setConstraintRenderStyle: function (constraint, lineColor, lineOpacity, lineThickness, pinSize, anchorColor, anchorSize) @@ -616,12 +616,12 @@ var World = new Class({ MatterEvents.on(world, 'beforeAdd', function (event) { var objects = [].concat(event.object); - + for (var i = 0; i < objects.length; i++) { var obj = objects[i]; var render = obj.render; - + if (obj.type === 'body') { _this.setBodyRenderStyle(obj, render.lineColor, render.lineOpacity, render.lineThickness, render.fillColor, render.fillOpacity); @@ -801,12 +801,12 @@ var World = new Class({ /** * Creates a Phaser.GameObjects.Graphics object that is used to render all of the debug bodies and joints to. - * + * * This method is called automatically by the constructor, if debugging has been enabled. - * + * * The created Graphics object is automatically added to the Scene at 0x0 and given a depth of `Number.MAX_VALUE`, * so it renders above all else in the Scene. - * + * * The Graphics object is assigned to the `debugGraphic` property of this class and `drawDebug` is enabled. * * @method Phaser.Physics.Matter.World#createDebugGraphic @@ -846,7 +846,7 @@ var World = new Class({ /** * Sets the worlds gravity to the values given. - * + * * Gravity effects all bodies in the world, unless they have the `ignoreGravity` flag set. * * @method Phaser.Physics.Matter.World#setGravity @@ -899,9 +899,9 @@ var World = new Class({ /** * Adds a Matter JS object, or array of objects, to the world. - * + * * The objects should be valid Matter JS entities, such as a Body, Composite or Constraint. - * + * * Triggers `beforeAdd` and `afterAdd` events. * * @method Phaser.Physics.Matter.World#add @@ -920,9 +920,9 @@ var World = new Class({ /** * Removes a Matter JS object, or array of objects, from the world. - * + * * The objects should be valid Matter JS entities, such as a Body, Composite or Constraint. - * + * * Triggers `beforeRemove` and `afterRemove` events. * * @method Phaser.Physics.Matter.World#remove @@ -954,7 +954,7 @@ var World = new Class({ /** * Removes a Matter JS constraint, or array of constraints, from the world. - * + * * Triggers `beforeRemove` and `afterRemove` events. * * @method Phaser.Physics.Matter.World#removeConstraint @@ -974,7 +974,7 @@ var World = new Class({ /** * Adds `MatterTileBody` instances for all the colliding tiles within the given tilemap layer. - * + * * Set the appropriate tiles in your layer to collide before calling this method! * * @method Phaser.Physics.Matter.World#convertTilemapLayer @@ -1054,7 +1054,7 @@ var World = new Class({ /** * Pauses this Matter World instance and sets `enabled` to `false`. - * + * * A paused world will not run any simulations for the duration it is paused. * * @method Phaser.Physics.Matter.World#pause @@ -1092,16 +1092,16 @@ var World = new Class({ /** * The internal update method. This is called automatically by the parent Scene. - * + * * Moves the simulation forward in time by delta ms. Uses `World.correction` value as an optional number that * specifies the time correction factor to apply to the update. This can help improve the accuracy of the * simulation in cases where delta is changing between updates. The value of correction is defined as `delta / lastDelta`, * i.e. the percentage change of delta over the last step. Therefore the value is always 1 (no correction) when * delta is constant (or when no correction is desired, which is the default). * See the paper on Time Corrected Verlet for more information. - * + * * Triggers `beforeUpdate` and `afterUpdate` events. Triggers `collisionStart`, `collisionActive` and `collisionEnd` events. - * + * * If the World is paused, `update` is still run, but exits early and does not update the Matter Engine. * * @method Phaser.Physics.Matter.World#update @@ -1138,7 +1138,7 @@ var World = new Class({ runner.deltaHistory.push(delta); runner.deltaHistory = runner.deltaHistory.slice(-runner.deltaSampleSize); delta = Math.min.apply(null, runner.deltaHistory); - + // limit delta delta = delta < runner.deltaMin ? runner.deltaMin : delta; delta = delta > runner.deltaMax ? runner.deltaMax : delta; @@ -1179,12 +1179,12 @@ var World = new Class({ /** * Manually advances the physics simulation by one iteration. - * + * * You can optionally pass in the `delta` and `correction` values to be used by Engine.update. * If undefined they use the Matter defaults of 60Hz and no correction. - * + * * Calling `step` directly bypasses any checks of `enabled` or `autoUpdate`. - * + * * It also ignores any custom `getDelta` functions, as you should be passing the delta * value in to this call. * @@ -1240,9 +1240,9 @@ var World = new Class({ * * @method Phaser.Physics.Matter.World#has * @since 3.22.0 - * + * * @param {(MatterJS.Body|Phaser.GameObjects.GameObject)} body - The Matter Body, or Game Object, to search for within the world. - * + * * @return {MatterJS.BodyType[]} An array of all the Matter JS Bodies in this World. */ has: function (body) @@ -1257,7 +1257,7 @@ var World = new Class({ * * @method Phaser.Physics.Matter.World#getAllBodies * @since 3.22.0 - * + * * @return {MatterJS.BodyType[]} An array of all the Matter JS Bodies in this World. */ getAllBodies: function () @@ -1270,7 +1270,7 @@ var World = new Class({ * * @method Phaser.Physics.Matter.World#getAllConstraints * @since 3.22.0 - * + * * @return {MatterJS.ConstraintType[]} An array of all the Matter JS Constraints in this World. */ getAllConstraints: function () @@ -1283,7 +1283,7 @@ var World = new Class({ * * @method Phaser.Physics.Matter.World#getAllComposites * @since 3.22.0 - * + * * @return {MatterJS.CompositeType[]} An array of all the Matter JS Composites in this World. */ getAllComposites: function () @@ -1293,7 +1293,7 @@ var World = new Class({ /** * Handles the rendering of bodies and debug information to the debug Graphics object, if enabled. - * + * * This method is called automatically by the Scene after all processing has taken place. * * @method Phaser.Physics.Matter.World#postUpdate @@ -1358,20 +1358,20 @@ var World = new Class({ /** * Renders the Engine Broadphase Controller Grid to the given Graphics instance. - * + * * The debug renderer calls this method if the `showBroadphase` config value is set. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render the Grid to your own Graphics instance. - * + * * @method Phaser.Physics.Matter.World#renderGrid * @since 3.22.0 - * + * * @param {MatterJS.Grid} grid - The Matter Grid to be rendered. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {number} lineColor - The line color. * @param {number} lineOpacity - The line opacity, between 0 and 1. - * + * * @return {this} This Matter World instance for method chaining. */ renderGrid: function (grid, graphics, lineColor, lineOpacity) @@ -1404,19 +1404,19 @@ var World = new Class({ /** * Renders the list of Pair separations to the given Graphics instance. - * + * * The debug renderer calls this method if the `showSeparations` config value is set. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render the Grid to your own Graphics instance. - * + * * @method Phaser.Physics.Matter.World#renderSeparations * @since 3.22.0 - * + * * @param {MatterJS.Pair[]} pairs - An array of Matter Pairs to be rendered. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {number} lineColor - The line color. - * + * * @return {this} This Matter World instance for method chaining. */ renderSeparations: function (pairs, graphics, lineColor) @@ -1440,7 +1440,7 @@ var World = new Class({ var penetration = collision.penetration; var k = (!bodyA.isStatic && !bodyB.isStatic) ? 4 : 1; - + if (bodyB.isStatic) { k = 0; @@ -1473,19 +1473,19 @@ var World = new Class({ /** * Renders the list of collision points and normals to the given Graphics instance. - * + * * The debug renderer calls this method if the `showCollisions` config value is set. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render the Grid to your own Graphics instance. - * + * * @method Phaser.Physics.Matter.World#renderCollisions * @since 3.22.0 - * + * * @param {MatterJS.Pair[]} pairs - An array of Matter Pairs to be rendered. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {number} lineColor - The line color. - * + * * @return {this} This Matter World instance for method chaining. */ renderCollisions: function (pairs, graphics, lineColor) @@ -1567,17 +1567,17 @@ var World = new Class({ /** * Renders the bounds of an array of Bodies to the given Graphics instance. - * + * * If the body is a compound body, it will render the bounds for the parent compound. - * + * * The debug renderer calls this method if the `showBounds` config value is set. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render bounds to your own Graphics instance. * * @method Phaser.Physics.Matter.World#renderBodyBounds * @since 3.22.0 - * + * * @param {array} bodies - An array of bodies from the localWorld. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {number} lineColor - The line color. @@ -1615,7 +1615,7 @@ var World = new Class({ for (var j = parts.length > 1 ? 1 : 0; j < parts.length; j++) { var part = parts[j]; - + graphics.strokeRect( part.bounds.min.x, part.bounds.min.y, @@ -1631,15 +1631,15 @@ var World = new Class({ /** * Renders either all axes, or a single axis indicator, for an array of Bodies, to the given Graphics instance. - * + * * The debug renderer calls this method if the `showAxes` or `showAngleIndicator` config values are set. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render bounds to your own Graphics instance. * * @method Phaser.Physics.Matter.World#renderBodyAxes * @since 3.22.0 - * + * * @param {array} bodies - An array of bodies from the localWorld. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {boolean} showAxes - If `true` it will render all body axes. If `false` it will render a single axis indicator. @@ -1670,7 +1670,7 @@ var World = new Class({ for (j = parts.length > 1 ? 1 : 0; j < parts.length; j++) { part = parts[j]; - + for (k = 0; k < part.axes.length; k++) { var axis = part.axes[k]; @@ -1689,7 +1689,7 @@ var World = new Class({ for (j = parts.length > 1 ? 1 : 0; j < parts.length; j++) { part = parts[j]; - + for (k = 0; k < part.axes.length; k++) { graphics.lineBetween( @@ -1708,15 +1708,15 @@ var World = new Class({ /** * Renders a velocity indicator for an array of Bodies, to the given Graphics instance. - * + * * The debug renderer calls this method if the `showVelocity` config value is set. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render bounds to your own Graphics instance. * * @method Phaser.Physics.Matter.World#renderBodyVelocity * @since 3.22.0 - * + * * @param {array} bodies - An array of bodies from the localWorld. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {number} lineColor - The line color. @@ -1750,13 +1750,13 @@ var World = new Class({ /** * Renders the given array of Bodies to the debug graphics instance. - * + * * Called automatically by the `postUpdate` method. * * @method Phaser.Physics.Matter.World#renderBodies * @private * @since 3.14.0 - * + * * @param {array} bodies - An array of bodies from the localWorld. */ renderBodies: function (bodies) @@ -1840,16 +1840,16 @@ var World = new Class({ /** * Renders a single Matter Body to the given Phaser Graphics Game Object. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render a Body to your own Graphics instance. - * + * * If you don't wish to render a line around the body, set the `lineColor` parameter to `null`. * Equally, if you don't wish to render a fill, set the `fillColor` parameter to `null`. - * + * * @method Phaser.Physics.Matter.World#renderBody * @since 3.22.0 - * + * * @param {MatterJS.BodyType} body - The Matter Body to be rendered. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {boolean} showInternalEdges - Render internal edges of the polygon? @@ -1858,7 +1858,7 @@ var World = new Class({ * @param {number} [lineThickness=1] - The line thickness. * @param {number} [fillColor] - The fill color. * @param {number} [fillOpacity] - The fill opacity, between 0 and 1. - * + * * @return {this} This Matter World instance for method chaining. */ renderBody: function (body, graphics, showInternalEdges, lineColor, lineOpacity, lineThickness, fillColor, fillOpacity) @@ -1900,7 +1900,7 @@ var World = new Class({ { graphics.fillStyle(sensorFillColor, fillOpacity * opacity); } - + if (lineColor !== null) { graphics.lineStyle(lineThickness, sensorLineColor, lineOpacity * opacity); @@ -1912,7 +1912,7 @@ var World = new Class({ { graphics.fillStyle(fillColor, fillOpacity * opacity); } - + if (lineColor !== null) { graphics.lineStyle(lineThickness, lineColor, lineOpacity * opacity); @@ -1950,7 +1950,7 @@ var World = new Class({ graphics.moveTo(vertices[nextIndex].x, vertices[nextIndex].y); } } - + graphics.closePath(); } @@ -1980,18 +1980,18 @@ var World = new Class({ /** * Renders the Convex Hull for a single Matter Body to the given Phaser Graphics Game Object. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render a Body hull to your own Graphics instance. - * + * * @method Phaser.Physics.Matter.World#renderConvexHull * @since 3.22.0 - * + * * @param {MatterJS.BodyType} body - The Matter Body to be rendered. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {number} hullColor - The color used to render the hull. * @param {number} [lineThickness=1] - The hull line thickness. - * + * * @return {this} This Matter World instance for method chaining. */ renderConvexHull: function (body, graphics, hullColor, lineThickness) @@ -2016,7 +2016,7 @@ var World = new Class({ { graphics.lineTo(verts[v].x, verts[v].y); } - + graphics.lineTo(verts[0].x, verts[0].y); graphics.strokePath(); @@ -2027,7 +2027,7 @@ var World = new Class({ /** * Renders all of the constraints in the world (unless they are specifically set to invisible). - * + * * Called automatically by the `postUpdate` method. * * @method Phaser.Physics.Matter.World#renderJoints @@ -2038,7 +2038,7 @@ var World = new Class({ { var graphics = this.debugGraphic; - // Render constraints + // Render constraints var constraints = Composite.allConstraints(this.localWorld); for (var i = 0; i < constraints.length; i++) @@ -2058,13 +2058,13 @@ var World = new Class({ /** * Renders a single Matter Constraint, such as a Pin or a Spring, to the given Phaser Graphics Game Object. - * + * * This method is used internally by the Matter Debug Renderer, but is also exposed publically should * you wish to render a Constraint to your own Graphics instance. - * + * * @method Phaser.Physics.Matter.World#renderConstraint * @since 3.22.0 - * + * * @param {MatterJS.ConstraintType} constraint - The Matter Constraint to render. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics object to render to. * @param {number} lineColor - The line color. @@ -2073,7 +2073,7 @@ var World = new Class({ * @param {number} pinSize - If this constraint is a pin, this sets the size of the pin circle. * @param {number} anchorColor - The color used when rendering this constraints anchors. Set to `null` to not render anchors. * @param {number} anchorSize - The size of the anchor circle, if this constraint has anchors and is rendering them. - * + * * @return {this} This Matter World instance for method chaining. */ renderConstraint: function (constraint, graphics, lineColor, lineOpacity, lineThickness, pinSize, anchorColor, anchorSize) @@ -2154,7 +2154,7 @@ var World = new Class({ /** * Resets the internal collision IDs that Matter.JS uses for Body collision groups. - * + * * You should call this before destroying your game if you need to restart the game * again on the same page, without first reloading the page. Or, if you wish to * consistently destroy a Scene that contains Matter.js and then run it again diff --git a/src/physics/matter-js/components/Bounce.js b/src/physics/matter-js/components/Bounce.js index c0b1c6bf7..227920932 100644 --- a/src/physics/matter-js/components/Bounce.js +++ b/src/physics/matter-js/components/Bounce.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/components/Collision.js b/src/physics/matter-js/components/Collision.js index a538de061..87a0a3985 100644 --- a/src/physics/matter-js/components/Collision.js +++ b/src/physics/matter-js/components/Collision.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -86,7 +86,7 @@ var Collision = { /** * The callback is sent a `Phaser.Types.Physics.Matter.MatterCollisionData` object. - * + * * This does not change the bodies collision category, group or filter. Those must be set in addition * to the callback. * @@ -106,7 +106,7 @@ var Collision = { /** * The callback is sent a `Phaser.Types.Physics.Matter.MatterCollisionData` object. - * + * * This does not change the bodies collision category, group or filter. Those must be set in addition * to the callback. * @@ -126,7 +126,7 @@ var Collision = { /** * The callback is sent a `Phaser.Types.Physics.Matter.MatterCollisionData` object. - * + * * This does not change the bodies collision category, group or filter. Those must be set in addition * to the callback. * @@ -146,7 +146,7 @@ var Collision = { /** * The callback is sent a reference to the other body, along with a `Phaser.Types.Physics.Matter.MatterCollisionData` object. - * + * * This does not change the bodies collision category, group or filter. Those must be set in addition * to the callback. * diff --git a/src/physics/matter-js/components/Force.js b/src/physics/matter-js/components/Force.js index 87fbac383..27812649d 100644 --- a/src/physics/matter-js/components/Force.js +++ b/src/physics/matter-js/components/Force.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -55,7 +55,7 @@ var Force = { /** * Apply thrust to the forward position of the body. - * + * * Use very small values, such as 0.1, depending on the mass and required speed. * * @method Phaser.Physics.Matter.Components.Force#thrust @@ -78,7 +78,7 @@ var Force = { /** * Apply thrust to the left position of the body. - * + * * Use very small values, such as 0.1, depending on the mass and required speed. * * @method Phaser.Physics.Matter.Components.Force#thrustLeft @@ -101,7 +101,7 @@ var Force = { /** * Apply thrust to the right position of the body. - * + * * Use very small values, such as 0.1, depending on the mass and required speed. * * @method Phaser.Physics.Matter.Components.Force#thrustRight @@ -124,7 +124,7 @@ var Force = { /** * Apply thrust to the back position of the body. - * + * * Use very small values, such as 0.1, depending on the mass and required speed. * * @method Phaser.Physics.Matter.Components.Force#thrustBack diff --git a/src/physics/matter-js/components/Friction.js b/src/physics/matter-js/components/Friction.js index 4e0595d1f..7e9c0cb74 100644 --- a/src/physics/matter-js/components/Friction.js +++ b/src/physics/matter-js/components/Friction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/components/Gravity.js b/src/physics/matter-js/components/Gravity.js index 3180fc970..a77398989 100644 --- a/src/physics/matter-js/components/Gravity.js +++ b/src/physics/matter-js/components/Gravity.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/components/Mass.js b/src/physics/matter-js/components/Mass.js index 3b10ece78..8fb50f7fc 100644 --- a/src/physics/matter-js/components/Mass.js +++ b/src/physics/matter-js/components/Mass.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -51,9 +51,9 @@ var Mass = { /** * The body's center of mass. - * + * * Calling this creates a new `Vector2 each time to avoid mutation. - * + * * If you only need to read the value and won't change it, you can get it from `GameObject.body.centerOfMass`. * * @name Phaser.Physics.Matter.Components.Mass#centerOfMass diff --git a/src/physics/matter-js/components/Sensor.js b/src/physics/matter-js/components/Sensor.js index 6ff17db18..2e6121157 100644 --- a/src/physics/matter-js/components/Sensor.js +++ b/src/physics/matter-js/components/Sensor.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/components/SetBody.js b/src/physics/matter-js/components/SetBody.js index 5df929377..75d7c4485 100644 --- a/src/physics/matter-js/components/SetBody.js +++ b/src/physics/matter-js/components/SetBody.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -22,7 +22,7 @@ var SetBody = { /** * Set the body on a Game Object to a rectangle. - * + * * Calling this methods resets previous properties you may have set on the body, including * plugins, mass, friction, etc. So be sure to re-apply these in the options object if needed. * @@ -42,7 +42,7 @@ var SetBody = { /** * Set the body on a Game Object to a circle. - * + * * Calling this methods resets previous properties you may have set on the body, including * plugins, mass, friction, etc. So be sure to re-apply these in the options object if needed. * @@ -61,7 +61,7 @@ var SetBody = { /** * Set the body on the Game Object to a polygon shape. - * + * * Calling this methods resets previous properties you may have set on the body, including * plugins, mass, friction, etc. So be sure to re-apply these in the options object if needed. * @@ -81,7 +81,7 @@ var SetBody = { /** * Set the body on the Game Object to a trapezoid shape. - * + * * Calling this methods resets previous properties you may have set on the body, including * plugins, mass, friction, etc. So be sure to re-apply these in the options object if needed. * @@ -102,7 +102,7 @@ var SetBody = { /** * Set this Game Object to use the given existing Matter Body. - * + * * The body is first removed from the world before being added to this Game Object. * * @method Phaser.Physics.Matter.Components.SetBody#setExistingBody @@ -174,7 +174,7 @@ var SetBody = { /** * Set this Game Object to create and use a new Body based on the configuration object given. - * + * * Calling this method resets previous properties you may have set on the body, including * plugins, mass, friction, etc. So be sure to re-apply these in the options object if needed. * @@ -255,7 +255,7 @@ var SetBody = { var flagInternal = GetFastValue(config, 'flagInternal', false); var removeCollinear = GetFastValue(config, 'removeCollinear', 0.01); var minimumArea = GetFastValue(config, 'minimumArea', 10); - + body = Bodies.fromVertices(bodyX, bodyY, verts, options, flagInternal, removeCollinear, minimumArea); } } diff --git a/src/physics/matter-js/components/Sleep.js b/src/physics/matter-js/components/Sleep.js index 5b70616a7..1c32a4874 100644 --- a/src/physics/matter-js/components/Sleep.js +++ b/src/physics/matter-js/components/Sleep.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/components/Static.js b/src/physics/matter-js/components/Static.js index 0358c4078..c61db4fce 100644 --- a/src/physics/matter-js/components/Static.js +++ b/src/physics/matter-js/components/Static.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/components/Transform.js b/src/physics/matter-js/components/Transform.js index e7934460f..b9f1035ae 100644 --- a/src/physics/matter-js/components/Transform.js +++ b/src/physics/matter-js/components/Transform.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -86,7 +86,7 @@ var Transform = { { var factorX = 1 / this._scaleX; var factorY = 1 / this._scaleY; - + this._scaleX = value; if (this._scaleX === 0) diff --git a/src/physics/matter-js/components/Velocity.js b/src/physics/matter-js/components/Velocity.js index 619719787..f00be76fb 100644 --- a/src/physics/matter-js/components/Velocity.js +++ b/src/physics/matter-js/components/Velocity.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/components/index.js b/src/physics/matter-js/components/index.js index 786cd9ec6..fb8bd30d8 100644 --- a/src/physics/matter-js/components/index.js +++ b/src/physics/matter-js/components/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/events/AFTER_ADD_EVENT.js b/src/physics/matter-js/events/AFTER_ADD_EVENT.js index 4a73e419b..ee4c24e8b 100644 --- a/src/physics/matter-js/events/AFTER_ADD_EVENT.js +++ b/src/physics/matter-js/events/AFTER_ADD_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,15 +14,15 @@ /** * The Matter Physics After Add Event. - * + * * This event is dispatched by a Matter Physics World instance at the end of the process when a new Body * or Constraint has just been added to the world. - * + * * Listen to it from a Scene using: `this.matter.world.on('afteradd', listener)`. * * @event Phaser.Physics.Matter.Events#AFTER_ADD * @since 3.22.0 - * + * * @param {Phaser.Physics.Matter.Events.AfterAddEvent} event - The Add Event object. */ module.exports = 'afteradd'; diff --git a/src/physics/matter-js/events/AFTER_REMOVE_EVENT.js b/src/physics/matter-js/events/AFTER_REMOVE_EVENT.js index f745ced80..dc369d597 100644 --- a/src/physics/matter-js/events/AFTER_REMOVE_EVENT.js +++ b/src/physics/matter-js/events/AFTER_REMOVE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,15 +14,15 @@ /** * The Matter Physics After Remove Event. - * - * This event is dispatched by a Matter Physics World instance at the end of the process when a + * + * This event is dispatched by a Matter Physics World instance at the end of the process when a * Body or Constraint was removed from the world. - * + * * Listen to it from a Scene using: `this.matter.world.on('afterremove', listener)`. * * @event Phaser.Physics.Matter.Events#AFTER_REMOVE * @since 3.22.0 - * + * * @param {Phaser.Physics.Matter.Events.AfterRemoveEvent} event - The Remove Event object. */ module.exports = 'afterremove'; diff --git a/src/physics/matter-js/events/AFTER_UPDATE_EVENT.js b/src/physics/matter-js/events/AFTER_UPDATE_EVENT.js index 999aba1d5..7ac18c293 100644 --- a/src/physics/matter-js/events/AFTER_UPDATE_EVENT.js +++ b/src/physics/matter-js/events/AFTER_UPDATE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,14 +14,14 @@ /** * The Matter Physics After Update Event. - * + * * This event is dispatched by a Matter Physics World instance after the engine has updated and all collision events have resolved. - * + * * Listen to it from a Scene using: `this.matter.world.on('afterupdate', listener)`. * * @event Phaser.Physics.Matter.Events#AFTER_UPDATE * @since 3.0.0 - * + * * @param {Phaser.Physics.Matter.Events.AfterUpdateEvent} event - The Update Event object. */ module.exports = 'afterupdate'; diff --git a/src/physics/matter-js/events/BEFORE_ADD_EVENT.js b/src/physics/matter-js/events/BEFORE_ADD_EVENT.js index a97d2f0de..2e53610a2 100644 --- a/src/physics/matter-js/events/BEFORE_ADD_EVENT.js +++ b/src/physics/matter-js/events/BEFORE_ADD_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,15 +14,15 @@ /** * The Matter Physics Before Add Event. - * + * * This event is dispatched by a Matter Physics World instance at the start of the process when a new Body * or Constraint is being added to the world. - * + * * Listen to it from a Scene using: `this.matter.world.on('beforeadd', listener)`. * * @event Phaser.Physics.Matter.Events#BEFORE_ADD * @since 3.22.0 - * + * * @param {Phaser.Physics.Matter.Events.BeforeAddEvent} event - The Add Event object. */ module.exports = 'beforeadd'; diff --git a/src/physics/matter-js/events/BEFORE_REMOVE_EVENT.js b/src/physics/matter-js/events/BEFORE_REMOVE_EVENT.js index d263e7475..17f810319 100644 --- a/src/physics/matter-js/events/BEFORE_REMOVE_EVENT.js +++ b/src/physics/matter-js/events/BEFORE_REMOVE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,15 +14,15 @@ /** * The Matter Physics Before Remove Event. - * - * This event is dispatched by a Matter Physics World instance at the start of the process when a + * + * This event is dispatched by a Matter Physics World instance at the start of the process when a * Body or Constraint is being removed from the world. - * + * * Listen to it from a Scene using: `this.matter.world.on('beforeremove', listener)`. * * @event Phaser.Physics.Matter.Events#BEFORE_REMOVE * @since 3.22.0 - * + * * @param {Phaser.Physics.Matter.Events.BeforeRemoveEvent} event - The Remove Event object. */ module.exports = 'beforeremove'; diff --git a/src/physics/matter-js/events/BEFORE_UPDATE_EVENT.js b/src/physics/matter-js/events/BEFORE_UPDATE_EVENT.js index 3cf763a35..c8e25bb67 100644 --- a/src/physics/matter-js/events/BEFORE_UPDATE_EVENT.js +++ b/src/physics/matter-js/events/BEFORE_UPDATE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,14 +14,14 @@ /** * The Matter Physics Before Update Event. - * + * * This event is dispatched by a Matter Physics World instance right before all the collision processing takes place. - * + * * Listen to it from a Scene using: `this.matter.world.on('beforeupdate', listener)`. * * @event Phaser.Physics.Matter.Events#BEFORE_UPDATE * @since 3.0.0 - * + * * @param {Phaser.Physics.Matter.Events.BeforeUpdateEvent} event - The Update Event object. */ module.exports = 'beforeupdate'; diff --git a/src/physics/matter-js/events/COLLISION_ACTIVE_EVENT.js b/src/physics/matter-js/events/COLLISION_ACTIVE_EVENT.js index a272652a9..636e53daa 100644 --- a/src/physics/matter-js/events/COLLISION_ACTIVE_EVENT.js +++ b/src/physics/matter-js/events/COLLISION_ACTIVE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,15 +15,15 @@ /** * The Matter Physics Collision Active Event. - * + * * This event is dispatched by a Matter Physics World instance after the engine has updated. * It provides a list of all pairs that are colliding in the current tick (if any). - * + * * Listen to it from a Scene using: `this.matter.world.on('collisionactive', listener)`. * * @event Phaser.Physics.Matter.Events#COLLISION_ACTIVE * @since 3.0.0 - * + * * @param {Phaser.Physics.Matter.Events.CollisionActiveEvent} event - The Collision Event object. * @param {MatterJS.BodyType} bodyA - The first body of the first colliding pair. The `event.pairs` array may contain more colliding bodies. * @param {MatterJS.BodyType} bodyB - The second body of the first colliding pair. The `event.pairs` array may contain more colliding bodies. diff --git a/src/physics/matter-js/events/COLLISION_END_EVENT.js b/src/physics/matter-js/events/COLLISION_END_EVENT.js index 543618135..691bb86bb 100644 --- a/src/physics/matter-js/events/COLLISION_END_EVENT.js +++ b/src/physics/matter-js/events/COLLISION_END_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,15 +15,15 @@ /** * The Matter Physics Collision End Event. - * + * * This event is dispatched by a Matter Physics World instance after the engine has updated. * It provides a list of all pairs that have finished colliding in the current tick (if any). - * + * * Listen to it from a Scene using: `this.matter.world.on('collisionend', listener)`. * * @event Phaser.Physics.Matter.Events#COLLISION_END * @since 3.0.0 - * + * * @param {Phaser.Physics.Matter.Events.CollisionEndEvent} event - The Collision Event object. * @param {MatterJS.BodyType} bodyA - The first body of the first colliding pair. The `event.pairs` array may contain more colliding bodies. * @param {MatterJS.BodyType} bodyB - The second body of the first colliding pair. The `event.pairs` array may contain more colliding bodies. diff --git a/src/physics/matter-js/events/COLLISION_START_EVENT.js b/src/physics/matter-js/events/COLLISION_START_EVENT.js index 9a0ce1105..70afa340d 100644 --- a/src/physics/matter-js/events/COLLISION_START_EVENT.js +++ b/src/physics/matter-js/events/COLLISION_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,15 +15,15 @@ /** * The Matter Physics Collision Start Event. - * + * * This event is dispatched by a Matter Physics World instance after the engine has updated. * It provides a list of all pairs that have started to collide in the current tick (if any). - * + * * Listen to it from a Scene using: `this.matter.world.on('collisionstart', listener)`. * * @event Phaser.Physics.Matter.Events#COLLISION_START * @since 3.0.0 - * + * * @param {Phaser.Physics.Matter.Events.CollisionStartEvent} event - The Collision Event object. * @param {MatterJS.BodyType} bodyA - The first body of the first colliding pair. The `event.pairs` array may contain more colliding bodies. * @param {MatterJS.BodyType} bodyB - The second body of the first colliding pair. The `event.pairs` array may contain more colliding bodies. diff --git a/src/physics/matter-js/events/DRAG_END_EVENT.js b/src/physics/matter-js/events/DRAG_END_EVENT.js index e01eed8cf..7818363d9 100644 --- a/src/physics/matter-js/events/DRAG_END_EVENT.js +++ b/src/physics/matter-js/events/DRAG_END_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Matter Physics Drag End Event. - * + * * This event is dispatched by a Matter Physics World instance when a Pointer Constraint * stops dragging a body. - * + * * Listen to it from a Scene using: `this.matter.world.on('dragend', listener)`. * * @event Phaser.Physics.Matter.Events#DRAG_END * @since 3.16.2 - * + * * @param {MatterJS.BodyType} body - The Body that has stopped being dragged. This is a Matter Body, not a Phaser Game Object. * @param {Phaser.Physics.Matter.PointerConstraint} constraint - The Pointer Constraint that was dragging the body. */ diff --git a/src/physics/matter-js/events/DRAG_EVENT.js b/src/physics/matter-js/events/DRAG_EVENT.js index 103c7ac3d..095dfce8f 100644 --- a/src/physics/matter-js/events/DRAG_EVENT.js +++ b/src/physics/matter-js/events/DRAG_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Matter Physics Drag Event. - * + * * This event is dispatched by a Matter Physics World instance when a Pointer Constraint * is actively dragging a body. It is emitted each time the pointer moves. - * + * * Listen to it from a Scene using: `this.matter.world.on('drag', listener)`. * * @event Phaser.Physics.Matter.Events#DRAG * @since 3.16.2 - * + * * @param {MatterJS.BodyType} body - The Body that is being dragged. This is a Matter Body, not a Phaser Game Object. * @param {Phaser.Physics.Matter.PointerConstraint} constraint - The Pointer Constraint that is dragging the body. */ diff --git a/src/physics/matter-js/events/DRAG_START_EVENT.js b/src/physics/matter-js/events/DRAG_START_EVENT.js index 7eaa0ba1b..7982e4882 100644 --- a/src/physics/matter-js/events/DRAG_START_EVENT.js +++ b/src/physics/matter-js/events/DRAG_START_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Matter Physics Drag Start Event. - * + * * This event is dispatched by a Matter Physics World instance when a Pointer Constraint * starts dragging a body. - * + * * Listen to it from a Scene using: `this.matter.world.on('dragstart', listener)`. * * @event Phaser.Physics.Matter.Events#DRAG_START * @since 3.16.2 - * + * * @param {MatterJS.BodyType} body - The Body that has started being dragged. This is a Matter Body, not a Phaser Game Object. * @param {MatterJS.BodyType} part - The part of the body that was clicked on. * @param {Phaser.Physics.Matter.PointerConstraint} constraint - The Pointer Constraint that is dragging the body. diff --git a/src/physics/matter-js/events/PAUSE_EVENT.js b/src/physics/matter-js/events/PAUSE_EVENT.js index dba8f5553..a1fe8be59 100644 --- a/src/physics/matter-js/events/PAUSE_EVENT.js +++ b/src/physics/matter-js/events/PAUSE_EVENT.js @@ -1,14 +1,14 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Matter Physics World Pause Event. - * + * * This event is dispatched by an Matter Physics World instance when it is paused. - * + * * Listen to it from a Scene using: `this.matter.world.on('pause', listener)`. * * @event Phaser.Physics.Matter.Events#PAUSE diff --git a/src/physics/matter-js/events/RESUME_EVENT.js b/src/physics/matter-js/events/RESUME_EVENT.js index 23cb25304..b6e7cb23a 100644 --- a/src/physics/matter-js/events/RESUME_EVENT.js +++ b/src/physics/matter-js/events/RESUME_EVENT.js @@ -1,14 +1,14 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Matter Physics World Resume Event. - * + * * This event is dispatched by an Matter Physics World instance when it resumes from a paused state. - * + * * Listen to it from a Scene using: `this.matter.world.on('resume', listener)`. * * @event Phaser.Physics.Matter.Events#RESUME diff --git a/src/physics/matter-js/events/SLEEP_END_EVENT.js b/src/physics/matter-js/events/SLEEP_END_EVENT.js index eab024c97..f7a98f8aa 100644 --- a/src/physics/matter-js/events/SLEEP_END_EVENT.js +++ b/src/physics/matter-js/events/SLEEP_END_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -13,14 +13,14 @@ /** * The Matter Physics Sleep End Event. - * + * * This event is dispatched by a Matter Physics World instance when a Body stop sleeping. - * + * * Listen to it from a Scene using: `this.matter.world.on('sleepend', listener)`. * * @event Phaser.Physics.Matter.Events#SLEEP_END * @since 3.0.0 - * + * * @param {Phaser.Physics.Matter.Events.SleepEndEvent} event - The Sleep Event object. * @param {MatterJS.BodyType} body - The body that has stopped sleeping. */ diff --git a/src/physics/matter-js/events/SLEEP_START_EVENT.js b/src/physics/matter-js/events/SLEEP_START_EVENT.js index 70b4a2242..4aeaa05a1 100644 --- a/src/physics/matter-js/events/SLEEP_START_EVENT.js +++ b/src/physics/matter-js/events/SLEEP_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -13,14 +13,14 @@ /** * The Matter Physics Sleep Start Event. - * + * * This event is dispatched by a Matter Physics World instance when a Body goes to sleep. - * + * * Listen to it from a Scene using: `this.matter.world.on('sleepstart', listener)`. * * @event Phaser.Physics.Matter.Events#SLEEP_START * @since 3.0.0 - * + * * @param {Phaser.Physics.Matter.Events.SleepStartEvent} event - The Sleep Event object. * @param {MatterJS.BodyType} body - The body that has gone to sleep. */ diff --git a/src/physics/matter-js/events/index.js b/src/physics/matter-js/events/index.js index 6697df1b9..381e3284f 100644 --- a/src/physics/matter-js/events/index.js +++ b/src/physics/matter-js/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/index.js b/src/physics/matter-js/index.js index d3d137902..04ed7029c 100644 --- a/src/physics/matter-js/index.js +++ b/src/physics/matter-js/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/physics/matter-js/typedefs/index.js b/src/physics/matter-js/typedefs/index.js index ee3bae2e3..660795f37 100644 --- a/src/physics/matter-js/typedefs/index.js +++ b/src/physics/matter-js/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/plugins/BasePlugin.js b/src/plugins/BasePlugin.js index ccb38fedb..c01f542eb 100644 --- a/src/plugins/BasePlugin.js +++ b/src/plugins/BasePlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey -* @copyright 2020 Photon Storm Ltd. +* @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser3-plugin-template/blob/master/LICENSE|MIT License} */ diff --git a/src/plugins/DefaultPlugins.js b/src/plugins/DefaultPlugins.js index a82e9d7e4..73d221eb6 100644 --- a/src/plugins/DefaultPlugins.js +++ b/src/plugins/DefaultPlugins.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Default Plugins. - * + * * @namespace Phaser.Plugins.DefaultPlugins * @memberof Phaser.Plugins * @since 3.0.0 diff --git a/src/plugins/PluginCache.js b/src/plugins/PluginCache.js index 7a6b92818..71a03d3fd 100644 --- a/src/plugins/PluginCache.js +++ b/src/plugins/PluginCache.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -26,7 +26,7 @@ var PluginCache = {}; * * @method Phaser.Plugins.PluginCache.register * @since 3.8.0 - * + * * @param {string} key - A reference used to get this plugin from the plugin cache. * @param {function} plugin - The plugin to be stored. Should be the core object, not instantiated. * @param {string} mapping - If this plugin is to be injected into the Scene Systems, this is the property key map used. @@ -45,7 +45,7 @@ PluginCache.register = function (key, plugin, mapping, custom) * * @method Phaser.Plugins.PluginCache.registerCustom * @since 3.8.0 - * + * * @param {string} key - A reference used to get this plugin from the plugin cache. * @param {function} plugin - The plugin to be stored. Should be the core object, not instantiated. * @param {string} mapping - If this plugin is to be injected into the Scene Systems, this is the property key map used. @@ -61,7 +61,7 @@ PluginCache.registerCustom = function (key, plugin, mapping, data) * * @method Phaser.Plugins.PluginCache.hasCore * @since 3.8.0 - * + * * @param {string} key - The key to check for. * * @return {boolean} `true` if the key is already in use in the core cache, otherwise `false`. @@ -76,7 +76,7 @@ PluginCache.hasCore = function (key) * * @method Phaser.Plugins.PluginCache.hasCustom * @since 3.8.0 - * + * * @param {string} key - The key to check for. * * @return {boolean} `true` if the key is already in use in the custom cache, otherwise `false`. @@ -91,7 +91,7 @@ PluginCache.hasCustom = function (key) * * @method Phaser.Plugins.PluginCache.getCore * @since 3.8.0 - * + * * @param {string} key - The key of the core plugin to get. * * @return {Phaser.Types.Plugins.CorePluginContainer} The core plugin object. @@ -106,7 +106,7 @@ PluginCache.getCore = function (key) * * @method Phaser.Plugins.PluginCache.getCustom * @since 3.8.0 - * + * * @param {string} key - The key of the custom plugin to get. * * @return {Phaser.Types.Plugins.CustomPluginContainer} The custom plugin object. @@ -121,7 +121,7 @@ PluginCache.getCustom = function (key) * * @method Phaser.Plugins.PluginCache.getCustomClass * @since 3.8.0 - * + * * @param {string} key - The key of the custom plugin to get. * * @return {function} The custom plugin object. @@ -136,7 +136,7 @@ PluginCache.getCustomClass = function (key) * * @method Phaser.Plugins.PluginCache.remove * @since 3.8.0 - * + * * @param {string} key - The key of the core plugin to remove. */ PluginCache.remove = function (key) @@ -152,7 +152,7 @@ PluginCache.remove = function (key) * * @method Phaser.Plugins.PluginCache.removeCustom * @since 3.8.0 - * + * * @param {string} key - The key of the custom plugin to remove. */ PluginCache.removeCustom = function (key) @@ -165,7 +165,7 @@ PluginCache.removeCustom = function (key) /** * Removes all Core Plugins. - * + * * This includes all of the internal system plugins that Phaser needs, like the Input Plugin and Loader Plugin. * So be sure you only call this if you do not wish to run Phaser again. * diff --git a/src/plugins/PluginManager.js b/src/plugins/PluginManager.js index c857a2f39..896e634dd 100644 --- a/src/plugins/PluginManager.js +++ b/src/plugins/PluginManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/plugins/ScenePlugin.js b/src/plugins/ScenePlugin.js index da3683565..74892cad6 100644 --- a/src/plugins/ScenePlugin.js +++ b/src/plugins/ScenePlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey -* @copyright 2020 Photon Storm Ltd. +* @copyright 2022 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser3-plugin-template/blob/master/LICENSE|MIT License} */ diff --git a/src/plugins/index.js b/src/plugins/index.js index 8e4b5ef7b..518c786a1 100644 --- a/src/plugins/index.js +++ b/src/plugins/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/plugins/typedefs/index.js b/src/plugins/typedefs/index.js index b0087b40c..a29aa3d57 100644 --- a/src/plugins/typedefs/index.js +++ b/src/plugins/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/BlendModes.js b/src/renderer/BlendModes.js index e4a70329f..569f9b034 100644 --- a/src/renderer/BlendModes.js +++ b/src/renderer/BlendModes.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Phaser Blend Modes. - * + * * @namespace Phaser.BlendModes * @since 3.0.0 */ @@ -15,7 +15,7 @@ module.exports = { /** * Skips the Blend Mode check in the renderer. - * + * * @name Phaser.BlendModes.SKIP_CHECK * @type {number} * @const @@ -26,7 +26,7 @@ module.exports = { /** * Normal blend mode. For Canvas and WebGL. * This is the default setting and draws new shapes on top of the existing canvas content. - * + * * @name Phaser.BlendModes.NORMAL * @type {number} * @const @@ -37,7 +37,7 @@ module.exports = { /** * Add blend mode. For Canvas and WebGL. * Where both shapes overlap the color is determined by adding color values. - * + * * @name Phaser.BlendModes.ADD * @type {number} * @const @@ -48,7 +48,7 @@ module.exports = { /** * Multiply blend mode. For Canvas and WebGL. * The pixels are of the top layer are multiplied with the corresponding pixel of the bottom layer. A darker picture is the result. - * + * * @name Phaser.BlendModes.MULTIPLY * @type {number} * @const @@ -59,7 +59,7 @@ module.exports = { /** * Screen blend mode. For Canvas and WebGL. * The pixels are inverted, multiplied, and inverted again. A lighter picture is the result (opposite of multiply) - * + * * @name Phaser.BlendModes.SCREEN * @type {number} * @const @@ -70,7 +70,7 @@ module.exports = { /** * Overlay blend mode. For Canvas only. * A combination of multiply and screen. Dark parts on the base layer become darker, and light parts become lighter. - * + * * @name Phaser.BlendModes.OVERLAY * @type {number} * @const @@ -81,7 +81,7 @@ module.exports = { /** * Darken blend mode. For Canvas only. * Retains the darkest pixels of both layers. - * + * * @name Phaser.BlendModes.DARKEN * @type {number} * @const @@ -92,7 +92,7 @@ module.exports = { /** * Lighten blend mode. For Canvas only. * Retains the lightest pixels of both layers. - * + * * @name Phaser.BlendModes.LIGHTEN * @type {number} * @const @@ -103,7 +103,7 @@ module.exports = { /** * Color Dodge blend mode. For Canvas only. * Divides the bottom layer by the inverted top layer. - * + * * @name Phaser.BlendModes.COLOR_DODGE * @type {number} * @const @@ -114,7 +114,7 @@ module.exports = { /** * Color Burn blend mode. For Canvas only. * Divides the inverted bottom layer by the top layer, and then inverts the result. - * + * * @name Phaser.BlendModes.COLOR_BURN * @type {number} * @const @@ -125,7 +125,7 @@ module.exports = { /** * Hard Light blend mode. For Canvas only. * A combination of multiply and screen like overlay, but with top and bottom layer swapped. - * + * * @name Phaser.BlendModes.HARD_LIGHT * @type {number} * @const @@ -136,7 +136,7 @@ module.exports = { /** * Soft Light blend mode. For Canvas only. * A softer version of hard-light. Pure black or white does not result in pure black or white. - * + * * @name Phaser.BlendModes.SOFT_LIGHT * @type {number} * @const @@ -147,7 +147,7 @@ module.exports = { /** * Difference blend mode. For Canvas only. * Subtracts the bottom layer from the top layer or the other way round to always get a positive value. - * + * * @name Phaser.BlendModes.DIFFERENCE * @type {number} * @const @@ -158,7 +158,7 @@ module.exports = { /** * Exclusion blend mode. For Canvas only. * Like difference, but with lower contrast. - * + * * @name Phaser.BlendModes.EXCLUSION * @type {number} * @const @@ -169,7 +169,7 @@ module.exports = { /** * Hue blend mode. For Canvas only. * Preserves the luma and chroma of the bottom layer, while adopting the hue of the top layer. - * + * * @name Phaser.BlendModes.HUE * @type {number} * @const @@ -180,7 +180,7 @@ module.exports = { /** * Saturation blend mode. For Canvas only. * Preserves the luma and hue of the bottom layer, while adopting the chroma of the top layer. - * + * * @name Phaser.BlendModes.SATURATION * @type {number} * @const @@ -191,7 +191,7 @@ module.exports = { /** * Color blend mode. For Canvas only. * Preserves the luma of the bottom layer, while adopting the hue and chroma of the top layer. - * + * * @name Phaser.BlendModes.COLOR * @type {number} * @const @@ -202,7 +202,7 @@ module.exports = { /** * Luminosity blend mode. For Canvas only. * Preserves the hue and chroma of the bottom layer, while adopting the luma of the top layer. - * + * * @name Phaser.BlendModes.LUMINOSITY * @type {number} * @const @@ -212,7 +212,7 @@ module.exports = { /** * Alpha erase blend mode. For Canvas and WebGL. - * + * * @name Phaser.BlendModes.ERASE * @type {number} * @const @@ -223,7 +223,7 @@ module.exports = { /** * Source-in blend mode. For Canvas only. * The new shape is drawn only where both the new shape and the destination canvas overlap. Everything else is made transparent. - * + * * @name Phaser.BlendModes.SOURCE_IN * @type {number} * @const @@ -234,7 +234,7 @@ module.exports = { /** * Source-out blend mode. For Canvas only. * The new shape is drawn where it doesn't overlap the existing canvas content. - * + * * @name Phaser.BlendModes.SOURCE_OUT * @type {number} * @const @@ -245,7 +245,7 @@ module.exports = { /** * Source-out blend mode. For Canvas only. * The new shape is only drawn where it overlaps the existing canvas content. - * + * * @name Phaser.BlendModes.SOURCE_ATOP * @type {number} * @const @@ -256,7 +256,7 @@ module.exports = { /** * Destination-over blend mode. For Canvas only. * New shapes are drawn behind the existing canvas content. - * + * * @name Phaser.BlendModes.DESTINATION_OVER * @type {number} * @const @@ -267,7 +267,7 @@ module.exports = { /** * Destination-in blend mode. For Canvas only. * The existing canvas content is kept where both the new shape and existing canvas content overlap. Everything else is made transparent. - * + * * @name Phaser.BlendModes.DESTINATION_IN * @type {number} * @const @@ -278,7 +278,7 @@ module.exports = { /** * Destination-out blend mode. For Canvas only. * The existing content is kept where it doesn't overlap the new shape. - * + * * @name Phaser.BlendModes.DESTINATION_OUT * @type {number} * @const @@ -289,7 +289,7 @@ module.exports = { /** * Destination-out blend mode. For Canvas only. * The existing canvas is only kept where it overlaps the new shape. The new shape is drawn behind the canvas content. - * + * * @name Phaser.BlendModes.DESTINATION_ATOP * @type {number} * @const @@ -300,7 +300,7 @@ module.exports = { /** * Lighten blend mode. For Canvas only. * Where both shapes overlap the color is determined by adding color values. - * + * * @name Phaser.BlendModes.LIGHTER * @type {number} * @const @@ -311,7 +311,7 @@ module.exports = { /** * Copy blend mode. For Canvas only. * Only the new shape is shown. - * + * * @name Phaser.BlendModes.COPY * @type {number} * @const @@ -322,7 +322,7 @@ module.exports = { /** * Xor blend mode. For Canvas only. * Shapes are made transparent where both overlap and drawn normal everywhere else. - * + * * @name Phaser.BlendModes.XOR * @type {number} * @const diff --git a/src/renderer/ScaleModes.js b/src/renderer/ScaleModes.js index 829757aca..c0b7b7353 100644 --- a/src/renderer/ScaleModes.js +++ b/src/renderer/ScaleModes.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Phaser Scale Modes. - * + * * @namespace Phaser.ScaleModes * @since 3.0.0 */ @@ -15,7 +15,7 @@ var ScaleModes = { /** * Default Scale Mode (Linear). - * + * * @name Phaser.ScaleModes.DEFAULT * @type {number} * @readonly @@ -25,7 +25,7 @@ var ScaleModes = { /** * Linear Scale Mode. - * + * * @name Phaser.ScaleModes.LINEAR * @type {number} * @readonly @@ -35,7 +35,7 @@ var ScaleModes = { /** * Nearest Scale Mode. - * + * * @name Phaser.ScaleModes.NEAREST * @type {number} * @readonly diff --git a/src/renderer/canvas/CanvasRenderer.js b/src/renderer/canvas/CanvasRenderer.js index 6ee717051..65f4616a4 100644 --- a/src/renderer/canvas/CanvasRenderer.js +++ b/src/renderer/canvas/CanvasRenderer.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/canvas/index.js b/src/renderer/canvas/index.js index da088d3c8..eb2e06cfe 100644 --- a/src/renderer/canvas/index.js +++ b/src/renderer/canvas/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/canvas/utils/GetBlendModes.js b/src/renderer/canvas/utils/GetBlendModes.js index 9b5830a30..ddd20e0ff 100644 --- a/src/renderer/canvas/utils/GetBlendModes.js +++ b/src/renderer/canvas/utils/GetBlendModes.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/canvas/utils/SetTransform.js b/src/renderer/canvas/utils/SetTransform.js index c48d39d4e..028f52c28 100644 --- a/src/renderer/canvas/utils/SetTransform.js +++ b/src/renderer/canvas/utils/SetTransform.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/events/POST_RENDER_EVENT.js b/src/renderer/events/POST_RENDER_EVENT.js index 218175116..7ae7b9bc5 100644 --- a/src/renderer/events/POST_RENDER_EVENT.js +++ b/src/renderer/events/POST_RENDER_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/events/PRE_RENDER_EVENT.js b/src/renderer/events/PRE_RENDER_EVENT.js index a3794408f..4190cb574 100644 --- a/src/renderer/events/PRE_RENDER_EVENT.js +++ b/src/renderer/events/PRE_RENDER_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/events/RENDER_EVENT.js b/src/renderer/events/RENDER_EVENT.js index ce34a004a..35d5ce678 100644 --- a/src/renderer/events/RENDER_EVENT.js +++ b/src/renderer/events/RENDER_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/events/RESIZE_EVENT.js b/src/renderer/events/RESIZE_EVENT.js index afa09528b..d683899c6 100644 --- a/src/renderer/events/RESIZE_EVENT.js +++ b/src/renderer/events/RESIZE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/events/index.js b/src/renderer/events/index.js index 85bf7728f..e03d0de34 100644 --- a/src/renderer/events/index.js +++ b/src/renderer/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/index.js b/src/renderer/index.js index d715c2890..7043f2656 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/snapshot/CanvasSnapshot.js b/src/renderer/snapshot/CanvasSnapshot.js index 761ad4e21..8b6f35689 100644 --- a/src/renderer/snapshot/CanvasSnapshot.js +++ b/src/renderer/snapshot/CanvasSnapshot.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/snapshot/WebGLSnapshot.js b/src/renderer/snapshot/WebGLSnapshot.js index ee51c702e..5cae8015b 100644 --- a/src/renderer/snapshot/WebGLSnapshot.js +++ b/src/renderer/snapshot/WebGLSnapshot.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/snapshot/index.js b/src/renderer/snapshot/index.js index 67299651a..0afe81708 100644 --- a/src/renderer/snapshot/index.js +++ b/src/renderer/snapshot/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/snapshot/typedefs/index.js b/src/renderer/snapshot/typedefs/index.js index 4d13c21f1..f0ba5f2c0 100644 --- a/src/renderer/snapshot/typedefs/index.js +++ b/src/renderer/snapshot/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/PipelineManager.js b/src/renderer/webgl/PipelineManager.js index 02ce97ce1..69b7fdc62 100644 --- a/src/renderer/webgl/PipelineManager.js +++ b/src/renderer/webgl/PipelineManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/RenderTarget.js b/src/renderer/webgl/RenderTarget.js index 06f6b1bf6..b4c59d8f0 100644 --- a/src/renderer/webgl/RenderTarget.js +++ b/src/renderer/webgl/RenderTarget.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/Utils.js b/src/renderer/webgl/Utils.js index eab171b1d..c0365127e 100644 --- a/src/renderer/webgl/Utils.js +++ b/src/renderer/webgl/Utils.js @@ -2,7 +2,7 @@ * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> * @author Matthew Groves <@doormat> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/WebGLPipeline.js b/src/renderer/webgl/WebGLPipeline.js index 8a87578f5..103b31cee 100644 --- a/src/renderer/webgl/WebGLPipeline.js +++ b/src/renderer/webgl/WebGLPipeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/WebGLRenderer.js b/src/renderer/webgl/WebGLRenderer.js index 7eaacf58c..857049818 100644 --- a/src/renderer/webgl/WebGLRenderer.js +++ b/src/renderer/webgl/WebGLRenderer.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/WebGLShader.js b/src/renderer/webgl/WebGLShader.js index 47d985ff4..45e6568d5 100644 --- a/src/renderer/webgl/WebGLShader.js +++ b/src/renderer/webgl/WebGLShader.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/const.js b/src/renderer/webgl/const.js index c0fb80724..babbe2be7 100644 --- a/src/renderer/webgl/const.js +++ b/src/renderer/webgl/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/index.js b/src/renderer/webgl/index.js index 46f8a989a..eaf508666 100644 --- a/src/renderer/webgl/index.js +++ b/src/renderer/webgl/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/BitmapMaskPipeline.js b/src/renderer/webgl/pipelines/BitmapMaskPipeline.js index e527fc2e0..1e70f0c2b 100644 --- a/src/renderer/webgl/pipelines/BitmapMaskPipeline.js +++ b/src/renderer/webgl/pipelines/BitmapMaskPipeline.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/GraphicsPipeline.js b/src/renderer/webgl/pipelines/GraphicsPipeline.js index c968689d9..ee866c606 100644 --- a/src/renderer/webgl/pipelines/GraphicsPipeline.js +++ b/src/renderer/webgl/pipelines/GraphicsPipeline.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/LightPipeline.js b/src/renderer/webgl/pipelines/LightPipeline.js index 7e8001ccc..9b156e559 100644 --- a/src/renderer/webgl/pipelines/LightPipeline.js +++ b/src/renderer/webgl/pipelines/LightPipeline.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/MultiPipeline.js b/src/renderer/webgl/pipelines/MultiPipeline.js index 9c1783a39..1169f47b0 100644 --- a/src/renderer/webgl/pipelines/MultiPipeline.js +++ b/src/renderer/webgl/pipelines/MultiPipeline.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Felipe Alfonso <@bitnenfer> - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/PointLightPipeline.js b/src/renderer/webgl/pipelines/PointLightPipeline.js index f739e190d..b9da59d47 100644 --- a/src/renderer/webgl/pipelines/PointLightPipeline.js +++ b/src/renderer/webgl/pipelines/PointLightPipeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/PostFXPipeline.js b/src/renderer/webgl/pipelines/PostFXPipeline.js index 72fed38cb..b15772cfb 100644 --- a/src/renderer/webgl/pipelines/PostFXPipeline.js +++ b/src/renderer/webgl/pipelines/PostFXPipeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/RopePipeline.js b/src/renderer/webgl/pipelines/RopePipeline.js index f07a4ca2d..c9f9585c5 100644 --- a/src/renderer/webgl/pipelines/RopePipeline.js +++ b/src/renderer/webgl/pipelines/RopePipeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/SinglePipeline.js b/src/renderer/webgl/pipelines/SinglePipeline.js index 9cc8f3140..95fa330ce 100644 --- a/src/renderer/webgl/pipelines/SinglePipeline.js +++ b/src/renderer/webgl/pipelines/SinglePipeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/SpriteFXPipeline.js b/src/renderer/webgl/pipelines/SpriteFXPipeline.js index 590416752..e16cac760 100644 --- a/src/renderer/webgl/pipelines/SpriteFXPipeline.js +++ b/src/renderer/webgl/pipelines/SpriteFXPipeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/UtilityPipeline.js b/src/renderer/webgl/pipelines/UtilityPipeline.js index 21d30d075..5a767ff65 100644 --- a/src/renderer/webgl/pipelines/UtilityPipeline.js +++ b/src/renderer/webgl/pipelines/UtilityPipeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/const.js b/src/renderer/webgl/pipelines/const.js index 231556edb..85e0047c3 100644 --- a/src/renderer/webgl/pipelines/const.js +++ b/src/renderer/webgl/pipelines/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/events/AFTER_FLUSH_EVENT.js b/src/renderer/webgl/pipelines/events/AFTER_FLUSH_EVENT.js index f8683d06c..f2d2f3866 100644 --- a/src/renderer/webgl/pipelines/events/AFTER_FLUSH_EVENT.js +++ b/src/renderer/webgl/pipelines/events/AFTER_FLUSH_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/events/BEFORE_FLUSH_EVENT.js b/src/renderer/webgl/pipelines/events/BEFORE_FLUSH_EVENT.js index 7ed01f01a..692dff4f2 100644 --- a/src/renderer/webgl/pipelines/events/BEFORE_FLUSH_EVENT.js +++ b/src/renderer/webgl/pipelines/events/BEFORE_FLUSH_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/events/BIND_EVENT.js b/src/renderer/webgl/pipelines/events/BIND_EVENT.js index d240f51ae..e43fb4ce8 100644 --- a/src/renderer/webgl/pipelines/events/BIND_EVENT.js +++ b/src/renderer/webgl/pipelines/events/BIND_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/events/BOOT_EVENT.js b/src/renderer/webgl/pipelines/events/BOOT_EVENT.js index 693b1915b..c701ff1d7 100644 --- a/src/renderer/webgl/pipelines/events/BOOT_EVENT.js +++ b/src/renderer/webgl/pipelines/events/BOOT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/events/DESTROY_EVENT.js b/src/renderer/webgl/pipelines/events/DESTROY_EVENT.js index 437c72fbc..e946c111b 100644 --- a/src/renderer/webgl/pipelines/events/DESTROY_EVENT.js +++ b/src/renderer/webgl/pipelines/events/DESTROY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/events/REBIND_EVENT.js b/src/renderer/webgl/pipelines/events/REBIND_EVENT.js index de54a847d..7f96d54c6 100644 --- a/src/renderer/webgl/pipelines/events/REBIND_EVENT.js +++ b/src/renderer/webgl/pipelines/events/REBIND_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/events/RESIZE_EVENT.js b/src/renderer/webgl/pipelines/events/RESIZE_EVENT.js index 2261ea9a1..eb3aee1e6 100644 --- a/src/renderer/webgl/pipelines/events/RESIZE_EVENT.js +++ b/src/renderer/webgl/pipelines/events/RESIZE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/events/index.js b/src/renderer/webgl/pipelines/events/index.js index 48431ec05..a122dafb2 100644 --- a/src/renderer/webgl/pipelines/events/index.js +++ b/src/renderer/webgl/pipelines/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/pipelines/index.js b/src/renderer/webgl/pipelines/index.js index 00c6d6d77..5c46b9fdd 100644 --- a/src/renderer/webgl/pipelines/index.js +++ b/src/renderer/webgl/pipelines/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/renderer/webgl/typedefs/index.js b/src/renderer/webgl/typedefs/index.js index edb75f907..c6f0da79f 100644 --- a/src/renderer/webgl/typedefs/index.js +++ b/src/renderer/webgl/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/ScaleManager.js b/src/scale/ScaleManager.js index fce48de4e..55b206d01 100644 --- a/src/scale/ScaleManager.js +++ b/src/scale/ScaleManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/const/CENTER_CONST.js b/src/scale/const/CENTER_CONST.js index d94f65ac5..1fcc80107 100644 --- a/src/scale/const/CENTER_CONST.js +++ b/src/scale/const/CENTER_CONST.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Phaser Scale Manager constants for centering the game canvas. - * + * * @namespace Phaser.Scale.Center * @memberof Phaser.Scale * @since 3.16.0 @@ -14,9 +14,9 @@ /** * Phaser Scale Manager constants for centering the game canvas. - * + * * To find out what each mode does please see [Phaser.Scale.Center]{@link Phaser.Scale.Center}. - * + * * @typedef {Phaser.Scale.Center} Phaser.Scale.CenterType * @memberof Phaser.Scale * @since 3.16.0 @@ -27,7 +27,7 @@ module.exports = { /** * The game canvas is not centered within the parent by Phaser. * You can still center it yourself via CSS. - * + * * @name Phaser.Scale.Center.NO_CENTER * @type {number} * @const @@ -38,10 +38,10 @@ module.exports = { /** * The game canvas is centered both horizontally and vertically within the parent. * To do this, the parent has to have a bounds that can be calculated and not be empty. - * + * * Centering is achieved by setting the margin left and top properties of the * game canvas, and does not factor in any other CSS styles you may have applied. - * + * * @name Phaser.Scale.Center.CENTER_BOTH * @type {number} * @const @@ -52,10 +52,10 @@ module.exports = { /** * The game canvas is centered horizontally within the parent. * To do this, the parent has to have a bounds that can be calculated and not be empty. - * + * * Centering is achieved by setting the margin left and top properties of the * game canvas, and does not factor in any other CSS styles you may have applied. - * + * * @name Phaser.Scale.Center.CENTER_HORIZONTALLY * @type {number} * @const @@ -66,10 +66,10 @@ module.exports = { /** * The game canvas is centered both vertically within the parent. * To do this, the parent has to have a bounds that can be calculated and not be empty. - * + * * Centering is achieved by setting the margin left and top properties of the * game canvas, and does not factor in any other CSS styles you may have applied. - * + * * @name Phaser.Scale.Center.CENTER_VERTICALLY * @type {number} * @const diff --git a/src/scale/const/ORIENTATION_CONST.js b/src/scale/const/ORIENTATION_CONST.js index a166acd02..01af046ac 100644 --- a/src/scale/const/ORIENTATION_CONST.js +++ b/src/scale/const/ORIENTATION_CONST.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Phaser Scale Manager constants for orientation. - * + * * @namespace Phaser.Scale.Orientation * @memberof Phaser.Scale * @since 3.16.0 @@ -14,9 +14,9 @@ /** * Phaser Scale Manager constants for orientation. - * + * * To find out what each mode does please see [Phaser.Scale.Orientation]{@link Phaser.Scale.Orientation}. - * + * * @typedef {Phaser.Scale.Orientation} Phaser.Scale.OrientationType * @memberof Phaser.Scale * @since 3.16.0 @@ -26,7 +26,7 @@ module.exports = { /** * A landscape orientation. - * + * * @name Phaser.Scale.Orientation.LANDSCAPE * @type {string} * @const @@ -36,7 +36,7 @@ module.exports = { /** * A portrait orientation. - * + * * @name Phaser.Scale.Orientation.PORTRAIT * @type {string} * @const diff --git a/src/scale/const/SCALE_MODE_CONST.js b/src/scale/const/SCALE_MODE_CONST.js index 1e4cb9418..e388f40bf 100644 --- a/src/scale/const/SCALE_MODE_CONST.js +++ b/src/scale/const/SCALE_MODE_CONST.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Phaser Scale Manager constants for the different scale modes available. - * + * * @namespace Phaser.Scale.ScaleModes * @memberof Phaser.Scale * @since 3.16.0 @@ -14,9 +14,9 @@ /** * Phaser Scale Manager constants for the different scale modes available. - * + * * To find out what each mode does please see [Phaser.Scale.ScaleModes]{@link Phaser.Scale.ScaleModes}. - * + * * @typedef {Phaser.Scale.ScaleModes} Phaser.Scale.ScaleModeType * @memberof Phaser.Scale * @since 3.16.0 @@ -28,7 +28,7 @@ module.exports = { * No scaling happens at all. The canvas is set to the size given in the game config and Phaser doesn't change it * again from that point on. If you change the canvas size, either via CSS, or directly via code, then you need * to call the Scale Managers `resize` method to give the new dimensions, or input events will stop working. - * + * * @name Phaser.Scale.ScaleModes.NONE * @type {number} * @const @@ -38,7 +38,7 @@ module.exports = { /** * The height is automatically adjusted based on the width. - * + * * @name Phaser.Scale.ScaleModes.WIDTH_CONTROLS_HEIGHT * @type {number} * @const @@ -48,7 +48,7 @@ module.exports = { /** * The width is automatically adjusted based on the height. - * + * * @name Phaser.Scale.ScaleModes.HEIGHT_CONTROLS_WIDTH * @type {number} * @const @@ -60,7 +60,7 @@ module.exports = { * The width and height are automatically adjusted to fit inside the given target area, * while keeping the aspect ratio. Depending on the aspect ratio there may be some space * inside the area which is not covered. - * + * * @name Phaser.Scale.ScaleModes.FIT * @type {number} * @const @@ -71,7 +71,7 @@ module.exports = { /** * The width and height are automatically adjusted to make the size cover the entire target * area while keeping the aspect ratio. This may extend further out than the target size. - * + * * @name Phaser.Scale.ScaleModes.ENVELOP * @type {number} * @const @@ -81,7 +81,7 @@ module.exports = { /** * The Canvas is resized to fit all available _parent_ space, regardless of aspect ratio. - * + * * @name Phaser.Scale.ScaleModes.RESIZE * @type {number} * @const diff --git a/src/scale/const/ZOOM_CONST.js b/src/scale/const/ZOOM_CONST.js index 4dffa7b82..b61561d8e 100644 --- a/src/scale/const/ZOOM_CONST.js +++ b/src/scale/const/ZOOM_CONST.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Phaser Scale Manager constants for zoom modes. - * + * * @namespace Phaser.Scale.Zoom * @memberof Phaser.Scale * @since 3.16.0 @@ -14,9 +14,9 @@ /** * Phaser Scale Manager constants for zoom modes. - * + * * To find out what each mode does please see [Phaser.Scale.Zoom]{@link Phaser.Scale.Zoom}. - * + * * @typedef {Phaser.Scale.Zoom} Phaser.Scale.ZoomType * @memberof Phaser.Scale * @since 3.16.0 @@ -26,7 +26,7 @@ module.exports = { /** * The game canvas will not be zoomed by Phaser. - * + * * @name Phaser.Scale.Zoom.NO_ZOOM * @type {number} * @const @@ -36,7 +36,7 @@ module.exports = { /** * The game canvas will be 2x zoomed by Phaser. - * + * * @name Phaser.Scale.Zoom.ZOOM_2X * @type {number} * @const @@ -46,7 +46,7 @@ module.exports = { /** * The game canvas will be 4x zoomed by Phaser. - * + * * @name Phaser.Scale.Zoom.ZOOM_4X * @type {number} * @const @@ -57,7 +57,7 @@ module.exports = { /** * Calculate the zoom value based on the maximum multiplied game size that will * fit into the parent, or browser window if no parent is set. - * + * * @name Phaser.Scale.Zoom.MAX_ZOOM * @type {number} * @const diff --git a/src/scale/const/index.js b/src/scale/const/index.js index 4513124cb..659265960 100644 --- a/src/scale/const/index.js +++ b/src/scale/const/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/events/ENTER_FULLSCREEN_EVENT.js b/src/scale/events/ENTER_FULLSCREEN_EVENT.js index b0762a88a..c4a740537 100644 --- a/src/scale/events/ENTER_FULLSCREEN_EVENT.js +++ b/src/scale/events/ENTER_FULLSCREEN_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/events/FULLSCREEN_FAILED_EVENT.js b/src/scale/events/FULLSCREEN_FAILED_EVENT.js index aea4c6072..fa796d305 100644 --- a/src/scale/events/FULLSCREEN_FAILED_EVENT.js +++ b/src/scale/events/FULLSCREEN_FAILED_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/events/FULLSCREEN_UNSUPPORTED_EVENT.js b/src/scale/events/FULLSCREEN_UNSUPPORTED_EVENT.js index 195eb4c64..f8bd835f5 100644 --- a/src/scale/events/FULLSCREEN_UNSUPPORTED_EVENT.js +++ b/src/scale/events/FULLSCREEN_UNSUPPORTED_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/events/LEAVE_FULLSCREEN_EVENT.js b/src/scale/events/LEAVE_FULLSCREEN_EVENT.js index e2bac6560..f40bbc0a8 100644 --- a/src/scale/events/LEAVE_FULLSCREEN_EVENT.js +++ b/src/scale/events/LEAVE_FULLSCREEN_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/events/ORIENTATION_CHANGE_EVENT.js b/src/scale/events/ORIENTATION_CHANGE_EVENT.js index 8b309bbac..b1d87587d 100644 --- a/src/scale/events/ORIENTATION_CHANGE_EVENT.js +++ b/src/scale/events/ORIENTATION_CHANGE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/events/RESIZE_EVENT.js b/src/scale/events/RESIZE_EVENT.js index c9f8818dc..34801f020 100644 --- a/src/scale/events/RESIZE_EVENT.js +++ b/src/scale/events/RESIZE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/events/index.js b/src/scale/events/index.js index b6e206074..f3199cb9d 100644 --- a/src/scale/events/index.js +++ b/src/scale/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scale/index.js b/src/scale/index.js index 5455feb2e..0c0104edd 100644 --- a/src/scale/index.js +++ b/src/scale/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,22 +9,22 @@ var CONST = require('./const'); /** * @namespace Phaser.Scale - * + * * @borrows Phaser.Scale.Center.NO_CENTER as NO_CENTER * @borrows Phaser.Scale.Center.CENTER_BOTH as CENTER_BOTH * @borrows Phaser.Scale.Center.CENTER_HORIZONTALLY as CENTER_HORIZONTALLY * @borrows Phaser.Scale.Center.CENTER_VERTICALLY as CENTER_VERTICALLY - * + * * @borrows Phaser.Scale.Orientation.LANDSCAPE as LANDSCAPE * @borrows Phaser.Scale.Orientation.PORTRAIT as PORTRAIT - * + * * @borrows Phaser.Scale.ScaleModes.NONE as NONE * @borrows Phaser.Scale.ScaleModes.WIDTH_CONTROLS_HEIGHT as WIDTH_CONTROLS_HEIGHT * @borrows Phaser.Scale.ScaleModes.HEIGHT_CONTROLS_WIDTH as HEIGHT_CONTROLS_WIDTH * @borrows Phaser.Scale.ScaleModes.FIT as FIT * @borrows Phaser.Scale.ScaleModes.ENVELOP as ENVELOP * @borrows Phaser.Scale.ScaleModes.RESIZE as RESIZE - * + * * @borrows Phaser.Scale.Zoom.NO_ZOOM as NO_ZOOM * @borrows Phaser.Scale.Zoom.ZOOM_2X as ZOOM_2X * @borrows Phaser.Scale.Zoom.ZOOM_4X as ZOOM_4X diff --git a/src/scene/GetPhysicsPlugins.js b/src/scene/GetPhysicsPlugins.js index d12aca86c..5e792af77 100644 --- a/src/scene/GetPhysicsPlugins.js +++ b/src/scene/GetPhysicsPlugins.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/GetScenePlugins.js b/src/scene/GetScenePlugins.js index d3b3fd16b..5a2bcac6c 100644 --- a/src/scene/GetScenePlugins.js +++ b/src/scene/GetScenePlugins.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/InjectionMap.js b/src/scene/InjectionMap.js index c36d6f273..2c2ced1b0 100644 --- a/src/scene/InjectionMap.js +++ b/src/scene/InjectionMap.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/Scene.js b/src/scene/Scene.js index 6820a8de5..0a35b13a8 100644 --- a/src/scene/Scene.js +++ b/src/scene/Scene.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/SceneManager.js b/src/scene/SceneManager.js index f3799c9bc..656a268ab 100644 --- a/src/scene/SceneManager.js +++ b/src/scene/SceneManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -1125,7 +1125,9 @@ var SceneManager = new Class({ }, /** - * Starts the given Scene. + * Starts the given Scene, if it is not starting, loading, or creating. + * + * If the Scene is running, paused, or sleeping, it will be shutdown and then started. * * @method Phaser.Scenes.SceneManager#start * @since 3.0.0 @@ -1157,10 +1159,18 @@ var SceneManager = new Class({ } var sys = scene.sys; + var status = sys.settings.status; - // If the Scene is already running (perhaps they called start from a launched sub-Scene?) - // then we close it down before starting it again. - if (sys.isActive() || sys.isPaused()) + // If the scene is already started but not yet running, + // let it continue. + if (status >= CONST.START && status <= CONST.CREATING) + { + return this; + } + + // If the Scene is already running, paused, or sleeping, + // close it down before starting it again. + else if (status >= CONST.RUNNING && status <= CONST.SLEEPING) { sys.shutdown(); @@ -1168,6 +1178,9 @@ var SceneManager = new Class({ sys.start(data); } + + // If the Scene is INIT or SHUTDOWN, + // start it directly. else { sys.sceneUpdate = NOOP; @@ -1221,6 +1234,11 @@ var SceneManager = new Class({ if (scene && !scene.sys.isTransitioning() && scene.sys.settings.status !== CONST.SHUTDOWN) { + var loader = scene.sys.load; + + loader.off(LoaderEvents.COMPLETE, this.loadComplete, this); + loader.off(LoaderEvents.COMPLETE, this.payloadComplete, this); + scene.sys.shutdown(data); } diff --git a/src/scene/ScenePlugin.js b/src/scene/ScenePlugin.js index 045d31e3a..3c3afb911 100644 --- a/src/scene/ScenePlugin.js +++ b/src/scene/ScenePlugin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/Settings.js b/src/scene/Settings.js index d53e866d1..70c5ef127 100644 --- a/src/scene/Settings.js +++ b/src/scene/Settings.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/Systems.js b/src/scene/Systems.js index 404bcec9f..2202b9596 100644 --- a/src/scene/Systems.js +++ b/src/scene/Systems.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/const.js b/src/scene/const.js index 265e776bc..f87305dd9 100644 --- a/src/scene/const.js +++ b/src/scene/const.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Scene consts. - * + * * @ignore */ @@ -14,7 +14,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.PENDING * @readonly * @type {number} @@ -24,7 +24,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.INIT * @readonly * @type {number} @@ -34,7 +34,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.START * @readonly * @type {number} @@ -44,7 +44,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.LOADING * @readonly * @type {number} @@ -54,7 +54,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.CREATING * @readonly * @type {number} @@ -64,7 +64,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.RUNNING * @readonly * @type {number} @@ -74,7 +74,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.PAUSED * @readonly * @type {number} @@ -84,7 +84,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.SLEEPING * @readonly * @type {number} @@ -94,7 +94,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.SHUTDOWN * @readonly * @type {number} @@ -104,7 +104,7 @@ var CONST = { /** * Scene state. - * + * * @name Phaser.Scenes.DESTROYED * @readonly * @type {number} diff --git a/src/scene/events/ADDED_TO_SCENE_EVENT.js b/src/scene/events/ADDED_TO_SCENE_EVENT.js index 438caf271..af68bb02b 100644 --- a/src/scene/events/ADDED_TO_SCENE_EVENT.js +++ b/src/scene/events/ADDED_TO_SCENE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/BOOT_EVENT.js b/src/scene/events/BOOT_EVENT.js index d0798ae59..16ea7f51d 100644 --- a/src/scene/events/BOOT_EVENT.js +++ b/src/scene/events/BOOT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/CREATE_EVENT.js b/src/scene/events/CREATE_EVENT.js index b0f653544..d996b182a 100644 --- a/src/scene/events/CREATE_EVENT.js +++ b/src/scene/events/CREATE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/DESTROY_EVENT.js b/src/scene/events/DESTROY_EVENT.js index 386a2d6a9..b78983eb1 100644 --- a/src/scene/events/DESTROY_EVENT.js +++ b/src/scene/events/DESTROY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/PAUSE_EVENT.js b/src/scene/events/PAUSE_EVENT.js index c39c68af9..5174f5e29 100644 --- a/src/scene/events/PAUSE_EVENT.js +++ b/src/scene/events/PAUSE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/POST_UPDATE_EVENT.js b/src/scene/events/POST_UPDATE_EVENT.js index 029368571..7dc80f771 100644 --- a/src/scene/events/POST_UPDATE_EVENT.js +++ b/src/scene/events/POST_UPDATE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/PRE_UPDATE_EVENT.js b/src/scene/events/PRE_UPDATE_EVENT.js index 7362aca8a..ef6fd3243 100644 --- a/src/scene/events/PRE_UPDATE_EVENT.js +++ b/src/scene/events/PRE_UPDATE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/READY_EVENT.js b/src/scene/events/READY_EVENT.js index 27ae19aa3..8324f8b2c 100644 --- a/src/scene/events/READY_EVENT.js +++ b/src/scene/events/READY_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/REMOVED_FROM_SCENE_EVENT.js b/src/scene/events/REMOVED_FROM_SCENE_EVENT.js index 9db4f10f5..6923b831e 100644 --- a/src/scene/events/REMOVED_FROM_SCENE_EVENT.js +++ b/src/scene/events/REMOVED_FROM_SCENE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/RENDER_EVENT.js b/src/scene/events/RENDER_EVENT.js index 3cd95a1b1..bbe4f0fdc 100644 --- a/src/scene/events/RENDER_EVENT.js +++ b/src/scene/events/RENDER_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/RESUME_EVENT.js b/src/scene/events/RESUME_EVENT.js index e66050ef7..ed4f634ad 100644 --- a/src/scene/events/RESUME_EVENT.js +++ b/src/scene/events/RESUME_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/SHUTDOWN_EVENT.js b/src/scene/events/SHUTDOWN_EVENT.js index 0fe1b7f83..3fdb8deb8 100644 --- a/src/scene/events/SHUTDOWN_EVENT.js +++ b/src/scene/events/SHUTDOWN_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/SLEEP_EVENT.js b/src/scene/events/SLEEP_EVENT.js index ba5bbce0d..d0bbbe536 100644 --- a/src/scene/events/SLEEP_EVENT.js +++ b/src/scene/events/SLEEP_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/START_EVENT.js b/src/scene/events/START_EVENT.js index 76135c281..7ff081666 100644 --- a/src/scene/events/START_EVENT.js +++ b/src/scene/events/START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/TRANSITION_COMPLETE_EVENT.js b/src/scene/events/TRANSITION_COMPLETE_EVENT.js index a81a99e6d..b4ca3363f 100644 --- a/src/scene/events/TRANSITION_COMPLETE_EVENT.js +++ b/src/scene/events/TRANSITION_COMPLETE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/TRANSITION_INIT_EVENT.js b/src/scene/events/TRANSITION_INIT_EVENT.js index 84188e71f..9ebdcbc48 100644 --- a/src/scene/events/TRANSITION_INIT_EVENT.js +++ b/src/scene/events/TRANSITION_INIT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/TRANSITION_OUT_EVENT.js b/src/scene/events/TRANSITION_OUT_EVENT.js index 59b4b3d60..8a64c07c2 100644 --- a/src/scene/events/TRANSITION_OUT_EVENT.js +++ b/src/scene/events/TRANSITION_OUT_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/TRANSITION_START_EVENT.js b/src/scene/events/TRANSITION_START_EVENT.js index ebe1f5beb..493d92c54 100644 --- a/src/scene/events/TRANSITION_START_EVENT.js +++ b/src/scene/events/TRANSITION_START_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/TRANSITION_WAKE_EVENT.js b/src/scene/events/TRANSITION_WAKE_EVENT.js index 9aefd17e1..c041b44be 100644 --- a/src/scene/events/TRANSITION_WAKE_EVENT.js +++ b/src/scene/events/TRANSITION_WAKE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/UPDATE_EVENT.js b/src/scene/events/UPDATE_EVENT.js index da36ffae6..bc4261761 100644 --- a/src/scene/events/UPDATE_EVENT.js +++ b/src/scene/events/UPDATE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/WAKE_EVENT.js b/src/scene/events/WAKE_EVENT.js index 981fa79a3..a3ef7ce97 100644 --- a/src/scene/events/WAKE_EVENT.js +++ b/src/scene/events/WAKE_EVENT.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/events/index.js b/src/scene/events/index.js index 0f791e635..8265ae367 100644 --- a/src/scene/events/index.js +++ b/src/scene/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/index.js b/src/scene/index.js index d92ec5951..350b12af1 100644 --- a/src/scene/index.js +++ b/src/scene/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/scene/typedefs/index.js b/src/scene/typedefs/index.js index 52fa2e234..1cb39d53e 100644 --- a/src/scene/typedefs/index.js +++ b/src/scene/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/BaseSound.js b/src/sound/BaseSound.js index 11f521e28..b5670f83d 100644 --- a/src/sound/BaseSound.js +++ b/src/sound/BaseSound.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/BaseSoundManager.js b/src/sound/BaseSoundManager.js index 90fc0a688..5ab5b3211 100644 --- a/src/sound/BaseSoundManager.js +++ b/src/sound/BaseSoundManager.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/SoundManagerCreator.js b/src/sound/SoundManagerCreator.js index fc69d3a42..e489e6357 100644 --- a/src/sound/SoundManagerCreator.js +++ b/src/sound/SoundManagerCreator.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/events/COMPLETE_EVENT.js b/src/sound/events/COMPLETE_EVENT.js index c2c54b494..22cd2ff3c 100644 --- a/src/sound/events/COMPLETE_EVENT.js +++ b/src/sound/events/COMPLETE_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Complete Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they complete playback. - * + * * Listen to it from a Sound instance using `Sound.on('complete', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('complete', listener); @@ -19,7 +19,7 @@ * * @event Phaser.Sound.Events#COMPLETE * @since 3.16.1 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. */ module.exports = 'complete'; diff --git a/src/sound/events/DECODED_ALL_EVENT.js b/src/sound/events/DECODED_ALL_EVENT.js index bfef313f8..d10a2f135 100644 --- a/src/sound/events/DECODED_ALL_EVENT.js +++ b/src/sound/events/DECODED_ALL_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Audio Data Decoded All Event. - * + * * This event is dispatched by the Web Audio Sound Manager as a result of calling the `decodeAudio` method, * once all files passed to the method have been decoded (or errored). - * + * * Use `Phaser.Sound.Events#DECODED` to listen for single sounds being decoded, and `DECODED_ALL` to * listen for them all completing. - * + * * Listen to it from the Sound Manager in a Scene using `this.sound.on('decodedall', listener)`, i.e.: - * + * * ```javascript * this.sound.once('decodedall', handler); * this.sound.decodeAudio([ audioFiles ]); diff --git a/src/sound/events/DECODED_EVENT.js b/src/sound/events/DECODED_EVENT.js index abb3ed56e..e0997f6ac 100644 --- a/src/sound/events/DECODED_EVENT.js +++ b/src/sound/events/DECODED_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Audio Data Decoded Event. - * + * * This event is dispatched by the Web Audio Sound Manager as a result of calling the `decodeAudio` method. - * + * * Listen to it from the Sound Manager in a Scene using `this.sound.on('decoded', listener)`, i.e.: - * + * * ```javascript * this.sound.on('decoded', handler); * this.sound.decodeAudio(key, audioData); @@ -18,7 +18,7 @@ * * @event Phaser.Sound.Events#DECODED * @since 3.18.0 - * + * * @param {string} key - The key of the audio file that was decoded and added to the audio cache. */ module.exports = 'decoded'; diff --git a/src/sound/events/DESTROY_EVENT.js b/src/sound/events/DESTROY_EVENT.js index 2ddc5b513..12d55da0b 100644 --- a/src/sound/events/DESTROY_EVENT.js +++ b/src/sound/events/DESTROY_EVENT.js @@ -1,17 +1,17 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Destroy Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are destroyed, either * directly or via a Sound Manager. - * + * * Listen to it from a Sound instance using `Sound.on('destroy', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('destroy', listener); @@ -20,7 +20,7 @@ * * @event Phaser.Sound.Events#DESTROY * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. */ module.exports = 'destroy'; diff --git a/src/sound/events/DETUNE_EVENT.js b/src/sound/events/DETUNE_EVENT.js index aac3b4076..5f8e285ed 100644 --- a/src/sound/events/DETUNE_EVENT.js +++ b/src/sound/events/DETUNE_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Detune Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their detune value changes. - * + * * Listen to it from a Sound instance using `Sound.on('detune', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('detune', listener); @@ -20,7 +20,7 @@ * * @event Phaser.Sound.Events#DETUNE * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. * @param {number} detune - The new detune value of the Sound. */ diff --git a/src/sound/events/GLOBAL_DETUNE_EVENT.js b/src/sound/events/GLOBAL_DETUNE_EVENT.js index c8d09861a..ae72e332c 100644 --- a/src/sound/events/GLOBAL_DETUNE_EVENT.js +++ b/src/sound/events/GLOBAL_DETUNE_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Global Detune Event. - * + * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, * or the HTML5 Audio Manager. It is dispatched when the `detune` property of the Sound Manager is changed, which globally * adjusts the detuning of all active sounds. - * + * * Listen to it from a Scene using: `this.sound.on('rate', listener)`. * * @event Phaser.Sound.Events#GLOBAL_DETUNE * @since 3.0.0 - * + * * @param {Phaser.Sound.BaseSoundManager} soundManager - A reference to the sound manager that emitted the event. * @param {number} detune - The updated detune value. */ diff --git a/src/sound/events/GLOBAL_MUTE_EVENT.js b/src/sound/events/GLOBAL_MUTE_EVENT.js index 7b9164e69..eb30cff5f 100644 --- a/src/sound/events/GLOBAL_MUTE_EVENT.js +++ b/src/sound/events/GLOBAL_MUTE_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Global Mute Event. - * + * * This event is dispatched by the Sound Manager when its `mute` property is changed, either directly * or via the `setMute` method. This changes the mute state of all active sounds. - * + * * Listen to it from a Scene using: `this.sound.on('mute', listener)`. * * @event Phaser.Sound.Events#GLOBAL_MUTE * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSoundManager|Phaser.Sound.HTML5AudioSoundManager)} soundManager - A reference to the Sound Manager that emitted the event. * @param {boolean} mute - The mute value. `true` if the Sound Manager is now muted, otherwise `false`. */ diff --git a/src/sound/events/GLOBAL_RATE_EVENT.js b/src/sound/events/GLOBAL_RATE_EVENT.js index 5a43b2364..ad6092cf3 100644 --- a/src/sound/events/GLOBAL_RATE_EVENT.js +++ b/src/sound/events/GLOBAL_RATE_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Global Rate Event. - * + * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, * or the HTML5 Audio Manager. It is dispatched when the `rate` property of the Sound Manager is changed, which globally * adjusts the playback rate of all active sounds. - * + * * Listen to it from a Scene using: `this.sound.on('rate', listener)`. * * @event Phaser.Sound.Events#GLOBAL_RATE * @since 3.0.0 - * + * * @param {Phaser.Sound.BaseSoundManager} soundManager - A reference to the sound manager that emitted the event. * @param {number} rate - The updated rate value. */ diff --git a/src/sound/events/GLOBAL_VOLUME_EVENT.js b/src/sound/events/GLOBAL_VOLUME_EVENT.js index ec86a707b..fe79bd13b 100644 --- a/src/sound/events/GLOBAL_VOLUME_EVENT.js +++ b/src/sound/events/GLOBAL_VOLUME_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Global Volume Event. - * + * * This event is dispatched by the Sound Manager when its `volume` property is changed, either directly * or via the `setVolume` method. This changes the volume of all active sounds. - * + * * Listen to it from a Scene using: `this.sound.on('volume', listener)`. * * @event Phaser.Sound.Events#GLOBAL_VOLUME * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSoundManager|Phaser.Sound.HTML5AudioSoundManager)} soundManager - A reference to the sound manager that emitted the event. * @param {number} volume - The new global volume of the Sound Manager. */ diff --git a/src/sound/events/LOOPED_EVENT.js b/src/sound/events/LOOPED_EVENT.js index 337b927e6..dbf1f2966 100644 --- a/src/sound/events/LOOPED_EVENT.js +++ b/src/sound/events/LOOPED_EVENT.js @@ -1,28 +1,28 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Looped Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they loop during playback. - * + * * Listen to it from a Sound instance using `Sound.on('looped', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('looped', listener); * music.setLoop(true); * music.play(); * ``` - * + * * This is not to be confused with the [LOOP]{@linkcode Phaser.Sound.Events#event:LOOP} event, which only emits when the loop state of a Sound is changed. * * @event Phaser.Sound.Events#LOOPED * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. */ module.exports = 'looped'; diff --git a/src/sound/events/LOOP_EVENT.js b/src/sound/events/LOOP_EVENT.js index fa2e375b0..084b10772 100644 --- a/src/sound/events/LOOP_EVENT.js +++ b/src/sound/events/LOOP_EVENT.js @@ -1,27 +1,27 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Loop Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their loop state is changed. - * + * * Listen to it from a Sound instance using `Sound.on('loop', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('loop', listener); * music.setLoop(true); * ``` - * + * * This is not to be confused with the [LOOPED]{@linkcode Phaser.Sound.Events#event:LOOPED} event, which emits each time a Sound loops during playback. * * @event Phaser.Sound.Events#LOOP * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. * @param {boolean} loop - The new loop value. `true` if the Sound will loop, otherwise `false`. */ diff --git a/src/sound/events/MUTE_EVENT.js b/src/sound/events/MUTE_EVENT.js index f0589c514..b86f8cef3 100644 --- a/src/sound/events/MUTE_EVENT.js +++ b/src/sound/events/MUTE_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Mute Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their mute state changes. - * + * * Listen to it from a Sound instance using `Sound.on('mute', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('mute', listener); @@ -20,7 +20,7 @@ * * @event Phaser.Sound.Events#MUTE * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. * @param {boolean} mute - The mute value. `true` if the Sound is now muted, otherwise `false`. */ diff --git a/src/sound/events/PAN_EVENT.js b/src/sound/events/PAN_EVENT.js index 5d0949266..c66b27066 100644 --- a/src/sound/events/PAN_EVENT.js +++ b/src/sound/events/PAN_EVENT.js @@ -1,6 +1,6 @@ /** * @author pi-kei - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/events/PAUSE_ALL_EVENT.js b/src/sound/events/PAUSE_ALL_EVENT.js index 7f406978f..230a47fac 100644 --- a/src/sound/events/PAUSE_ALL_EVENT.js +++ b/src/sound/events/PAUSE_ALL_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pause All Sounds Event. - * + * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, * or the HTML5 Audio Manager. It is dispatched when the `pauseAll` method is invoked and after all current Sounds * have been paused. - * + * * Listen to it from a Scene using: `this.sound.on('pauseall', listener)`. * * @event Phaser.Sound.Events#PAUSE_ALL * @since 3.0.0 - * + * * @param {Phaser.Sound.BaseSoundManager} soundManager - A reference to the sound manager that emitted the event. */ module.exports = 'pauseall'; diff --git a/src/sound/events/PAUSE_EVENT.js b/src/sound/events/PAUSE_EVENT.js index 9f5b9ad26..b44c34f19 100644 --- a/src/sound/events/PAUSE_EVENT.js +++ b/src/sound/events/PAUSE_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Pause Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are paused. - * + * * Listen to it from a Sound instance using `Sound.on('pause', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('pause', listener); @@ -20,7 +20,7 @@ * * @event Phaser.Sound.Events#PAUSE * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. */ module.exports = 'pause'; diff --git a/src/sound/events/PLAY_EVENT.js b/src/sound/events/PLAY_EVENT.js index 0dfe868ba..c9d20ceaf 100644 --- a/src/sound/events/PLAY_EVENT.js +++ b/src/sound/events/PLAY_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Play Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are played. - * + * * Listen to it from a Sound instance using `Sound.on('play', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('play', listener); @@ -19,7 +19,7 @@ * * @event Phaser.Sound.Events#PLAY * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. */ module.exports = 'play'; diff --git a/src/sound/events/RATE_EVENT.js b/src/sound/events/RATE_EVENT.js index d15e0b150..551b8779d 100644 --- a/src/sound/events/RATE_EVENT.js +++ b/src/sound/events/RATE_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Rate Change Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their rate changes. - * + * * Listen to it from a Sound instance using `Sound.on('rate', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('rate', listener); @@ -20,7 +20,7 @@ * * @event Phaser.Sound.Events#RATE * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. * @param {number} rate - The new rate of the Sound. */ diff --git a/src/sound/events/RESUME_ALL_EVENT.js b/src/sound/events/RESUME_ALL_EVENT.js index a2d36cdc8..7ff3fb6c8 100644 --- a/src/sound/events/RESUME_ALL_EVENT.js +++ b/src/sound/events/RESUME_ALL_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Resume All Sounds Event. - * + * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, * or the HTML5 Audio Manager. It is dispatched when the `resumeAll` method is invoked and after all current Sounds * have been resumed. - * + * * Listen to it from a Scene using: `this.sound.on('resumeall', listener)`. * * @event Phaser.Sound.Events#RESUME_ALL * @since 3.0.0 - * + * * @param {Phaser.Sound.BaseSoundManager} soundManager - A reference to the sound manager that emitted the event. */ module.exports = 'resumeall'; diff --git a/src/sound/events/RESUME_EVENT.js b/src/sound/events/RESUME_EVENT.js index 5fa1aad40..47f147c6e 100644 --- a/src/sound/events/RESUME_EVENT.js +++ b/src/sound/events/RESUME_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Resume Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are resumed from a paused state. - * + * * Listen to it from a Sound instance using `Sound.on('resume', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('resume', listener); @@ -21,7 +21,7 @@ * * @event Phaser.Sound.Events#RESUME * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. */ module.exports = 'resume'; diff --git a/src/sound/events/SEEK_EVENT.js b/src/sound/events/SEEK_EVENT.js index 2fe9164d2..e1582494c 100644 --- a/src/sound/events/SEEK_EVENT.js +++ b/src/sound/events/SEEK_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Seek Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are seeked to a new position. - * + * * Listen to it from a Sound instance using `Sound.on('seek', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('seek', listener); @@ -20,7 +20,7 @@ * * @event Phaser.Sound.Events#SEEK * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. * @param {number} detune - The new detune value of the Sound. */ diff --git a/src/sound/events/STOP_ALL_EVENT.js b/src/sound/events/STOP_ALL_EVENT.js index b69d0c9f4..e16ffec27 100644 --- a/src/sound/events/STOP_ALL_EVENT.js +++ b/src/sound/events/STOP_ALL_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Stop All Sounds Event. - * + * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, * or the HTML5 Audio Manager. It is dispatched when the `stopAll` method is invoked and after all current Sounds * have been stopped. - * + * * Listen to it from a Scene using: `this.sound.on('stopall', listener)`. * * @event Phaser.Sound.Events#STOP_ALL * @since 3.0.0 - * + * * @param {Phaser.Sound.BaseSoundManager} soundManager - A reference to the sound manager that emitted the event. */ module.exports = 'stopall'; diff --git a/src/sound/events/STOP_EVENT.js b/src/sound/events/STOP_EVENT.js index dcebca4c8..16dfdc73a 100644 --- a/src/sound/events/STOP_EVENT.js +++ b/src/sound/events/STOP_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Stop Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when they are stopped. - * + * * Listen to it from a Sound instance using `Sound.on('stop', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('stop', listener); @@ -20,7 +20,7 @@ * * @event Phaser.Sound.Events#STOP * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. */ module.exports = 'stop'; diff --git a/src/sound/events/UNLOCKED_EVENT.js b/src/sound/events/UNLOCKED_EVENT.js index 889267748..4194dd82f 100644 --- a/src/sound/events/UNLOCKED_EVENT.js +++ b/src/sound/events/UNLOCKED_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Manager Unlocked Event. - * + * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, * or the HTML5 Audio Manager. It is dispatched during the update loop when the Sound Manager becomes unlocked. For * Web Audio this is on the first user gesture on the page. - * + * * Listen to it from a Scene using: `this.sound.on('unlocked', listener)`. * * @event Phaser.Sound.Events#UNLOCKED * @since 3.0.0 - * + * * @param {Phaser.Sound.BaseSoundManager} soundManager - A reference to the sound manager that emitted the event. */ module.exports = 'unlocked'; diff --git a/src/sound/events/VOLUME_EVENT.js b/src/sound/events/VOLUME_EVENT.js index 8e5e4c92f..60c9fe0d3 100644 --- a/src/sound/events/VOLUME_EVENT.js +++ b/src/sound/events/VOLUME_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Sound Volume Event. - * + * * This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their volume changes. - * + * * Listen to it from a Sound instance using `Sound.on('volume', listener)`, i.e.: - * + * * ```javascript * var music = this.sound.add('key'); * music.on('volume', listener); @@ -20,7 +20,7 @@ * * @event Phaser.Sound.Events#VOLUME * @since 3.0.0 - * + * * @param {(Phaser.Sound.WebAudioSound|Phaser.Sound.HTML5AudioSound)} sound - A reference to the Sound that emitted the event. * @param {number} volume - The new volume of the Sound. */ diff --git a/src/sound/events/index.js b/src/sound/events/index.js index 93e20a243..40ae86adc 100644 --- a/src/sound/events/index.js +++ b/src/sound/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/html5/HTML5AudioSound.js b/src/sound/html5/HTML5AudioSound.js index 8b4e3ed11..dba483e5c 100644 --- a/src/sound/html5/HTML5AudioSound.js +++ b/src/sound/html5/HTML5AudioSound.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/html5/HTML5AudioSoundManager.js b/src/sound/html5/HTML5AudioSoundManager.js index 5d44a251b..deb853c5f 100644 --- a/src/sound/html5/HTML5AudioSoundManager.js +++ b/src/sound/html5/HTML5AudioSoundManager.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/index.js b/src/sound/index.js index 888bf7b7b..57cb98cec 100644 --- a/src/sound/index.js +++ b/src/sound/index.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/noaudio/NoAudioSound.js b/src/sound/noaudio/NoAudioSound.js index 603f55bd1..550ff2cab 100644 --- a/src/sound/noaudio/NoAudioSound.js +++ b/src/sound/noaudio/NoAudioSound.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/noaudio/NoAudioSoundManager.js b/src/sound/noaudio/NoAudioSoundManager.js index e2cb7e061..b36512b77 100644 --- a/src/sound/noaudio/NoAudioSoundManager.js +++ b/src/sound/noaudio/NoAudioSoundManager.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/typedefs/index.js b/src/sound/typedefs/index.js index f8fa08519..4904609e1 100644 --- a/src/sound/typedefs/index.js +++ b/src/sound/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/webaudio/WebAudioSound.js b/src/sound/webaudio/WebAudioSound.js index 5330d98ca..24f23ba10 100644 --- a/src/sound/webaudio/WebAudioSound.js +++ b/src/sound/webaudio/WebAudioSound.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/sound/webaudio/WebAudioSoundManager.js b/src/sound/webaudio/WebAudioSoundManager.js index 8679b7883..d04cc926b 100644 --- a/src/sound/webaudio/WebAudioSoundManager.js +++ b/src/sound/webaudio/WebAudioSoundManager.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Pavle Goloskokovic (http://prunegames.com) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/structs/List.js b/src/structs/List.js index 225e6e992..8219a3eda 100644 --- a/src/structs/List.js +++ b/src/structs/List.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/structs/Map.js b/src/structs/Map.js index 3589fbe9c..57b823053 100644 --- a/src/structs/Map.js +++ b/src/structs/Map.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/structs/ProcessQueue.js b/src/structs/ProcessQueue.js index 0a14d14aa..eefd752c7 100644 --- a/src/structs/ProcessQueue.js +++ b/src/structs/ProcessQueue.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/structs/RTree.js b/src/structs/RTree.js index 01bb5be09..64e7ed974 100644 --- a/src/structs/RTree.js +++ b/src/structs/RTree.js @@ -1,7 +1,7 @@ /** * @author Vladimir Agafonkin * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -17,7 +17,7 @@ var quickselect = require('../utils/array/QuickSelect'); * * This version of RBush uses a fixed min/max accessor structure of `[ '.left', '.top', '.right', '.bottom' ]`. * This is to avoid the eval like function creation that the original library used, which caused CSP policy violations. - * + * * rbush is forked from https://github.com/mourner/rbush by Vladimir Agafonkin * * @class RTree @@ -603,4 +603,4 @@ function multiSelect (arr, left, right, n, compare) } } -module.exports = rbush; \ No newline at end of file +module.exports = rbush; diff --git a/src/structs/Set.js b/src/structs/Set.js index 39d7b1b12..86c0f8297 100644 --- a/src/structs/Set.js +++ b/src/structs/Set.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/structs/Size.js b/src/structs/Size.js index e5b8c276e..418afee11 100644 --- a/src/structs/Size.js +++ b/src/structs/Size.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -12,7 +12,7 @@ var Vector2 = require('../math/Vector2'); /** * @classdesc * The Size component allows you to set `width` and `height` properties and define the relationship between them. - * + * * The component can automatically maintain the aspect ratios between the two values, and clamp them * to a defined min-max range. You can also control the dominant axis. When dimensions are given to the Size component * that would cause it to exceed its min-max range, the dimensions are adjusted based on the dominant axis. @@ -81,7 +81,7 @@ var Size = new Class({ /** * The proportional relationship between the width and height. - * + * * This property is read-only and is updated automatically when either the `width` or `height` properties are changed, * depending on the aspect mode. * @@ -140,9 +140,9 @@ var Size = new Class({ /** * A Vector2 containing the horizontal and vertical snap values, which the width and height are snapped to during resizing. - * + * * By default this is disabled. - * + * * This property is read-only. To change it see the `setSnap` method. * * @name Phaser.Structs.Size#snapTo @@ -155,19 +155,19 @@ var Size = new Class({ /** * Sets the aspect mode of this Size component. - * + * * The aspect mode controls what happens when you modify the `width` or `height` properties, or call `setSize`. - * + * * It can be a number from 0 to 4, or a Size constant: - * + * * 0. NONE = Do not make the size fit the aspect ratio. Change the ratio when the size changes. * 1. WIDTH_CONTROLS_HEIGHT = The height is automatically adjusted based on the width. * 2. HEIGHT_CONTROLS_WIDTH = The width is automatically adjusted based on the height. * 3. FIT = The width and height are automatically adjusted to fit inside the given target area, while keeping the aspect ratio. Depending on the aspect ratio there may be some space inside the area which is not covered. * 4. ENVELOP = The width and height are automatically adjusted to make the size cover the entire target area while keeping the aspect ratio. This may extend further out than the target size. - * + * * Calling this method automatically recalculates the `width` and the `height`, if required. - * + * * @method Phaser.Structs.Size#setAspectMode * @since 3.16.0 * @@ -188,14 +188,14 @@ var Size = new Class({ * By setting a Snap To value when this Size component is modified its dimensions will automatically * by snapped to the nearest grid slice, using floor. For example, if you have snap value of 16, * and the width changes to 68, then it will snap down to 64 (the closest multiple of 16 when floored) - * + * * Note that snapping takes place before adjustments by the parent, or the min / max settings. If these * values are not multiples of the given snap values, then this can result in un-snapped dimensions. - * + * * Call this method with no arguments to reset the snap values. - * + * * Calling this method automatically recalculates the `width` and the `height`, if required. - * + * * @method Phaser.Structs.Size#setSnap * @since 3.16.0 * @@ -216,18 +216,18 @@ var Size = new Class({ /** * Sets, or clears, the parent of this Size component. - * + * * To clear the parent call this method with no arguments. - * + * * The parent influences the maximum extents to which this Size component can expand, * based on the aspect mode: - * + * * NONE - The parent clamps both the width and height. * WIDTH_CONTROLS_HEIGHT - The parent clamps just the width. * HEIGHT_CONTROLS_WIDTH - The parent clamps just the height. * FIT - The parent clamps whichever axis is required to ensure the size fits within it. * ENVELOP - The parent is used to ensure the size fully envelops the parent. - * + * * Calling this method automatically calls `setSize`. * * @method Phaser.Structs.Size#setParent @@ -246,11 +246,11 @@ var Size = new Class({ /** * Set the minimum width and height values this Size component will allow. - * + * * The minimum values can never be below zero, or greater than the maximum values. - * + * * Setting this will automatically adjust both the `width` and `height` properties to ensure they are within range. - * + * * Note that based on the aspect mode, and if this Size component has a parent set or not, the minimums set here * _can_ be exceed in some situations. * @@ -275,9 +275,9 @@ var Size = new Class({ /** * Set the maximum width and height values this Size component will allow. - * + * * Setting this will automatically adjust both the `width` and `height` properties to ensure they are within range. - * + * * Note that based on the aspect mode, and if this Size component has a parent set or not, the maximums set here * _can_ be exceed in some situations. * @@ -302,16 +302,16 @@ var Size = new Class({ /** * Sets the width and height of this Size component based on the aspect mode. - * + * * If the aspect mode is 'none' then calling this method will change the aspect ratio, otherwise the current * aspect ratio is honored across all other modes. - * + * * If snapTo values have been set then the given width and height are snapped first, prior to any further * adjustment via min/max values, or a parent. - * + * * If minimum and/or maximum dimensions have been specified, the values given to this method will be clamped into * that range prior to adjustment, but may still exceed them depending on the aspect mode. - * + * * If this Size component has a parent set, and the aspect mode is `fit` or `envelop`, then the given sizes will * be clamped to the range specified by the parent. * @@ -327,7 +327,7 @@ var Size = new Class({ { if (width === undefined) { width = 0; } if (height === undefined) { height = width; } - + switch (this.aspectMode) { case Size.NONE: @@ -360,7 +360,7 @@ var Size = new Class({ /** * Sets a new aspect ratio, overriding what was there previously. - * + * * It then calls `setSize` immediately using the current dimensions. * * @method Phaser.Structs.Size#setAspectRatio @@ -379,7 +379,7 @@ var Size = new Class({ /** * Sets a new width and height for this Size component and updates the aspect ratio based on them. - * + * * It _doesn't_ change the `aspectMode` and still factors in size limits such as the min max and parent bounds. * * @method Phaser.Structs.Size#resize @@ -413,7 +413,7 @@ var Size = new Class({ getNewWidth: function (value, checkParent) { if (checkParent === undefined) { checkParent = true; } - + value = Clamp(value, this.minWidth, this.maxWidth); if (checkParent && this._parent && value > this._parent.width) @@ -451,10 +451,10 @@ var Size = new Class({ /** * The current `width` and `height` are adjusted to fit inside the given dimensions, while keeping the aspect ratio. - * + * * If `fit` is true there may be some space inside the target area which is not covered if its aspect ratio differs. * If `fit` is false the size may extend further out than the target area if the aspect ratios differ. - * + * * If this Size component has a parent set, then the width and height passed to this method will be clamped so * it cannot exceed that of the parent. * @@ -520,9 +520,9 @@ var Size = new Class({ /** * The current `width` and `height` are adjusted to fit inside the given dimensions, while keeping the aspect ratio. - * + * * There may be some space inside the target area which is not covered if its aspect ratio differs. - * + * * If this Size component has a parent set, then the width and height passed to this method will be clamped so * it cannot exceed that of the parent. * @@ -541,9 +541,9 @@ var Size = new Class({ /** * The current `width` and `height` are adjusted so that they fully envelope the given dimensions, while keeping the aspect ratio. - * + * * The size may extend further out than the target area if the aspect ratios differ. - * + * * If this Size component has a parent set, then the values are clamped so that it never exceeds the parent * on the longest axis. * @@ -562,7 +562,7 @@ var Size = new Class({ /** * Sets the width of this Size component. - * + * * Depending on the aspect mode, changing the width may also update the height and aspect ratio. * * @method Phaser.Structs.Size#setWidth @@ -579,7 +579,7 @@ var Size = new Class({ /** * Sets the height of this Size component. - * + * * Depending on the aspect mode, changing the height may also update the width and aspect ratio. * * @method Phaser.Structs.Size#setHeight @@ -631,7 +631,7 @@ var Size = new Class({ * * @method Phaser.Structs.Size#copy * @since 3.16.0 - * + * * @param {Phaser.Structs.Size} destination - The Size component to copy the values to. * * @return {Phaser.Structs.Size} The updated destination Size component. @@ -647,9 +647,9 @@ var Size = new Class({ /** * Destroys this Size component. - * + * * This clears the local properties and any parent object, if set. - * + * * A destroyed Size component cannot be re-used. * * @method Phaser.Structs.Size#destroy @@ -663,11 +663,11 @@ var Size = new Class({ /** * The width of this Size component. - * + * * This value is clamped to the range specified by `minWidth` and `maxWidth`, if enabled. - * + * * A width can never be less than zero. - * + * * Changing this value will automatically update the `height` if the aspect ratio lock is enabled. * You can also use the `setWidth` and `getWidth` methods. * @@ -691,11 +691,11 @@ var Size = new Class({ /** * The height of this Size component. - * + * * This value is clamped to the range specified by `minHeight` and `maxHeight`, if enabled. - * + * * A height can never be less than zero. - * + * * Changing this value will automatically update the `width` if the aspect ratio lock is enabled. * You can also use the `setHeight` and `getHeight` methods. * @@ -721,7 +721,7 @@ var Size = new Class({ /** * Do not make the size fit the aspect ratio. Change the ratio when the size changes. - * + * * @name Phaser.Structs.Size.NONE * @constant * @type {number} @@ -731,7 +731,7 @@ Size.NONE = 0; /** * The height is automatically adjusted based on the width. - * + * * @name Phaser.Structs.Size.WIDTH_CONTROLS_HEIGHT * @constant * @type {number} @@ -741,7 +741,7 @@ Size.WIDTH_CONTROLS_HEIGHT = 1; /** * The width is automatically adjusted based on the height. - * + * * @name Phaser.Structs.Size.HEIGHT_CONTROLS_WIDTH * @constant * @type {number} @@ -751,7 +751,7 @@ Size.HEIGHT_CONTROLS_WIDTH = 2; /** * The width and height are automatically adjusted to fit inside the given target area, while keeping the aspect ratio. Depending on the aspect ratio there may be some space inside the area which is not covered. - * + * * @name Phaser.Structs.Size.FIT * @constant * @type {number} @@ -761,7 +761,7 @@ Size.FIT = 3; /** * The width and height are automatically adjusted to make the size cover the entire target area while keeping the aspect ratio. This may extend further out than the target size. - * + * * @name Phaser.Structs.Size.ENVELOP * @constant * @type {number} diff --git a/src/structs/events/PROCESS_QUEUE_ADD_EVENT.js b/src/structs/events/PROCESS_QUEUE_ADD_EVENT.js index f3db6729e..ad8c3c49c 100644 --- a/src/structs/events/PROCESS_QUEUE_ADD_EVENT.js +++ b/src/structs/events/PROCESS_QUEUE_ADD_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Process Queue Add Event. - * + * * This event is dispatched by a Process Queue when a new item is successfully moved to its active list. - * + * * You will most commonly see this used by a Scene's Update List when a new Game Object has been added. - * + * * In that instance, listen to this event from within a Scene using: `this.sys.updateList.on('add', listener)`. * * @event Phaser.Structs.Events#PROCESS_QUEUE_ADD * @since 3.20.0 - * + * * @param {*} item - The item that was added to the Process Queue. */ module.exports = 'add'; diff --git a/src/structs/events/PROCESS_QUEUE_REMOVE_EVENT.js b/src/structs/events/PROCESS_QUEUE_REMOVE_EVENT.js index 707f8ee63..25726c5c0 100644 --- a/src/structs/events/PROCESS_QUEUE_REMOVE_EVENT.js +++ b/src/structs/events/PROCESS_QUEUE_REMOVE_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Process Queue Remove Event. - * + * * This event is dispatched by a Process Queue when a new item is successfully removed from its active list. - * + * * You will most commonly see this used by a Scene's Update List when a Game Object has been removed. - * + * * In that instance, listen to this event from within a Scene using: `this.sys.updateList.on('remove', listener)`. * * @event Phaser.Structs.Events#PROCESS_QUEUE_REMOVE * @since 3.20.0 - * + * * @param {*} item - The item that was removed from the Process Queue. */ module.exports = 'remove'; diff --git a/src/structs/events/index.js b/src/structs/events/index.js index 47aff897d..6e23e079c 100644 --- a/src/structs/events/index.js +++ b/src/structs/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/structs/index.js b/src/structs/index.js index efeb4a8aa..bd554d478 100644 --- a/src/structs/index.js +++ b/src/structs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/CanvasTexture.js b/src/textures/CanvasTexture.js index c2b6166a3..10ee91ec9 100644 --- a/src/textures/CanvasTexture.js +++ b/src/textures/CanvasTexture.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/Frame.js b/src/textures/Frame.js index 9340b4411..c681747e1 100644 --- a/src/textures/Frame.js +++ b/src/textures/Frame.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/Texture.js b/src/textures/Texture.js index 840815ec9..288ae3045 100644 --- a/src/textures/Texture.js +++ b/src/textures/Texture.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/TextureManager.js b/src/textures/TextureManager.js index 4f16a7f7a..ca60d7ccf 100644 --- a/src/textures/TextureManager.js +++ b/src/textures/TextureManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/TextureSource.js b/src/textures/TextureSource.js index 92bb81ed2..726ba98f8 100644 --- a/src/textures/TextureSource.js +++ b/src/textures/TextureSource.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/const.js b/src/textures/const.js index bd4ad8df8..9a7261151 100644 --- a/src/textures/const.js +++ b/src/textures/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,7 +15,7 @@ var CONST = { /** * Linear filter type. - * + * * @name Phaser.Textures.FilterMode.LINEAR * @type {number} * @const @@ -25,14 +25,14 @@ var CONST = { /** * Nearest neighbor filter type. - * + * * @name Phaser.Textures.FilterMode.NEAREST * @type {number} * @const * @since 3.0.0 */ NEAREST: 1 - + }; module.exports = CONST; diff --git a/src/textures/events/ADD_EVENT.js b/src/textures/events/ADD_EVENT.js index af6ffeb2f..bc637fa30 100644 --- a/src/textures/events/ADD_EVENT.js +++ b/src/textures/events/ADD_EVENT.js @@ -1,19 +1,19 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Texture Add Event. - * + * * This event is dispatched by the Texture Manager when a texture is added to it. - * + * * Listen to this event from within a Scene using: `this.textures.on('addtexture', listener)`. * * @event Phaser.Textures.Events#ADD * @since 3.0.0 - * + * * @param {string} key - The key of the Texture that was added to the Texture Manager. * @param {Phaser.Textures.Texture} texture - A reference to the Texture that was added to the Texture Manager. */ diff --git a/src/textures/events/ERROR_EVENT.js b/src/textures/events/ERROR_EVENT.js index 2c3cb4c33..fa7116243 100644 --- a/src/textures/events/ERROR_EVENT.js +++ b/src/textures/events/ERROR_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Texture Load Error Event. - * + * * This event is dispatched by the Texture Manager when a texture it requested to load failed. * This only happens when base64 encoded textures fail. All other texture types are loaded via the Loader Plugin. - * + * * Listen to this event from within a Scene using: `this.textures.on('onerror', listener)`. * * @event Phaser.Textures.Events#ERROR * @since 3.0.0 - * + * * @param {string} key - The key of the Texture that failed to load into the Texture Manager. */ module.exports = 'onerror'; diff --git a/src/textures/events/LOAD_EVENT.js b/src/textures/events/LOAD_EVENT.js index be11c553d..7cb61d886 100644 --- a/src/textures/events/LOAD_EVENT.js +++ b/src/textures/events/LOAD_EVENT.js @@ -1,22 +1,22 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Texture Load Event. - * + * * This event is dispatched by the Texture Manager when a texture has finished loading on it. * This only happens for base64 encoded textures. All other texture types are loaded via the Loader Plugin. - * + * * Listen to this event from within a Scene using: `this.textures.on('onload', listener)`. - * + * * This event is dispatched after the [ADD]{@linkcode Phaser.Textures.Events#event:ADD} event. * * @event Phaser.Textures.Events#LOAD * @since 3.0.0 - * + * * @param {string} key - The key of the Texture that was loaded by the Texture Manager. * @param {Phaser.Textures.Texture} texture - A reference to the Texture that was loaded by the Texture Manager. */ diff --git a/src/textures/events/READY_EVENT.js b/src/textures/events/READY_EVENT.js index cb99ee565..993ec5674 100644 --- a/src/textures/events/READY_EVENT.js +++ b/src/textures/events/READY_EVENT.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * This internal event signifies that the Texture Manager is now ready and the Game can continue booting. - * + * * When a Phaser Game instance is booting for the first time, the Texture Manager has to wait on a couple of non-blocking * async events before it's fully ready to carry on. When those complete the Texture Manager emits this event via the Game * instance, which tells the Game to carry on booting. diff --git a/src/textures/events/REMOVE_EVENT.js b/src/textures/events/REMOVE_EVENT.js index 736ee1b3b..e85212db8 100644 --- a/src/textures/events/REMOVE_EVENT.js +++ b/src/textures/events/REMOVE_EVENT.js @@ -1,22 +1,22 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Texture Remove Event. - * + * * This event is dispatched by the Texture Manager when a texture is removed from it. - * + * * Listen to this event from within a Scene using: `this.textures.on('removetexture', listener)`. - * + * * If you have any Game Objects still using the removed texture, they will start throwing * errors the next time they try to render. Be sure to clear all use of the texture in this event handler. * * @event Phaser.Textures.Events#REMOVE * @since 3.0.0 - * + * * @param {string} key - The key of the Texture that was removed from the Texture Manager. */ module.exports = 'removetexture'; diff --git a/src/textures/events/index.js b/src/textures/events/index.js index d7040a71a..42dfcdeae 100644 --- a/src/textures/events/index.js +++ b/src/textures/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/index.js b/src/textures/index.js index c47642178..cb91e13ae 100644 --- a/src/textures/index.js +++ b/src/textures/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -13,7 +13,7 @@ var FilterMode = require('./const'); /** * Linear filter type. - * + * * @name Phaser.Textures.LINEAR * @type {number} * @const @@ -22,7 +22,7 @@ var FilterMode = require('./const'); /** * Nearest Neighbor filter type. - * + * * @name Phaser.Textures.NEAREST * @type {number} * @const diff --git a/src/textures/parsers/AtlasXML.js b/src/textures/parsers/AtlasXML.js index b26bda775..1f74b5e7a 100644 --- a/src/textures/parsers/AtlasXML.js +++ b/src/textures/parsers/AtlasXML.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/parsers/Canvas.js b/src/textures/parsers/Canvas.js index 6490e79e8..a34b66951 100644 --- a/src/textures/parsers/Canvas.js +++ b/src/textures/parsers/Canvas.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/parsers/Image.js b/src/textures/parsers/Image.js index 1ef5db7ea..ccb111c1e 100644 --- a/src/textures/parsers/Image.js +++ b/src/textures/parsers/Image.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/parsers/JSONArray.js b/src/textures/parsers/JSONArray.js index b6adec136..223263534 100644 --- a/src/textures/parsers/JSONArray.js +++ b/src/textures/parsers/JSONArray.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/parsers/JSONHash.js b/src/textures/parsers/JSONHash.js index e86e508c9..c4dd48181 100644 --- a/src/textures/parsers/JSONHash.js +++ b/src/textures/parsers/JSONHash.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/parsers/SpriteSheet.js b/src/textures/parsers/SpriteSheet.js index 464e15c42..bde6de20b 100644 --- a/src/textures/parsers/SpriteSheet.js +++ b/src/textures/parsers/SpriteSheet.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/parsers/SpriteSheetFromAtlas.js b/src/textures/parsers/SpriteSheetFromAtlas.js index 04d98d460..b329ba85f 100644 --- a/src/textures/parsers/SpriteSheetFromAtlas.js +++ b/src/textures/parsers/SpriteSheetFromAtlas.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/parsers/UnityYAML.js b/src/textures/parsers/UnityYAML.js index 68c9d1cc4..3b1ed5a7d 100644 --- a/src/textures/parsers/UnityYAML.js +++ b/src/textures/parsers/UnityYAML.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/parsers/index.js b/src/textures/parsers/index.js index 1bf38e63e..85b394111 100644 --- a/src/textures/parsers/index.js +++ b/src/textures/parsers/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/textures/typedefs/index.js b/src/textures/typedefs/index.js index 26dd8aa3c..5af0f179f 100644 --- a/src/textures/typedefs/index.js +++ b/src/textures/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/Formats.js b/src/tilemaps/Formats.js index 778df8922..8f51af812 100644 --- a/src/tilemaps/Formats.js +++ b/src/tilemaps/Formats.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -12,7 +12,7 @@ module.exports = { /** * CSV Map Type - * + * * @name Phaser.Tilemaps.Formats.CSV * @type {number} * @since 3.0.0 @@ -21,7 +21,7 @@ module.exports = { /** * Tiled JSON Map Type - * + * * @name Phaser.Tilemaps.Formats.TILED_JSON * @type {number} * @since 3.0.0 @@ -30,7 +30,7 @@ module.exports = { /** * 2D Array Map Type - * + * * @name Phaser.Tilemaps.Formats.ARRAY_2D * @type {number} * @since 3.0.0 @@ -39,7 +39,7 @@ module.exports = { /** * Weltmeister (Impact.js) Map Type - * + * * @name Phaser.Tilemaps.Formats.WELTMEISTER * @type {number} * @since 3.0.0 diff --git a/src/tilemaps/ImageCollection.js b/src/tilemaps/ImageCollection.js index 36d885a6b..5bf142fcc 100644 --- a/src/tilemaps/ImageCollection.js +++ b/src/tilemaps/ImageCollection.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -16,7 +16,7 @@ var Class = require('../utils/Class'); * @memberof Phaser.Tilemaps * @constructor * @since 3.0.0 - * + * * @param {string} name - The name of the image collection in the map data. * @param {number} firstgid - The first image index this image collection contains. * @param {number} [width=32] - Width of widest image (in pixels). @@ -38,7 +38,7 @@ var ImageCollection = new Class({ /** * The name of the Image Collection. - * + * * @name Phaser.Tilemaps.ImageCollection#name * @type {string} * @since 3.0.0 @@ -48,7 +48,7 @@ var ImageCollection = new Class({ /** * The Tiled firstgid value. * This is the starting index of the first image index this Image Collection contains. - * + * * @name Phaser.Tilemaps.ImageCollection#firstgid * @type {number} * @since 3.0.0 @@ -57,7 +57,7 @@ var ImageCollection = new Class({ /** * The width of the widest image (in pixels). - * + * * @name Phaser.Tilemaps.ImageCollection#imageWidth * @type {number} * @readonly @@ -67,7 +67,7 @@ var ImageCollection = new Class({ /** * The height of the tallest image (in pixels). - * + * * @name Phaser.Tilemaps.ImageCollection#imageHeight * @type {number} * @readonly @@ -78,7 +78,7 @@ var ImageCollection = new Class({ /** * The margin around the images in the collection (in pixels). * Use `setSpacing` to change. - * + * * @name Phaser.Tilemaps.ImageCollection#imageMarge * @type {number} * @readonly @@ -89,7 +89,7 @@ var ImageCollection = new Class({ /** * The spacing between each image in the collection (in pixels). * Use `setSpacing` to change. - * + * * @name Phaser.Tilemaps.ImageCollection#imageSpacing * @type {number} * @readonly @@ -99,7 +99,7 @@ var ImageCollection = new Class({ /** * Image Collection-specific properties that are typically defined in the Tiled editor. - * + * * @name Phaser.Tilemaps.ImageCollection#properties * @type {object} * @since 3.0.0 @@ -108,7 +108,7 @@ var ImageCollection = new Class({ /** * The cached images that are a part of this collection. - * + * * @name Phaser.Tilemaps.ImageCollection#images * @type {array} * @readonly @@ -118,7 +118,7 @@ var ImageCollection = new Class({ /** * The total number of images in the image collection. - * + * * @name Phaser.Tilemaps.ImageCollection#total * @type {number} * @readonly @@ -132,9 +132,9 @@ var ImageCollection = new Class({ * * @method Phaser.Tilemaps.ImageCollection#containsImageIndex * @since 3.0.0 - * + * * @param {number} imageIndex - The image index to search for. - * + * * @return {boolean} True if this Image Collection contains the given index. */ containsImageIndex: function (imageIndex) @@ -147,7 +147,7 @@ var ImageCollection = new Class({ * * @method Phaser.Tilemaps.ImageCollection#addImage * @since 3.0.0 - * + * * @param {number} gid - The gid of the image in the Image Collection. * @param {string} image - The the key of the image in the Image Collection and in the cache. * diff --git a/src/tilemaps/ParseToTilemap.js b/src/tilemaps/ParseToTilemap.js index fc9f233e9..94aeb004d 100644 --- a/src/tilemaps/ParseToTilemap.js +++ b/src/tilemaps/ParseToTilemap.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/Tile.js b/src/tilemaps/Tile.js index 9dab909d6..866deea4c 100644 --- a/src/tilemaps/Tile.js +++ b/src/tilemaps/Tile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -475,7 +475,6 @@ var Tile = new Class({ : this.getTop(camera) + this.height; }, - /** * Gets the world rectangle bounding box for the tile, factoring in the layers position, * scale and scroll. diff --git a/src/tilemaps/Tilemap.js b/src/tilemaps/Tilemap.js index 317c04331..74f8df92f 100644 --- a/src/tilemaps/Tilemap.js +++ b/src/tilemaps/Tilemap.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/TilemapCreator.js b/src/tilemaps/TilemapCreator.js index 639301561..841fdf370 100644 --- a/src/tilemaps/TilemapCreator.js +++ b/src/tilemaps/TilemapCreator.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -15,9 +15,9 @@ var ParseToTilemap = require('./ParseToTilemap'); * * @method Phaser.GameObjects.GameObjectCreator#tilemap * @since 3.0.0 - * + * * @param {Phaser.Types.Tilemaps.TilemapConfig} [config] - The config options for the Tilemap. - * + * * @return {Phaser.Tilemaps.Tilemap} */ GameObjectCreator.register('tilemap', function (config) diff --git a/src/tilemaps/TilemapFactory.js b/src/tilemaps/TilemapFactory.js index 3768ef49f..ba2b838f0 100644 --- a/src/tilemaps/TilemapFactory.js +++ b/src/tilemaps/TilemapFactory.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -33,7 +33,7 @@ var ParseToTilemap = require('./ParseToTilemap'); * the tile data doesn't need to change then setting this value to `true` will help with memory * consumption. However if your map is small or you need to update the tiles dynamically, then leave * the default value set. - * + * * @return {Phaser.Tilemaps.Tilemap} */ GameObjectFactory.register('tilemap', function (key, tileWidth, tileHeight, width, height, data, insertNull) diff --git a/src/tilemaps/TilemapLayer.js b/src/tilemaps/TilemapLayer.js index 7d212691d..b99998a7b 100644 --- a/src/tilemaps/TilemapLayer.js +++ b/src/tilemaps/TilemapLayer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/TilemapLayerCanvasRenderer.js b/src/tilemaps/TilemapLayerCanvasRenderer.js index fe9e592d4..5097d2799 100644 --- a/src/tilemaps/TilemapLayerCanvasRenderer.js +++ b/src/tilemaps/TilemapLayerCanvasRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/TilemapLayerRender.js b/src/tilemaps/TilemapLayerRender.js index 0a01b3d02..ae1078652 100644 --- a/src/tilemaps/TilemapLayerRender.js +++ b/src/tilemaps/TilemapLayerRender.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/TilemapLayerWebGLRenderer.js b/src/tilemaps/TilemapLayerWebGLRenderer.js index 4308a78c3..d578090fa 100644 --- a/src/tilemaps/TilemapLayerWebGLRenderer.js +++ b/src/tilemaps/TilemapLayerWebGLRenderer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/Tileset.js b/src/tilemaps/Tileset.js index e9c23dfa6..1bc016bdb 100644 --- a/src/tilemaps/Tileset.js +++ b/src/tilemaps/Tileset.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/CalculateFacesAt.js b/src/tilemaps/components/CalculateFacesAt.js index b201651cf..a8043b889 100644 --- a/src/tilemaps/components/CalculateFacesAt.js +++ b/src/tilemaps/components/CalculateFacesAt.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/CalculateFacesWithin.js b/src/tilemaps/components/CalculateFacesWithin.js index 4258252fa..6ea29e527 100644 --- a/src/tilemaps/components/CalculateFacesWithin.js +++ b/src/tilemaps/components/CalculateFacesWithin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/CheckIsoBounds.js b/src/tilemaps/components/CheckIsoBounds.js index cf3eec2c9..6418317f0 100644 --- a/src/tilemaps/components/CheckIsoBounds.js +++ b/src/tilemaps/components/CheckIsoBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/Copy.js b/src/tilemaps/components/Copy.js index 16e7e1ac4..a6b2f9ad7 100644 --- a/src/tilemaps/components/Copy.js +++ b/src/tilemaps/components/Copy.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/CreateFromTiles.js b/src/tilemaps/components/CreateFromTiles.js index f86831206..e304a8008 100644 --- a/src/tilemaps/components/CreateFromTiles.js +++ b/src/tilemaps/components/CreateFromTiles.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/CullBounds.js b/src/tilemaps/components/CullBounds.js index 9817bc99f..fc76300ed 100644 --- a/src/tilemaps/components/CullBounds.js +++ b/src/tilemaps/components/CullBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/CullTiles.js b/src/tilemaps/components/CullTiles.js index 74ff84a73..7606a9379 100644 --- a/src/tilemaps/components/CullTiles.js +++ b/src/tilemaps/components/CullTiles.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/Fill.js b/src/tilemaps/components/Fill.js index 146e3aaeb..799ff5642 100644 --- a/src/tilemaps/components/Fill.js +++ b/src/tilemaps/components/Fill.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/FilterTiles.js b/src/tilemaps/components/FilterTiles.js index c1fc53397..808f90f2d 100644 --- a/src/tilemaps/components/FilterTiles.js +++ b/src/tilemaps/components/FilterTiles.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/FindByIndex.js b/src/tilemaps/components/FindByIndex.js index 75338449d..dc775b983 100644 --- a/src/tilemaps/components/FindByIndex.js +++ b/src/tilemaps/components/FindByIndex.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/FindTile.js b/src/tilemaps/components/FindTile.js index 167a48670..2c0631850 100644 --- a/src/tilemaps/components/FindTile.js +++ b/src/tilemaps/components/FindTile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/ForEachTile.js b/src/tilemaps/components/ForEachTile.js index 925b81745..415bc18de 100644 --- a/src/tilemaps/components/ForEachTile.js +++ b/src/tilemaps/components/ForEachTile.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetCullTilesFunction.js b/src/tilemaps/components/GetCullTilesFunction.js index d3653ef01..424760f31 100644 --- a/src/tilemaps/components/GetCullTilesFunction.js +++ b/src/tilemaps/components/GetCullTilesFunction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetTileAt.js b/src/tilemaps/components/GetTileAt.js index 74b10e0ae..c5e9d46e0 100644 --- a/src/tilemaps/components/GetTileAt.js +++ b/src/tilemaps/components/GetTileAt.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetTileAtWorldXY.js b/src/tilemaps/components/GetTileAtWorldXY.js index d2929e4ee..31675d7be 100644 --- a/src/tilemaps/components/GetTileAtWorldXY.js +++ b/src/tilemaps/components/GetTileAtWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetTileToWorldXFunction.js b/src/tilemaps/components/GetTileToWorldXFunction.js index 8c9a8b574..0e23b439d 100644 --- a/src/tilemaps/components/GetTileToWorldXFunction.js +++ b/src/tilemaps/components/GetTileToWorldXFunction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetTileToWorldXYFunction.js b/src/tilemaps/components/GetTileToWorldXYFunction.js index 6aafd8d63..58a5a1821 100644 --- a/src/tilemaps/components/GetTileToWorldXYFunction.js +++ b/src/tilemaps/components/GetTileToWorldXYFunction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetTileToWorldYFunction.js b/src/tilemaps/components/GetTileToWorldYFunction.js index ae0661fae..83f8d0f24 100644 --- a/src/tilemaps/components/GetTileToWorldYFunction.js +++ b/src/tilemaps/components/GetTileToWorldYFunction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetTilesWithin.js b/src/tilemaps/components/GetTilesWithin.js index 3d765e339..e04123ad7 100644 --- a/src/tilemaps/components/GetTilesWithin.js +++ b/src/tilemaps/components/GetTilesWithin.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetTilesWithinShape.js b/src/tilemaps/components/GetTilesWithinShape.js index 0678cb72b..11051437d 100644 --- a/src/tilemaps/components/GetTilesWithinShape.js +++ b/src/tilemaps/components/GetTilesWithinShape.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetTilesWithinWorldXY.js b/src/tilemaps/components/GetTilesWithinWorldXY.js index 2e52f5cf4..30d1793a7 100644 --- a/src/tilemaps/components/GetTilesWithinWorldXY.js +++ b/src/tilemaps/components/GetTilesWithinWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetWorldToTileXFunction.js b/src/tilemaps/components/GetWorldToTileXFunction.js index 07377a7f4..d30ed3fee 100644 --- a/src/tilemaps/components/GetWorldToTileXFunction.js +++ b/src/tilemaps/components/GetWorldToTileXFunction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetWorldToTileXYFunction.js b/src/tilemaps/components/GetWorldToTileXYFunction.js index b1d2243c9..b191e5301 100644 --- a/src/tilemaps/components/GetWorldToTileXYFunction.js +++ b/src/tilemaps/components/GetWorldToTileXYFunction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/GetWorldToTileYFunction.js b/src/tilemaps/components/GetWorldToTileYFunction.js index dfc343536..e570fdce6 100644 --- a/src/tilemaps/components/GetWorldToTileYFunction.js +++ b/src/tilemaps/components/GetWorldToTileYFunction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/HasTileAt.js b/src/tilemaps/components/HasTileAt.js index 5d9d6e0f9..0d923e3a6 100644 --- a/src/tilemaps/components/HasTileAt.js +++ b/src/tilemaps/components/HasTileAt.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/HasTileAtWorldXY.js b/src/tilemaps/components/HasTileAtWorldXY.js index 9a179ad9f..b6c76b1bb 100644 --- a/src/tilemaps/components/HasTileAtWorldXY.js +++ b/src/tilemaps/components/HasTileAtWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/HexagonalCullBounds.js b/src/tilemaps/components/HexagonalCullBounds.js index 64d827fb9..2020201b8 100644 --- a/src/tilemaps/components/HexagonalCullBounds.js +++ b/src/tilemaps/components/HexagonalCullBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/HexagonalCullTiles.js b/src/tilemaps/components/HexagonalCullTiles.js index 12eeb5e7a..925c8cb1b 100644 --- a/src/tilemaps/components/HexagonalCullTiles.js +++ b/src/tilemaps/components/HexagonalCullTiles.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/HexagonalTileToWorldXY.js b/src/tilemaps/components/HexagonalTileToWorldXY.js index 8090d1cbe..6fa286ea4 100644 --- a/src/tilemaps/components/HexagonalTileToWorldXY.js +++ b/src/tilemaps/components/HexagonalTileToWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/HexagonalTileToWorldY.js b/src/tilemaps/components/HexagonalTileToWorldY.js index 20501da3a..abb52d463 100644 --- a/src/tilemaps/components/HexagonalTileToWorldY.js +++ b/src/tilemaps/components/HexagonalTileToWorldY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/HexagonalWorldToTileXY.js b/src/tilemaps/components/HexagonalWorldToTileXY.js index 5024eef3f..30d8b6461 100644 --- a/src/tilemaps/components/HexagonalWorldToTileXY.js +++ b/src/tilemaps/components/HexagonalWorldToTileXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/HexagonalWorldToTileY.js b/src/tilemaps/components/HexagonalWorldToTileY.js index 0f084551d..115e7b5a9 100644 --- a/src/tilemaps/components/HexagonalWorldToTileY.js +++ b/src/tilemaps/components/HexagonalWorldToTileY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/IsInLayerBounds.js b/src/tilemaps/components/IsInLayerBounds.js index 5c631411c..9da3f3efe 100644 --- a/src/tilemaps/components/IsInLayerBounds.js +++ b/src/tilemaps/components/IsInLayerBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/IsometricCullTiles.js b/src/tilemaps/components/IsometricCullTiles.js index f8d67f469..87fbadbd5 100644 --- a/src/tilemaps/components/IsometricCullTiles.js +++ b/src/tilemaps/components/IsometricCullTiles.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/IsometricTileToWorldXY.js b/src/tilemaps/components/IsometricTileToWorldXY.js index 6f04743c0..b35565495 100644 --- a/src/tilemaps/components/IsometricTileToWorldXY.js +++ b/src/tilemaps/components/IsometricTileToWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/IsometricWorldToTileXY.js b/src/tilemaps/components/IsometricWorldToTileXY.js index bb43a61c5..92f49c5a6 100644 --- a/src/tilemaps/components/IsometricWorldToTileXY.js +++ b/src/tilemaps/components/IsometricWorldToTileXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/PutTileAt.js b/src/tilemaps/components/PutTileAt.js index 3abb72f3f..6e57f8d53 100644 --- a/src/tilemaps/components/PutTileAt.js +++ b/src/tilemaps/components/PutTileAt.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/PutTileAtWorldXY.js b/src/tilemaps/components/PutTileAtWorldXY.js index e7aa561fd..849e4b04a 100644 --- a/src/tilemaps/components/PutTileAtWorldXY.js +++ b/src/tilemaps/components/PutTileAtWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/PutTilesAt.js b/src/tilemaps/components/PutTilesAt.js index 012592c6d..b1e819ab6 100644 --- a/src/tilemaps/components/PutTilesAt.js +++ b/src/tilemaps/components/PutTilesAt.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/Randomize.js b/src/tilemaps/components/Randomize.js index 2afbe5c4e..b89e6b4ea 100644 --- a/src/tilemaps/components/Randomize.js +++ b/src/tilemaps/components/Randomize.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/RemoveTileAt.js b/src/tilemaps/components/RemoveTileAt.js index be19384ea..487c3b3a5 100644 --- a/src/tilemaps/components/RemoveTileAt.js +++ b/src/tilemaps/components/RemoveTileAt.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/RemoveTileAtWorldXY.js b/src/tilemaps/components/RemoveTileAtWorldXY.js index 90764ce83..b688ee63a 100644 --- a/src/tilemaps/components/RemoveTileAtWorldXY.js +++ b/src/tilemaps/components/RemoveTileAtWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/RenderDebug.js b/src/tilemaps/components/RenderDebug.js index 041f9319e..8b57e6d5f 100644 --- a/src/tilemaps/components/RenderDebug.js +++ b/src/tilemaps/components/RenderDebug.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/ReplaceByIndex.js b/src/tilemaps/components/ReplaceByIndex.js index e70c8944f..ba55a5de3 100644 --- a/src/tilemaps/components/ReplaceByIndex.js +++ b/src/tilemaps/components/ReplaceByIndex.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/RunCull.js b/src/tilemaps/components/RunCull.js index 5a20e862b..49864bcb1 100644 --- a/src/tilemaps/components/RunCull.js +++ b/src/tilemaps/components/RunCull.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetCollision.js b/src/tilemaps/components/SetCollision.js index c23689a26..ce7603ee5 100644 --- a/src/tilemaps/components/SetCollision.js +++ b/src/tilemaps/components/SetCollision.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetCollisionBetween.js b/src/tilemaps/components/SetCollisionBetween.js index c94afb9eb..fa5625b28 100644 --- a/src/tilemaps/components/SetCollisionBetween.js +++ b/src/tilemaps/components/SetCollisionBetween.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetCollisionByExclusion.js b/src/tilemaps/components/SetCollisionByExclusion.js index 6ead5cbc8..3ebd45b01 100644 --- a/src/tilemaps/components/SetCollisionByExclusion.js +++ b/src/tilemaps/components/SetCollisionByExclusion.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetCollisionByProperty.js b/src/tilemaps/components/SetCollisionByProperty.js index 964aaf060..775de239a 100644 --- a/src/tilemaps/components/SetCollisionByProperty.js +++ b/src/tilemaps/components/SetCollisionByProperty.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetCollisionFromCollisionGroup.js b/src/tilemaps/components/SetCollisionFromCollisionGroup.js index 323298c24..d4cf966bd 100644 --- a/src/tilemaps/components/SetCollisionFromCollisionGroup.js +++ b/src/tilemaps/components/SetCollisionFromCollisionGroup.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetLayerCollisionIndex.js b/src/tilemaps/components/SetLayerCollisionIndex.js index 8f19d0cf4..150d15040 100644 --- a/src/tilemaps/components/SetLayerCollisionIndex.js +++ b/src/tilemaps/components/SetLayerCollisionIndex.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetTileCollision.js b/src/tilemaps/components/SetTileCollision.js index a9aa6a724..1a56bfa1e 100644 --- a/src/tilemaps/components/SetTileCollision.js +++ b/src/tilemaps/components/SetTileCollision.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetTileIndexCallback.js b/src/tilemaps/components/SetTileIndexCallback.js index 2ca76f1c6..b3b85a824 100644 --- a/src/tilemaps/components/SetTileIndexCallback.js +++ b/src/tilemaps/components/SetTileIndexCallback.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SetTileLocationCallback.js b/src/tilemaps/components/SetTileLocationCallback.js index 3ece628c7..d4f9545c3 100644 --- a/src/tilemaps/components/SetTileLocationCallback.js +++ b/src/tilemaps/components/SetTileLocationCallback.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/Shuffle.js b/src/tilemaps/components/Shuffle.js index 4e8356143..3dd600588 100644 --- a/src/tilemaps/components/Shuffle.js +++ b/src/tilemaps/components/Shuffle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/StaggeredCullBounds.js b/src/tilemaps/components/StaggeredCullBounds.js index c3010cd6d..7a2af9d22 100644 --- a/src/tilemaps/components/StaggeredCullBounds.js +++ b/src/tilemaps/components/StaggeredCullBounds.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/StaggeredCullTiles.js b/src/tilemaps/components/StaggeredCullTiles.js index 50f32b5d7..724e264f1 100644 --- a/src/tilemaps/components/StaggeredCullTiles.js +++ b/src/tilemaps/components/StaggeredCullTiles.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/StaggeredTileToWorldXY.js b/src/tilemaps/components/StaggeredTileToWorldXY.js index ab50524f8..7f6164225 100644 --- a/src/tilemaps/components/StaggeredTileToWorldXY.js +++ b/src/tilemaps/components/StaggeredTileToWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/StaggeredTileToWorldY.js b/src/tilemaps/components/StaggeredTileToWorldY.js index 20df39dee..08bc92d3c 100644 --- a/src/tilemaps/components/StaggeredTileToWorldY.js +++ b/src/tilemaps/components/StaggeredTileToWorldY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/StaggeredWorldToTileXY.js b/src/tilemaps/components/StaggeredWorldToTileXY.js index 8b9b607f2..ec522652c 100644 --- a/src/tilemaps/components/StaggeredWorldToTileXY.js +++ b/src/tilemaps/components/StaggeredWorldToTileXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/StaggeredWorldToTileY.js b/src/tilemaps/components/StaggeredWorldToTileY.js index 37e14d21f..3d96a5a65 100644 --- a/src/tilemaps/components/StaggeredWorldToTileY.js +++ b/src/tilemaps/components/StaggeredWorldToTileY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/SwapByIndex.js b/src/tilemaps/components/SwapByIndex.js index 7d5cc65f2..730ef19e3 100644 --- a/src/tilemaps/components/SwapByIndex.js +++ b/src/tilemaps/components/SwapByIndex.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/TileToWorldX.js b/src/tilemaps/components/TileToWorldX.js index 3713d74b5..aa829626b 100644 --- a/src/tilemaps/components/TileToWorldX.js +++ b/src/tilemaps/components/TileToWorldX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/TileToWorldXY.js b/src/tilemaps/components/TileToWorldXY.js index 233f2c7f3..599a7ce4e 100644 --- a/src/tilemaps/components/TileToWorldXY.js +++ b/src/tilemaps/components/TileToWorldXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/TileToWorldY.js b/src/tilemaps/components/TileToWorldY.js index c28a815d1..5818d73a5 100644 --- a/src/tilemaps/components/TileToWorldY.js +++ b/src/tilemaps/components/TileToWorldY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/WeightedRandomize.js b/src/tilemaps/components/WeightedRandomize.js index e2e49db4d..0b200a72e 100644 --- a/src/tilemaps/components/WeightedRandomize.js +++ b/src/tilemaps/components/WeightedRandomize.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/WorldToTileX.js b/src/tilemaps/components/WorldToTileX.js index 4423e17de..c99f47964 100644 --- a/src/tilemaps/components/WorldToTileX.js +++ b/src/tilemaps/components/WorldToTileX.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/WorldToTileXY.js b/src/tilemaps/components/WorldToTileXY.js index 95b802bf1..935e5334c 100644 --- a/src/tilemaps/components/WorldToTileXY.js +++ b/src/tilemaps/components/WorldToTileXY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/WorldToTileY.js b/src/tilemaps/components/WorldToTileY.js index c302ca163..12b6248ba 100644 --- a/src/tilemaps/components/WorldToTileY.js +++ b/src/tilemaps/components/WorldToTileY.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/components/index.js b/src/tilemaps/components/index.js index 33c3bab20..e9e01249c 100644 --- a/src/tilemaps/components/index.js +++ b/src/tilemaps/components/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/const/ORIENTATION_CONST.js b/src/tilemaps/const/ORIENTATION_CONST.js index 376e652a8..0a5f493ca 100644 --- a/src/tilemaps/const/ORIENTATION_CONST.js +++ b/src/tilemaps/const/ORIENTATION_CONST.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Phaser Tilemap constants for orientation. - * + * * @namespace Phaser.Tilemaps.Orientation * @memberof Phaser.Tilemaps * @since 3.50.0 @@ -14,9 +14,9 @@ /** * Phaser Tilemap constants for orientation. - * + * * To find out what each mode does please see [Phaser.Tilemaps.Orientation]{@link Phaser.Tilemaps.Orientation}. - * + * * @typedef {Phaser.Tilemaps.Orientation} Phaser.Tilemaps.OrientationType * @memberof Phaser.Tilemaps * @since 3.50.0 @@ -26,7 +26,7 @@ module.exports = { /** * Orthogonal Tilemap orientation constant. - * + * * @name Phaser.Tilemaps.Orientation.ORTHOGONAL * @type {number} * @const diff --git a/src/tilemaps/const/index.js b/src/tilemaps/const/index.js index b67fcef07..9c7573d3c 100644 --- a/src/tilemaps/const/index.js +++ b/src/tilemaps/const/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/index.js b/src/tilemaps/index.js index a691513b9..8ab54feb8 100644 --- a/src/tilemaps/index.js +++ b/src/tilemaps/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/mapdata/LayerData.js b/src/tilemaps/mapdata/LayerData.js index b925e07a6..6d07df262 100644 --- a/src/tilemaps/mapdata/LayerData.js +++ b/src/tilemaps/mapdata/LayerData.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/mapdata/MapData.js b/src/tilemaps/mapdata/MapData.js index 1cbb48f92..de3766057 100644 --- a/src/tilemaps/mapdata/MapData.js +++ b/src/tilemaps/mapdata/MapData.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/mapdata/ObjectLayer.js b/src/tilemaps/mapdata/ObjectLayer.js index fe6c042b2..005f33edb 100644 --- a/src/tilemaps/mapdata/ObjectLayer.js +++ b/src/tilemaps/mapdata/ObjectLayer.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/FromOrientationString.js b/src/tilemaps/parsers/FromOrientationString.js index 54348da23..f82afea2b 100644 --- a/src/tilemaps/parsers/FromOrientationString.js +++ b/src/tilemaps/parsers/FromOrientationString.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/Parse.js b/src/tilemaps/parsers/Parse.js index 285ba6a24..8a1742d36 100644 --- a/src/tilemaps/parsers/Parse.js +++ b/src/tilemaps/parsers/Parse.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/Parse2DArray.js b/src/tilemaps/parsers/Parse2DArray.js index 813c92c87..795f0cd8a 100644 --- a/src/tilemaps/parsers/Parse2DArray.js +++ b/src/tilemaps/parsers/Parse2DArray.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -34,7 +34,7 @@ var Parse2DArray = function (name, data, tileWidth, tileHeight, insertNull) tileWidth: tileWidth, tileHeight: tileHeight }); - + var mapData = new MapData({ name: name, tileWidth: tileWidth, diff --git a/src/tilemaps/parsers/ParseCSV.js b/src/tilemaps/parsers/ParseCSV.js index 6c445688f..f95dd284a 100644 --- a/src/tilemaps/parsers/ParseCSV.js +++ b/src/tilemaps/parsers/ParseCSV.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/impact/ParseTileLayers.js b/src/tilemaps/parsers/impact/ParseTileLayers.js index e5654b13c..de7ed6e6c 100644 --- a/src/tilemaps/parsers/impact/ParseTileLayers.js +++ b/src/tilemaps/parsers/impact/ParseTileLayers.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/impact/ParseTilesets.js b/src/tilemaps/parsers/impact/ParseTilesets.js index 5b6a661d2..5d1ae212c 100644 --- a/src/tilemaps/parsers/impact/ParseTilesets.js +++ b/src/tilemaps/parsers/impact/ParseTilesets.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/impact/ParseWeltmeister.js b/src/tilemaps/parsers/impact/ParseWeltmeister.js index 6372d08a3..21319f867 100644 --- a/src/tilemaps/parsers/impact/ParseWeltmeister.js +++ b/src/tilemaps/parsers/impact/ParseWeltmeister.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/impact/index.js b/src/tilemaps/parsers/impact/index.js index 685ac101b..d23806b50 100644 --- a/src/tilemaps/parsers/impact/index.js +++ b/src/tilemaps/parsers/impact/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/index.js b/src/tilemaps/parsers/index.js index c2f39aa48..d4b2a3d92 100644 --- a/src/tilemaps/parsers/index.js +++ b/src/tilemaps/parsers/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/AssignTileProperties.js b/src/tilemaps/parsers/tiled/AssignTileProperties.js index ddc603ba8..f49d1518a 100644 --- a/src/tilemaps/parsers/tiled/AssignTileProperties.js +++ b/src/tilemaps/parsers/tiled/AssignTileProperties.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/Base64Decode.js b/src/tilemaps/parsers/tiled/Base64Decode.js index dc04be944..e4102b84a 100644 --- a/src/tilemaps/parsers/tiled/Base64Decode.js +++ b/src/tilemaps/parsers/tiled/Base64Decode.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/BuildTilesetIndex.js b/src/tilemaps/parsers/tiled/BuildTilesetIndex.js index b15b60b42..79aeaa10e 100644 --- a/src/tilemaps/parsers/tiled/BuildTilesetIndex.js +++ b/src/tilemaps/parsers/tiled/BuildTilesetIndex.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/CreateGroupLayer.js b/src/tilemaps/parsers/tiled/CreateGroupLayer.js index 2c7b11b2a..54c67ea58 100644 --- a/src/tilemaps/parsers/tiled/CreateGroupLayer.js +++ b/src/tilemaps/parsers/tiled/CreateGroupLayer.js @@ -1,6 +1,6 @@ /** * @author Seth Berrier - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/ParseGID.js b/src/tilemaps/parsers/tiled/ParseGID.js index 8c5d0229a..79bf947f9 100644 --- a/src/tilemaps/parsers/tiled/ParseGID.js +++ b/src/tilemaps/parsers/tiled/ParseGID.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/ParseImageLayers.js b/src/tilemaps/parsers/tiled/ParseImageLayers.js index e8743f3a6..6af0c9154 100644 --- a/src/tilemaps/parsers/tiled/ParseImageLayers.js +++ b/src/tilemaps/parsers/tiled/ParseImageLayers.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/ParseJSONTiled.js b/src/tilemaps/parsers/tiled/ParseJSONTiled.js index f8c062430..0f3498d18 100644 --- a/src/tilemaps/parsers/tiled/ParseJSONTiled.js +++ b/src/tilemaps/parsers/tiled/ParseJSONTiled.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/ParseObject.js b/src/tilemaps/parsers/tiled/ParseObject.js index 9b9050017..403a05166 100644 --- a/src/tilemaps/parsers/tiled/ParseObject.js +++ b/src/tilemaps/parsers/tiled/ParseObject.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/ParseObjectLayers.js b/src/tilemaps/parsers/tiled/ParseObjectLayers.js index 2492b47e0..ee951d6a1 100644 --- a/src/tilemaps/parsers/tiled/ParseObjectLayers.js +++ b/src/tilemaps/parsers/tiled/ParseObjectLayers.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/ParseTileLayers.js b/src/tilemaps/parsers/tiled/ParseTileLayers.js index dd6e6d912..940d06743 100644 --- a/src/tilemaps/parsers/tiled/ParseTileLayers.js +++ b/src/tilemaps/parsers/tiled/ParseTileLayers.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/ParseTilesets.js b/src/tilemaps/parsers/tiled/ParseTilesets.js index 6d175213c..7120393f1 100644 --- a/src/tilemaps/parsers/tiled/ParseTilesets.js +++ b/src/tilemaps/parsers/tiled/ParseTilesets.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/ParseWangsets.js b/src/tilemaps/parsers/tiled/ParseWangsets.js index 52c0b622b..bbfefa35b 100644 --- a/src/tilemaps/parsers/tiled/ParseWangsets.js +++ b/src/tilemaps/parsers/tiled/ParseWangsets.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/parsers/tiled/index.js b/src/tilemaps/parsers/tiled/index.js index 4d7b4965e..f7e9134a7 100644 --- a/src/tilemaps/parsers/tiled/index.js +++ b/src/tilemaps/parsers/tiled/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tilemaps/typedefs/index.js b/src/tilemaps/typedefs/index.js index 35db8d257..8a5a561b2 100644 --- a/src/tilemaps/typedefs/index.js +++ b/src/tilemaps/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/time/Clock.js b/src/time/Clock.js index 4a89fb91d..6a1e2ddaf 100644 --- a/src/time/Clock.js +++ b/src/time/Clock.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/time/TimerEvent.js b/src/time/TimerEvent.js index 51f5f47c0..21d6d62c7 100644 --- a/src/time/TimerEvent.js +++ b/src/time/TimerEvent.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/time/index.js b/src/time/index.js index 82569d1b4..2b990ce4d 100644 --- a/src/time/index.js +++ b/src/time/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/time/typedefs/index.js b/src/time/typedefs/index.js index 5e7502821..cc1bcd5bc 100644 --- a/src/time/typedefs/index.js +++ b/src/time/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/Timeline.js b/src/tweens/Timeline.js index 5dc80f61c..d3bcdc9cf 100644 --- a/src/tweens/Timeline.js +++ b/src/tweens/Timeline.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -237,9 +237,9 @@ var Timeline = new Class({ /** * An object containing the different Tween callback functions. - * + * * You can either set these in the Tween config, or by calling the `Tween.setCallback` method. - * + * * `onComplete` When the Timeline finishes playback fully or `Timeline.stop` is called. Never invoked if timeline is set to repeat infinitely. * `onLoop` When a Timeline loops. * `onStart` When the Timeline starts playing. @@ -290,7 +290,7 @@ var Timeline = new Class({ /** * Sets the value of the time scale applied to this Timeline. A value of 1 runs in real-time. * A value of 0.5 runs 50% slower, and so on. - * + * * The value isn't used when calculating total duration of the tween, it's a run-time delta adjustment only. * * @method Phaser.Tweens.Timeline#setTimeScale @@ -466,9 +466,9 @@ var Timeline = new Class({ /** * Calculates the total duration of the timeline. - * + * * Computes all tween durations and returns the full duration of the timeline. - * + * * The resulting number is stored in the timeline, not as a return value. * * @method Phaser.Tweens.Timeline#calcDuration @@ -800,7 +800,7 @@ var Timeline = new Class({ /** * Pauses the Timeline, retaining its internal state. - * + * * Calling this on a Timeline that is already paused has no effect and fires no event. * * @method Phaser.Tweens.Timeline#pause @@ -829,7 +829,7 @@ var Timeline = new Class({ /** * Resumes a paused Timeline from where it was when it was paused. - * + * * Calling this on a Timeline that isn't paused has no effect and fires no event. * * @method Phaser.Tweens.Timeline#resume @@ -854,7 +854,7 @@ var Timeline = new Class({ /** * Checks if any of the Tweens in this Timeline as operating on the target object. - * + * * Returns `false` if no Tweens operate on the target object. * * @method Phaser.Tweens.Timeline#hasTarget diff --git a/src/tweens/TweenManager.js b/src/tweens/TweenManager.js index 2ae3adce8..78e08417b 100644 --- a/src/tweens/TweenManager.js +++ b/src/tweens/TweenManager.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/builders/GetBoolean.js b/src/tweens/builders/GetBoolean.js index 7de2bd46e..3954b5a27 100644 --- a/src/tweens/builders/GetBoolean.js +++ b/src/tweens/builders/GetBoolean.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/builders/GetEaseFunction.js b/src/tweens/builders/GetEaseFunction.js index 60fadae50..49382b982 100644 --- a/src/tweens/builders/GetEaseFunction.js +++ b/src/tweens/builders/GetEaseFunction.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,7 +9,7 @@ var UppercaseFirst = require('../../utils/string/UppercaseFirst'); /** * This internal function is used to return the correct ease function for a Tween. - * + * * It can take a variety of input, including an EaseMap based string, or a custom function. * * @function Phaser.Tweens.Builders.GetEaseFunction diff --git a/src/tweens/builders/GetNewValue.js b/src/tweens/builders/GetNewValue.js index 0db1a09a6..7858623c8 100644 --- a/src/tweens/builders/GetNewValue.js +++ b/src/tweens/builders/GetNewValue.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/builders/GetProps.js b/src/tweens/builders/GetProps.js index 805a31d8f..fee6a1a86 100644 --- a/src/tweens/builders/GetProps.js +++ b/src/tweens/builders/GetProps.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/builders/GetTargets.js b/src/tweens/builders/GetTargets.js index d59a85d3a..a8dba72f9 100644 --- a/src/tweens/builders/GetTargets.js +++ b/src/tweens/builders/GetTargets.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/builders/GetTweens.js b/src/tweens/builders/GetTweens.js index 2a22413bf..077d81453 100644 --- a/src/tweens/builders/GetTweens.js +++ b/src/tweens/builders/GetTweens.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,7 +8,7 @@ var GetValue = require('../../utils/object/GetValue'); /** * Internal function used by the Timeline Builder. - * + * * It returns an array of all tweens in the given timeline config. * * @function Phaser.Tweens.Builders.GetTweens diff --git a/src/tweens/builders/GetValueOp.js b/src/tweens/builders/GetValueOp.js index 0ffea67bc..2be615965 100644 --- a/src/tweens/builders/GetValueOp.js +++ b/src/tweens/builders/GetValueOp.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -38,7 +38,7 @@ function hasGetters (def) /** * Returns `getActive`, `getStart` and `getEnd` functions for a TweenData based on a target property and end value. - * + * * `getActive` if not null, is invoked _immediately_ as soon as the TweenData is running, and is set on the target property. * `getEnd` is invoked once any start delays have expired and returns what the value should tween to. * `getStart` is invoked when the tween reaches the end and needs to either repeat or yoyo, it returns the value to go back to. @@ -47,11 +47,11 @@ function hasGetters (def) * A string can be provided to specify a relative end value which consists of an operation * (`+=` to add to the current value, `-=` to subtract from the current value, `*=` to multiply the current * value, or `/=` to divide the current value) followed by its operand. - * + * * A function can be provided to allow greater control over the end value; it will receive the target * object being tweened, the name of the property being tweened, and the current value of the property * as its arguments. - * + * * If both the starting and the ending values need to be controlled, an object with `getStart` and `getEnd` * callbacks, which will receive the same arguments, can be provided instead. If an object with a `value` * property is provided, the property will be used as the effective value under the same rules described here. @@ -232,14 +232,14 @@ var GetValueOp = function (key, propertyValue) if (hasStart) { var startCallbacks = GetValueOp(key, propertyValue.start); - + callbacks.getActive = startCallbacks.getEnd; } - + if (hasFrom) { var fromCallbacks = GetValueOp(key, propertyValue.from); - + callbacks.getStart = fromCallbacks.getEnd; } } diff --git a/src/tweens/builders/NumberTweenBuilder.js b/src/tweens/builders/NumberTweenBuilder.js index 4a7542e5c..78a7c3631 100644 --- a/src/tweens/builders/NumberTweenBuilder.js +++ b/src/tweens/builders/NumberTweenBuilder.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/builders/StaggerBuilder.js b/src/tweens/builders/StaggerBuilder.js index 1ba8f1de8..1c56a0f31 100644 --- a/src/tweens/builders/StaggerBuilder.js +++ b/src/tweens/builders/StaggerBuilder.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -10,14 +10,14 @@ var MATH_CONST = require('../../math/const'); /** * Creates a Stagger function to be used by a Tween property. - * + * * The stagger function will allow you to stagger changes to the value of the property across all targets of the tween. - * + * * This is only worth using if the tween has multiple targets. - * + * * The following will stagger the delay by 100ms across all targets of the tween, causing them to scale down to 0.2 * over the duration specified: - * + * * ```javascript * this.tweens.add({ * targets: [ ... ], @@ -27,10 +27,10 @@ var MATH_CONST = require('../../math/const'); * delay: this.tweens.stagger(100) * }); * ``` - * + * * The following will stagger the delay by 500ms across all targets of the tween using a 10 x 6 grid, staggering * from the center out, using a cubic ease. - * + * * ```javascript * this.tweens.add({ * targets: [ ... ], @@ -138,18 +138,18 @@ var StaggerBuilder = function (value, options) var gridSpace = 0; var toX = index % gridWidth; var toY = Math.floor(index / gridWidth); - + if (toX >= 0 && toX < gridWidth && toY >= 0 && toY < gridHeight) { gridSpace = gridValues[toY][toX]; } var output; - + if (isRange) { var diff = (value2 - value1); - + if (easeFunction) { output = ((gridSpace / gridMax) * diff) * easeFunction(gridSpace / gridMax); @@ -177,9 +177,9 @@ var StaggerBuilder = function (value, options) { // zero offset total--; - + var fromIndex; - + if (fromFirst) { fromIndex = index; @@ -196,9 +196,9 @@ var StaggerBuilder = function (value, options) { fromIndex = Math.abs(from - index); } - + var output; - + if (isRange) { var spacing; @@ -211,7 +211,7 @@ var StaggerBuilder = function (value, options) { spacing = ((value2 - value1) / total) * fromIndex; } - + if (easeFunction) { output = spacing * easeFunction(fromIndex / total); @@ -229,7 +229,7 @@ var StaggerBuilder = function (value, options) { output = fromIndex * value1; } - + return output + start; }; } diff --git a/src/tweens/builders/TimelineBuilder.js b/src/tweens/builders/TimelineBuilder.js index 322ae3f30..374764c4a 100644 --- a/src/tweens/builders/TimelineBuilder.js +++ b/src/tweens/builders/TimelineBuilder.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/builders/TweenBuilder.js b/src/tweens/builders/TweenBuilder.js index 1eaab5d64..6ef98363c 100644 --- a/src/tweens/builders/TweenBuilder.js +++ b/src/tweens/builders/TweenBuilder.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/builders/index.js b/src/tweens/builders/index.js index 00c22a0fe..ec9a146b6 100644 --- a/src/tweens/builders/index.js +++ b/src/tweens/builders/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/events/TIMELINE_COMPLETE_EVENT.js b/src/tweens/events/TIMELINE_COMPLETE_EVENT.js index 9d0b9b495..c48843137 100644 --- a/src/tweens/events/TIMELINE_COMPLETE_EVENT.js +++ b/src/tweens/events/TIMELINE_COMPLETE_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Timeline Complete Event. - * + * * This event is dispatched by a Tween Timeline when it completes playback. - * + * * Listen to it from a Timeline instance using `Timeline.on('complete', listener)`, i.e.: - * + * * ```javascript * var timeline = this.tweens.timeline({ * targets: image, @@ -24,7 +24,7 @@ * * @event Phaser.Tweens.Events#TIMELINE_COMPLETE * @since 3.0.0 - * + * * @param {Phaser.Tweens.Timeline} timeline - A reference to the Timeline instance that emitted the event. */ module.exports = 'complete'; diff --git a/src/tweens/events/TIMELINE_LOOP_EVENT.js b/src/tweens/events/TIMELINE_LOOP_EVENT.js index 402f4af89..f442db609 100644 --- a/src/tweens/events/TIMELINE_LOOP_EVENT.js +++ b/src/tweens/events/TIMELINE_LOOP_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Timeline Loop Event. - * + * * This event is dispatched by a Tween Timeline every time it loops. - * + * * Listen to it from a Timeline instance using `Timeline.on('loop', listener)`, i.e.: - * + * * ```javascript * var timeline = this.tweens.timeline({ * targets: image, @@ -25,7 +25,7 @@ * * @event Phaser.Tweens.Events#TIMELINE_LOOP * @since 3.0.0 - * + * * @param {Phaser.Tweens.Timeline} timeline - A reference to the Timeline instance that emitted the event. */ module.exports = 'loop'; diff --git a/src/tweens/events/TIMELINE_PAUSE_EVENT.js b/src/tweens/events/TIMELINE_PAUSE_EVENT.js index b2e74994b..19a1946f0 100644 --- a/src/tweens/events/TIMELINE_PAUSE_EVENT.js +++ b/src/tweens/events/TIMELINE_PAUSE_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Timeline Pause Event. - * + * * This event is dispatched by a Tween Timeline when it is paused. - * + * * Listen to it from a Timeline instance using `Timeline.on('pause', listener)`, i.e.: - * + * * ```javascript * var timeline = this.tweens.timeline({ * targets: image, @@ -25,7 +25,7 @@ * * @event Phaser.Tweens.Events#TIMELINE_PAUSE * @since 3.0.0 - * + * * @param {Phaser.Tweens.Timeline} timeline - A reference to the Timeline instance that emitted the event. */ module.exports = 'pause'; diff --git a/src/tweens/events/TIMELINE_RESUME_EVENT.js b/src/tweens/events/TIMELINE_RESUME_EVENT.js index e05896652..f4342393a 100644 --- a/src/tweens/events/TIMELINE_RESUME_EVENT.js +++ b/src/tweens/events/TIMELINE_RESUME_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Timeline Resume Event. - * + * * This event is dispatched by a Tween Timeline when it is resumed from a paused state. - * + * * Listen to it from a Timeline instance using `Timeline.on('resume', listener)`, i.e.: - * + * * ```javascript * var timeline = this.tweens.timeline({ * targets: image, @@ -25,7 +25,7 @@ * * @event Phaser.Tweens.Events#TIMELINE_RESUME * @since 3.0.0 - * + * * @param {Phaser.Tweens.Timeline} timeline - A reference to the Timeline instance that emitted the event. */ module.exports = 'resume'; diff --git a/src/tweens/events/TIMELINE_START_EVENT.js b/src/tweens/events/TIMELINE_START_EVENT.js index 33f19bdca..19fac8d7d 100644 --- a/src/tweens/events/TIMELINE_START_EVENT.js +++ b/src/tweens/events/TIMELINE_START_EVENT.js @@ -1,16 +1,16 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Timeline Start Event. - * + * * This event is dispatched by a Tween Timeline when it starts. - * + * * Listen to it from a Timeline instance using `Timeline.on('start', listener)`, i.e.: - * + * * ```javascript * var timeline = this.tweens.timeline({ * targets: image, @@ -24,7 +24,7 @@ * * @event Phaser.Tweens.Events#TIMELINE_START * @since 3.0.0 - * + * * @param {Phaser.Tweens.Timeline} timeline - A reference to the Timeline instance that emitted the event. */ module.exports = 'start'; diff --git a/src/tweens/events/TIMELINE_UPDATE_EVENT.js b/src/tweens/events/TIMELINE_UPDATE_EVENT.js index 0d6bccb69..c59007888 100644 --- a/src/tweens/events/TIMELINE_UPDATE_EVENT.js +++ b/src/tweens/events/TIMELINE_UPDATE_EVENT.js @@ -1,17 +1,17 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Timeline Update Event. - * + * * This event is dispatched by a Tween Timeline every time it updates, which can happen a lot of times per second, * so be careful about listening to this event unless you absolutely require it. - * + * * Listen to it from a Timeline instance using `Timeline.on('update', listener)`, i.e.: - * + * * ```javascript * var timeline = this.tweens.timeline({ * targets: image, @@ -25,7 +25,7 @@ * * @event Phaser.Tweens.Events#TIMELINE_UPDATE * @since 3.0.0 - * + * * @param {Phaser.Tweens.Timeline} timeline - A reference to the Timeline instance that emitted the event. */ module.exports = 'update'; diff --git a/src/tweens/events/TWEEN_ACTIVE_EVENT.js b/src/tweens/events/TWEEN_ACTIVE_EVENT.js index b7a0f9f47..d005f5163 100644 --- a/src/tweens/events/TWEEN_ACTIVE_EVENT.js +++ b/src/tweens/events/TWEEN_ACTIVE_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Tween Active Event. - * + * * This event is dispatched by a Tween when it becomes active within the Tween Manager. - * + * * An 'active' Tween is one that is now progressing, although it may not yet be updating * any target properties, due to settings such as `delay`. If you need an event for when * the Tween starts actually updating its first property, see `TWEEN_START`. - * + * * Listen to it from a Tween instance using `Tween.on('active', listener)`, i.e.: - * + * * ```javascript * var tween = this.tweens.add({ * targets: image, @@ -27,7 +27,7 @@ * * @event Phaser.Tweens.Events#TWEEN_ACTIVE * @since 3.19.0 - * + * * @param {Phaser.Tweens.Tween} tween - A reference to the Tween instance that emitted the event. * @param {any[]} targets - An array of references to the target/s the Tween is operating on. */ diff --git a/src/tweens/events/TWEEN_COMPLETE_EVENT.js b/src/tweens/events/TWEEN_COMPLETE_EVENT.js index e3f81d3c0..a09a28671 100644 --- a/src/tweens/events/TWEEN_COMPLETE_EVENT.js +++ b/src/tweens/events/TWEEN_COMPLETE_EVENT.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Tween Complete Event. - * + * * This event is dispatched by a Tween when it completes playback entirely, factoring in repeats and loops. - * + * * If the Tween has been set to loop or repeat infinitely, this event will not be dispatched * unless the `Tween.stop` method is called. - * + * * If a Tween has a `completeDelay` set, this event will fire after that delay expires. - * + * * Listen to it from a Tween instance using `Tween.on('complete', listener)`, i.e.: - * + * * ```javascript * var tween = this.tweens.add({ * targets: image, @@ -28,7 +28,7 @@ * * @event Phaser.Tweens.Events#TWEEN_COMPLETE * @since 3.19.0 - * + * * @param {Phaser.Tweens.Tween} tween - A reference to the Tween instance that emitted the event. * @param {any[]} targets - An array of references to the target/s the Tween is operating on. */ diff --git a/src/tweens/events/TWEEN_LOOP_EVENT.js b/src/tweens/events/TWEEN_LOOP_EVENT.js index bd08dcb55..640402ef4 100644 --- a/src/tweens/events/TWEEN_LOOP_EVENT.js +++ b/src/tweens/events/TWEEN_LOOP_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Tween Loop Event. - * + * * This event is dispatched by a Tween when it loops. - * + * * This event will only be dispatched if the Tween has a loop count set. - * + * * If a Tween has a `loopDelay` set, this event will fire after that delay expires. - * + * * The difference between `loop` and `repeat` is that `repeat` is a property setting, * where-as `loop` applies to the entire Tween. - * + * * Listen to it from a Tween instance using `Tween.on('loop', listener)`, i.e.: - * + * * ```javascript * var tween = this.tweens.add({ * targets: image, @@ -31,7 +31,7 @@ * * @event Phaser.Tweens.Events#TWEEN_LOOP * @since 3.19.0 - * + * * @param {Phaser.Tweens.Tween} tween - A reference to the Tween instance that emitted the event. * @param {any[]} targets - An array of references to the target/s the Tween is operating on. */ diff --git a/src/tweens/events/TWEEN_REPEAT_EVENT.js b/src/tweens/events/TWEEN_REPEAT_EVENT.js index e45e49d7c..0ca12e025 100644 --- a/src/tweens/events/TWEEN_REPEAT_EVENT.js +++ b/src/tweens/events/TWEEN_REPEAT_EVENT.js @@ -1,23 +1,23 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Tween Repeat Event. - * + * * This event is dispatched by a Tween when one of the properties it is tweening repeats. - * + * * This event will only be dispatched if the Tween has a property with a repeat count set. - * + * * If a Tween has a `repeatDelay` set, this event will fire after that delay expires. - * + * * The difference between `loop` and `repeat` is that `repeat` is a property setting, * where-as `loop` applies to the entire Tween. - * + * * Listen to it from a Tween instance using `Tween.on('repeat', listener)`, i.e.: - * + * * ```javascript * var tween = this.tweens.add({ * targets: image, @@ -31,7 +31,7 @@ * * @event Phaser.Tweens.Events#TWEEN_REPEAT * @since 3.19.0 - * + * * @param {Phaser.Tweens.Tween} tween - A reference to the Tween instance that emitted the event. * @param {string} key - The key of the property that just repeated. * @param {any} target - The target that the property just repeated on. diff --git a/src/tweens/events/TWEEN_START_EVENT.js b/src/tweens/events/TWEEN_START_EVENT.js index c2e140063..7f392bf32 100644 --- a/src/tweens/events/TWEEN_START_EVENT.js +++ b/src/tweens/events/TWEEN_START_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Tween Start Event. - * + * * This event is dispatched by a Tween when it starts tweening its first property. - * + * * A Tween will only emit this event once, as it can only start once. - * + * * If a Tween has a `delay` set, this event will fire after that delay expires. - * + * * Listen to it from a Tween instance using `Tween.on('start', listener)`, i.e.: - * + * * ```javascript * var tween = this.tweens.add({ * targets: image, @@ -27,7 +27,7 @@ * * @event Phaser.Tweens.Events#TWEEN_START * @since 3.19.0 - * + * * @param {Phaser.Tweens.Tween} tween - A reference to the Tween instance that emitted the event. * @param {any[]} targets - An array of references to the target/s the Tween is operating on. */ diff --git a/src/tweens/events/TWEEN_STOP_EVENT.js b/src/tweens/events/TWEEN_STOP_EVENT.js index 2a41dbdd2..064ea2e32 100644 --- a/src/tweens/events/TWEEN_STOP_EVENT.js +++ b/src/tweens/events/TWEEN_STOP_EVENT.js @@ -1,6 +1,6 @@ /** * @author samme - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/events/TWEEN_UPDATE_EVENT.js b/src/tweens/events/TWEEN_UPDATE_EVENT.js index c128a7a15..df43a7cf6 100644 --- a/src/tweens/events/TWEEN_UPDATE_EVENT.js +++ b/src/tweens/events/TWEEN_UPDATE_EVENT.js @@ -1,20 +1,20 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Tween Update Event. - * + * * This event is dispatched by a Tween every time it updates _any_ of the properties it is tweening. - * + * * A Tween that is changing 3 properties of a target will emit this event 3 times per change, once per property. - * + * * **Note:** This is a very high frequency event and may be dispatched multiple times, every single frame. - * + * * Listen to it from a Tween instance using `Tween.on('update', listener)`, i.e.: - * + * * ```javascript * var tween = this.tweens.add({ * targets: image, @@ -27,7 +27,7 @@ * * @event Phaser.Tweens.Events#TWEEN_UPDATE * @since 3.19.0 - * + * * @param {Phaser.Tweens.Tween} tween - A reference to the Tween instance that emitted the event. * @param {string} key - The property that was updated, i.e. `x` or `scale`. * @param {any} target - The target object that was updated. Usually a Game Object, but can be of any type. diff --git a/src/tweens/events/TWEEN_YOYO_EVENT.js b/src/tweens/events/TWEEN_YOYO_EVENT.js index 75c3b967a..1d274ccab 100644 --- a/src/tweens/events/TWEEN_YOYO_EVENT.js +++ b/src/tweens/events/TWEEN_YOYO_EVENT.js @@ -1,24 +1,24 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Tween Yoyo Event. - * + * * This event is dispatched by a Tween whenever a property it is tweening yoyos. - * + * * This event will only be dispatched if the Tween has a property with `yoyo` set. - * + * * If the Tween has a `hold` value, this event is dispatched when the hold expires. - * + * * This event is dispatched for every property, and for every target, that yoyos. * For example, if a Tween was updating 2 properties and had 10 targets, this event * would be dispatched 20 times (twice per target). So be careful how you use it! - * + * * Listen to it from a Tween instance using `Tween.on('yoyo', listener)`, i.e.: - * + * * ```javascript * var tween = this.tweens.add({ * targets: image, @@ -32,7 +32,7 @@ * * @event Phaser.Tweens.Events#TWEEN_YOYO * @since 3.19.0 - * + * * @param {Phaser.Tweens.Tween} tween - A reference to the Tween instance that emitted the event. * @param {string} key - The property that yoyo'd, i.e. `x` or `scale`. * @param {any} target - The target object that was yoyo'd. Usually a Game Object, but can be of any type. diff --git a/src/tweens/events/index.js b/src/tweens/events/index.js index efe2ae567..fe22c25a0 100644 --- a/src/tweens/events/index.js +++ b/src/tweens/events/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/index.js b/src/tweens/index.js index e6ddd953d..763368889 100644 --- a/src/tweens/index.js +++ b/src/tweens/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/tween/Defaults.js b/src/tweens/tween/Defaults.js index 27fe29ab9..174c5b2e6 100644 --- a/src/tweens/tween/Defaults.js +++ b/src/tweens/tween/Defaults.js @@ -1,13 +1,13 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @typedef {object} Phaser.Types.Tweens.TweenConfigDefaults * @since 3.0.0 - * + * * @property {(object|object[])} targets - The object, or an array of objects, to run the tween on. * @property {number} [delay=0] - The number of milliseconds to delay before the tween will start. * @property {number} [duration=1000] - The duration of the tween in milliseconds. diff --git a/src/tweens/tween/ReservedProps.js b/src/tweens/tween/ReservedProps.js index 502cf2543..a696f3364 100644 --- a/src/tweens/tween/ReservedProps.js +++ b/src/tweens/tween/ReservedProps.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/tween/Tween.js b/src/tweens/tween/Tween.js index ed34ab5c5..5025a7ed6 100644 --- a/src/tweens/tween/Tween.js +++ b/src/tweens/tween/Tween.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/tween/TweenData.js b/src/tweens/tween/TweenData.js index ba993217f..277ae4eea 100644 --- a/src/tweens/tween/TweenData.js +++ b/src/tweens/tween/TweenData.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/tweens/tween/const.js b/src/tweens/tween/const.js index c08334dca..15eacbe78 100644 --- a/src/tweens/tween/const.js +++ b/src/tweens/tween/const.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,7 +8,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.CREATED * @type {number} * @since 3.0.0 @@ -17,7 +17,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.INIT * @type {number} * @since 3.0.0 @@ -26,7 +26,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.DELAY * @type {number} * @since 3.0.0 @@ -35,7 +35,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.OFFSET_DELAY * @type {number} * @since 3.0.0 @@ -44,7 +44,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.PENDING_RENDER * @type {number} * @since 3.0.0 @@ -53,7 +53,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.PLAYING_FORWARD * @type {number} * @since 3.0.0 @@ -62,7 +62,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.PLAYING_BACKWARD * @type {number} * @since 3.0.0 @@ -71,7 +71,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.HOLD_DELAY * @type {number} * @since 3.0.0 @@ -80,7 +80,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.REPEAT_DELAY * @type {number} * @since 3.0.0 @@ -89,7 +89,7 @@ var TWEEN_CONST = { /** * TweenData state. - * + * * @name Phaser.Tweens.COMPLETE * @type {number} * @since 3.0.0 @@ -100,7 +100,7 @@ var TWEEN_CONST = { /** * Tween state. - * + * * @name Phaser.Tweens.PENDING_ADD * @type {number} * @since 3.0.0 @@ -109,7 +109,7 @@ var TWEEN_CONST = { /** * Tween state. - * + * * @name Phaser.Tweens.PAUSED * @type {number} * @since 3.0.0 @@ -118,7 +118,7 @@ var TWEEN_CONST = { /** * Tween state. - * + * * @name Phaser.Tweens.LOOP_DELAY * @type {number} * @since 3.0.0 @@ -127,7 +127,7 @@ var TWEEN_CONST = { /** * Tween state. - * + * * @name Phaser.Tweens.ACTIVE * @type {number} * @since 3.0.0 @@ -136,7 +136,7 @@ var TWEEN_CONST = { /** * Tween state. - * + * * @name Phaser.Tweens.COMPLETE_DELAY * @type {number} * @since 3.0.0 @@ -145,7 +145,7 @@ var TWEEN_CONST = { /** * Tween state. - * + * * @name Phaser.Tweens.PENDING_REMOVE * @type {number} * @since 3.0.0 @@ -154,7 +154,7 @@ var TWEEN_CONST = { /** * Tween state. - * + * * @name Phaser.Tweens.REMOVED * @type {number} * @since 3.0.0 diff --git a/src/tweens/typedefs/index.js b/src/tweens/typedefs/index.js index 7bf3557e6..ad62f0b32 100644 --- a/src/tweens/typedefs/index.js +++ b/src/tweens/typedefs/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/Class.js b/src/utils/Class.js index d34bccce2..06361a041 100644 --- a/src/utils/Class.js +++ b/src/utils/Class.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/NOOP.js b/src/utils/NOOP.js index f4a4bead6..2e7c77961 100644 --- a/src/utils/NOOP.js +++ b/src/utils/NOOP.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/Add.js b/src/utils/array/Add.js index 375160018..5711f0e69 100644 --- a/src/utils/array/Add.js +++ b/src/utils/array/Add.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/AddAt.js b/src/utils/array/AddAt.js index 2d020e442..304162090 100644 --- a/src/utils/array/AddAt.js +++ b/src/utils/array/AddAt.js @@ -1,21 +1,21 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Adds the given item, or array of items, to the array starting at the index specified. - * + * * Each item must be unique within the array. - * + * * Existing elements in the array are shifted up. - * + * * The array is modified in-place and returned. - * + * * You can optionally specify a limit to the maximum size of the array. If the quantity of items being * added will take the array length over this limit, it will stop adding once the limit is reached. - * + * * You can optionally specify a callback to be invoked for each item successfully added to the array. * * @function Phaser.Utils.Array.AddAt diff --git a/src/utils/array/BringToTop.js b/src/utils/array/BringToTop.js index 49c257533..f40d0340c 100644 --- a/src/utils/array/BringToTop.js +++ b/src/utils/array/BringToTop.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/CountAllMatching.js b/src/utils/array/CountAllMatching.js index 61ba5a46b..69b360f0e 100644 --- a/src/utils/array/CountAllMatching.js +++ b/src/utils/array/CountAllMatching.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/Each.js b/src/utils/array/Each.js index bf3aa8a6e..544ded008 100644 --- a/src/utils/array/Each.js +++ b/src/utils/array/Each.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/EachInRange.js b/src/utils/array/EachInRange.js index eaefbf73f..59f2cee0a 100644 --- a/src/utils/array/EachInRange.js +++ b/src/utils/array/EachInRange.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/FindClosestInSorted.js b/src/utils/array/FindClosestInSorted.js index 30ce0f5cb..5bfa48309 100644 --- a/src/utils/array/FindClosestInSorted.js +++ b/src/utils/array/FindClosestInSorted.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/GetAll.js b/src/utils/array/GetAll.js index d89649aba..d7b5802e7 100644 --- a/src/utils/array/GetAll.js +++ b/src/utils/array/GetAll.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/GetFirst.js b/src/utils/array/GetFirst.js index 278b8784d..cac601119 100644 --- a/src/utils/array/GetFirst.js +++ b/src/utils/array/GetFirst.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/GetRandom.js b/src/utils/array/GetRandom.js index fbd1718f7..39d5981fa 100644 --- a/src/utils/array/GetRandom.js +++ b/src/utils/array/GetRandom.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/MoveAbove.js b/src/utils/array/MoveAbove.js index 4ffc403dd..b9b6fc0a4 100644 --- a/src/utils/array/MoveAbove.js +++ b/src/utils/array/MoveAbove.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,7 +14,7 @@ * @param {array} array - The input array. * @param {*} item1 - The element to move above base element. * @param {*} item2 - The base element. - * + * * * @return {array} The input array. */ diff --git a/src/utils/array/MoveBelow.js b/src/utils/array/MoveBelow.js index bdc40bdaf..ffeada785 100644 --- a/src/utils/array/MoveBelow.js +++ b/src/utils/array/MoveBelow.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,7 +14,7 @@ * @param {array} array - The input array. * @param {*} item1 - The element to move below base element. * @param {*} item2 - The base element. - * + * * * @return {array} The input array. */ diff --git a/src/utils/array/MoveDown.js b/src/utils/array/MoveDown.js index ca94cd0dd..a740249ca 100644 --- a/src/utils/array/MoveDown.js +++ b/src/utils/array/MoveDown.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/MoveTo.js b/src/utils/array/MoveTo.js index 4d926c99c..066f6dba2 100644 --- a/src/utils/array/MoveTo.js +++ b/src/utils/array/MoveTo.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/MoveUp.js b/src/utils/array/MoveUp.js index 793608ade..10caf7bf7 100644 --- a/src/utils/array/MoveUp.js +++ b/src/utils/array/MoveUp.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/NumberArray.js b/src/utils/array/NumberArray.js index 1287478fc..8126ab07b 100644 --- a/src/utils/array/NumberArray.js +++ b/src/utils/array/NumberArray.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/NumberArrayStep.js b/src/utils/array/NumberArrayStep.js index a17bed252..dc0c4d7ea 100644 --- a/src/utils/array/NumberArrayStep.js +++ b/src/utils/array/NumberArrayStep.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -14,7 +14,7 @@ var RoundAwayFromZero = require('../../math/RoundAwayFromZero'); * * Certain values for `start` and `end` (eg. NaN/undefined/null) are currently coerced to 0; * for forward compatibility make sure to pass in actual numbers. - * + * * @example * NumberArrayStep(4); * // => [0, 1, 2, 3] diff --git a/src/utils/array/QuickSelect.js b/src/utils/array/QuickSelect.js index 083758cef..8390ce60a 100644 --- a/src/utils/array/QuickSelect.js +++ b/src/utils/array/QuickSelect.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/Range.js b/src/utils/array/Range.js index 4ba2d804b..db689cc86 100644 --- a/src/utils/array/Range.js +++ b/src/utils/array/Range.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -30,29 +30,29 @@ var BuildChunk = function (a, b, qty) * * Range ([a,b,c], [1,2,3]) = * a1, a2, a3, b1, b2, b3, c1, c2, c3 - * + * * Range ([a,b], [1,2,3], qty = 3) = * a1, a1, a1, a2, a2, a2, a3, a3, a3, b1, b1, b1, b2, b2, b2, b3, b3, b3 - * + * * Range ([a,b,c], [1,2,3], repeat x1) = * a1, a2, a3, b1, b2, b3, c1, c2, c3, a1, a2, a3, b1, b2, b3, c1, c2, c3 - * + * * Range ([a,b], [1,2], repeat -1 = endless, max = 14) = * Maybe if max is set then repeat goes to -1 automatically? * a1, a2, b1, b2, a1, a2, b1, b2, a1, a2, b1, b2, a1, a2 (capped at 14 elements) - * + * * Range ([a], [1,2,3,4,5], random = true) = * a4, a1, a5, a2, a3 - * + * * Range ([a, b], [1,2,3], random = true) = * b3, a2, a1, b1, a3, b2 - * + * * Range ([a, b, c], [1,2,3], randomB = true) = * a3, a1, a2, b2, b3, b1, c1, c3, c2 - * + * * Range ([a], [1,2,3,4,5], yoyo = true) = * a1, a2, a3, a4, a5, a5, a4, a3, a2, a1 - * + * * Range ([a, b], [1,2,3], yoyo = true) = * a1, a2, a3, b1, b2, b3, b3, b2, b1, a3, a2, a1 * diff --git a/src/utils/array/Remove.js b/src/utils/array/Remove.js index 024f8a5b7..629a5828f 100644 --- a/src/utils/array/Remove.js +++ b/src/utils/array/Remove.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/RemoveAt.js b/src/utils/array/RemoveAt.js index 1f0174e8f..9eecc385e 100644 --- a/src/utils/array/RemoveAt.js +++ b/src/utils/array/RemoveAt.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,9 +8,9 @@ var SpliceOne = require('./SpliceOne'); /** * Removes the item from the given position in the array. - * + * * The array is modified in-place. - * + * * You can optionally specify a callback to be invoked for the item if it is successfully removed from the array. * * @function Phaser.Utils.Array.RemoveAt diff --git a/src/utils/array/RemoveBetween.js b/src/utils/array/RemoveBetween.js index 39fa8526b..00f18e107 100644 --- a/src/utils/array/RemoveBetween.js +++ b/src/utils/array/RemoveBetween.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,9 +8,9 @@ var SafeRange = require('./SafeRange'); /** * Removes the item within the given range in the array. - * + * * The array is modified in-place. - * + * * You can optionally specify a callback to be invoked for the item/s successfully removed from the array. * * @function Phaser.Utils.Array.RemoveBetween diff --git a/src/utils/array/RemoveRandomElement.js b/src/utils/array/RemoveRandomElement.js index d70c098a1..2fd2b6636 100644 --- a/src/utils/array/RemoveRandomElement.js +++ b/src/utils/array/RemoveRandomElement.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/Replace.js b/src/utils/array/Replace.js index aab5fd2e9..fc3829c81 100644 --- a/src/utils/array/Replace.js +++ b/src/utils/array/Replace.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/RotateLeft.js b/src/utils/array/RotateLeft.js index 04ae48a5b..f950af7cc 100644 --- a/src/utils/array/RotateLeft.js +++ b/src/utils/array/RotateLeft.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/RotateRight.js b/src/utils/array/RotateRight.js index bcd185cc6..eed315f9b 100644 --- a/src/utils/array/RotateRight.js +++ b/src/utils/array/RotateRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/SafeRange.js b/src/utils/array/SafeRange.js index 1bf7a93aa..f4d061c44 100644 --- a/src/utils/array/SafeRange.js +++ b/src/utils/array/SafeRange.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Tests if the start and end indexes are a safe range for the given array. - * + * * @function Phaser.Utils.Array.SafeRange * @since 3.4.0 * diff --git a/src/utils/array/SendToBack.js b/src/utils/array/SendToBack.js index 97834c3b1..232c04f75 100644 --- a/src/utils/array/SendToBack.js +++ b/src/utils/array/SendToBack.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/SetAll.js b/src/utils/array/SetAll.js index d2dfe4950..2d9052233 100644 --- a/src/utils/array/SetAll.js +++ b/src/utils/array/SetAll.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/Shuffle.js b/src/utils/array/Shuffle.js index 6ee815587..288681395 100644 --- a/src/utils/array/Shuffle.js +++ b/src/utils/array/Shuffle.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/SortByDigits.js b/src/utils/array/SortByDigits.js index e5b621c6c..0ac59b387 100644 --- a/src/utils/array/SortByDigits.js +++ b/src/utils/array/SortByDigits.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/SpliceOne.js b/src/utils/array/SpliceOne.js index 0bc7d4328..abde456fa 100644 --- a/src/utils/array/SpliceOne.js +++ b/src/utils/array/SpliceOne.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/StableSort.js b/src/utils/array/StableSort.js index daaaaa716..08487e8aa 100644 --- a/src/utils/array/StableSort.js +++ b/src/utils/array/StableSort.js @@ -1,7 +1,7 @@ /** * @author Richard Davey * @author Angry Bytes (and contributors) - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/Swap.js b/src/utils/array/Swap.js index 0521bbda8..19d868247 100644 --- a/src/utils/array/Swap.js +++ b/src/utils/array/Swap.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/index.js b/src/utils/array/index.js index 30e4c15f3..44e425a7e 100644 --- a/src/utils/array/index.js +++ b/src/utils/array/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/CheckMatrix.js b/src/utils/array/matrix/CheckMatrix.js index b2b078dae..884392d6b 100644 --- a/src/utils/array/matrix/CheckMatrix.js +++ b/src/utils/array/matrix/CheckMatrix.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/MatrixToString.js b/src/utils/array/matrix/MatrixToString.js index a9b79a489..6f5996c7d 100644 --- a/src/utils/array/matrix/MatrixToString.js +++ b/src/utils/array/matrix/MatrixToString.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/ReverseColumns.js b/src/utils/array/matrix/ReverseColumns.js index ed2de076d..5344fef88 100644 --- a/src/utils/array/matrix/ReverseColumns.js +++ b/src/utils/array/matrix/ReverseColumns.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/ReverseRows.js b/src/utils/array/matrix/ReverseRows.js index ec839ce5b..7876e9fa0 100644 --- a/src/utils/array/matrix/ReverseRows.js +++ b/src/utils/array/matrix/ReverseRows.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/Rotate180.js b/src/utils/array/matrix/Rotate180.js index 099102f39..163f67b37 100644 --- a/src/utils/array/matrix/Rotate180.js +++ b/src/utils/array/matrix/Rotate180.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/RotateLeft.js b/src/utils/array/matrix/RotateLeft.js index c404d357a..0dd5ffee2 100644 --- a/src/utils/array/matrix/RotateLeft.js +++ b/src/utils/array/matrix/RotateLeft.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/RotateMatrix.js b/src/utils/array/matrix/RotateMatrix.js index 841594b13..958aa31d9 100644 --- a/src/utils/array/matrix/RotateMatrix.js +++ b/src/utils/array/matrix/RotateMatrix.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/RotateRight.js b/src/utils/array/matrix/RotateRight.js index fcb8e3b2b..c26e886bc 100644 --- a/src/utils/array/matrix/RotateRight.js +++ b/src/utils/array/matrix/RotateRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/TranslateMatrix.js b/src/utils/array/matrix/TranslateMatrix.js index daae10ea5..e6c7e3d49 100644 --- a/src/utils/array/matrix/TranslateMatrix.js +++ b/src/utils/array/matrix/TranslateMatrix.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/TransposeMatrix.js b/src/utils/array/matrix/TransposeMatrix.js index a6df7fb5f..129f5e919 100644 --- a/src/utils/array/matrix/TransposeMatrix.js +++ b/src/utils/array/matrix/TransposeMatrix.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/array/matrix/index.js b/src/utils/array/matrix/index.js index 91bd253c4..6942f671d 100644 --- a/src/utils/array/matrix/index.js +++ b/src/utils/array/matrix/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/base64/ArrayBufferToBase64.js b/src/utils/base64/ArrayBufferToBase64.js index 79ee1768f..4874db388 100644 --- a/src/utils/base64/ArrayBufferToBase64.js +++ b/src/utils/base64/ArrayBufferToBase64.js @@ -1,7 +1,7 @@ /** * @author Niklas von Hertzen (https://github.com/niklasvh/base64-arraybuffer) * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,17 +9,17 @@ var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; /** * Converts an ArrayBuffer into a base64 string. - * + * * The resulting string can optionally be a data uri if the `mediaType` argument is provided. - * + * * See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs for more details. * * @function Phaser.Utils.Base64.ArrayBufferToBase64 * @since 3.18.0 - * + * * @param {ArrayBuffer} arrayBuffer - The Array Buffer to encode. * @param {string} [mediaType] - An optional media type, i.e. `audio/ogg` or `image/jpeg`. If included the resulting string will be a data URI. - * + * * @return {string} The base64 encoded Array Buffer. */ var ArrayBufferToBase64 = function (arrayBuffer, mediaType) @@ -45,7 +45,7 @@ var ArrayBufferToBase64 = function (arrayBuffer, mediaType) { base64 = base64.substring(0, base64.length - 2) + '=='; } - + return base64; }; diff --git a/src/utils/base64/Base64ToArrayBuffer.js b/src/utils/base64/Base64ToArrayBuffer.js index 0a9b97110..0b05b9215 100644 --- a/src/utils/base64/Base64ToArrayBuffer.js +++ b/src/utils/base64/Base64ToArrayBuffer.js @@ -1,7 +1,7 @@ /** * @author Niklas von Hertzen (https://github.com/niklasvh/base64-arraybuffer) * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -20,9 +20,9 @@ for (var i = 0; i < chars.length; i++) * * @function Phaser.Utils.Base64.Base64ToArrayBuffer * @since 3.18.0 - * + * * @param {string} base64 - The base64 string to be decoded. Can optionally contain a data URI header, which will be stripped out prior to decoding. - * + * * @return {ArrayBuffer} An ArrayBuffer decoded from the base64 data. */ var Base64ToArrayBuffer = function (base64) diff --git a/src/utils/base64/index.js b/src/utils/base64/index.js index d52ccece2..844ad9578 100644 --- a/src/utils/base64/index.js +++ b/src/utils/base64/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/index.js b/src/utils/index.js index 3501be7f3..797cfb39a 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/Clone.js b/src/utils/object/Clone.js index 7fa44b2a5..be18080f2 100644 --- a/src/utils/object/Clone.js +++ b/src/utils/object/Clone.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/DeepCopy.js b/src/utils/object/DeepCopy.js index 87ace7b70..42470e0ad 100644 --- a/src/utils/object/DeepCopy.js +++ b/src/utils/object/DeepCopy.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/Extend.js b/src/utils/object/Extend.js index 77be93611..c984c5663 100644 --- a/src/utils/object/Extend.js +++ b/src/utils/object/Extend.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/GetAdvancedValue.js b/src/utils/object/GetAdvancedValue.js index 222362729..c195c9a44 100644 --- a/src/utils/object/GetAdvancedValue.js +++ b/src/utils/object/GetAdvancedValue.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -11,7 +11,7 @@ var GetValue = require('./GetValue'); * Retrieves a value from an object. Allows for more advanced selection options, including: * * Allowed types: - * + * * Implicit * { * x: 4 @@ -36,7 +36,7 @@ var GetValue = require('./GetValue'); * { * x: { randFloat: [min, max] } * } - * + * * * @function Phaser.Utils.Objects.GetAdvancedValue * @since 3.0.0 diff --git a/src/utils/object/GetFastValue.js b/src/utils/object/GetFastValue.js index c7163b06d..2882f8cf8 100644 --- a/src/utils/object/GetFastValue.js +++ b/src/utils/object/GetFastValue.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/GetMinMaxValue.js b/src/utils/object/GetMinMaxValue.js index 9bc49d7a4..5b246f7df 100644 --- a/src/utils/object/GetMinMaxValue.js +++ b/src/utils/object/GetMinMaxValue.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/GetValue.js b/src/utils/object/GetValue.js index c58679a8e..75c659f20 100644 --- a/src/utils/object/GetValue.js +++ b/src/utils/object/GetValue.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/HasAll.js b/src/utils/object/HasAll.js index 4ddd97106..0804aac4c 100644 --- a/src/utils/object/HasAll.js +++ b/src/utils/object/HasAll.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/HasAny.js b/src/utils/object/HasAny.js index f7dfa93d0..0e0b2726f 100644 --- a/src/utils/object/HasAny.js +++ b/src/utils/object/HasAny.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/HasValue.js b/src/utils/object/HasValue.js index 9a8085774..9dd7c53a8 100644 --- a/src/utils/object/HasValue.js +++ b/src/utils/object/HasValue.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/IsPlainObject.js b/src/utils/object/IsPlainObject.js index 9ab025365..4d33d5765 100644 --- a/src/utils/object/IsPlainObject.js +++ b/src/utils/object/IsPlainObject.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/Merge.js b/src/utils/object/Merge.js index 48aa963d9..d9c6fa557 100644 --- a/src/utils/object/Merge.js +++ b/src/utils/object/Merge.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -9,7 +9,7 @@ var Clone = require('./Clone'); /** * Creates a new Object using all values from obj1 and obj2. * If a value exists in both obj1 and obj2, the value in obj1 is used. - * + * * This is only a shallow copy. Deeply nested objects are not cloned, so be sure to only use this * function on shallow objects. * diff --git a/src/utils/object/MergeRight.js b/src/utils/object/MergeRight.js index ce5825b26..5d9577f47 100644 --- a/src/utils/object/MergeRight.js +++ b/src/utils/object/MergeRight.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -8,7 +8,7 @@ var Clone = require('./Clone'); /** * Creates a new Object using all values from obj1. - * + * * Then scans obj2. If a property is found in obj2 that *also* exists in obj1, the value from obj2 is used, otherwise the property is skipped. * * @function Phaser.Utils.Objects.MergeRight diff --git a/src/utils/object/Pick.js b/src/utils/object/Pick.js index 5bd377c26..f510a871e 100644 --- a/src/utils/object/Pick.js +++ b/src/utils/object/Pick.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/object/SetValue.js b/src/utils/object/SetValue.js index c62157081..c74edaafc 100644 --- a/src/utils/object/SetValue.js +++ b/src/utils/object/SetValue.js @@ -1,14 +1,14 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Sets a value in an object, allowing for dot notation to control the depth of the property. - * + * * For example: - * + * * ```javascript * var data = { * world: { @@ -18,9 +18,9 @@ * } * } * }; - * + * * SetValue(data, 'world.position.y', 300); - * + * * console.log(data.world.position.y); // 300 * ``` * @@ -70,7 +70,7 @@ var SetValue = function (source, key, value) return true; } - + return false; }; diff --git a/src/utils/object/index.js b/src/utils/object/index.js index 0a230d2f7..9991dd5dc 100644 --- a/src/utils/object/index.js +++ b/src/utils/object/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/string/Format.js b/src/utils/string/Format.js index 0aaae0993..de9e89fd5 100644 --- a/src/utils/string/Format.js +++ b/src/utils/string/Format.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/string/Pad.js b/src/utils/string/Pad.js index 90fe97b1f..b44945eb1 100644 --- a/src/utils/string/Pad.js +++ b/src/utils/string/Pad.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ @@ -13,13 +13,13 @@ * This would return: `bob---` as it has padded it out to 6 characters, using the `-` on the right. * * You can also use it to pad numbers (they are always returned as strings): - * + * * `pad(512, 6, '0', 1)` * * Would return: `000512` with the string padded to the left. * * If you don't specify a direction it'll pad to both sides: - * + * * `pad('c64', 7, '*')` * * Would return: `**c64**` @@ -31,7 +31,7 @@ * @param {number} [len=0] - The number of characters to be added. * @param {string} [pad=" "] - The string to pad it out with (defaults to a space). * @param {number} [dir=3] - The direction dir = 1 (left), 2 (right), 3 (both). - * + * * @return {string} The padded string. */ var Pad = function (str, len, pad, dir) diff --git a/src/utils/string/RemoveAt.js b/src/utils/string/RemoveAt.js index 3feda51cc..09ca5022e 100644 --- a/src/utils/string/RemoveAt.js +++ b/src/utils/string/RemoveAt.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/string/Reverse.js b/src/utils/string/Reverse.js index 22bfeba63..8d75944d9 100644 --- a/src/utils/string/Reverse.js +++ b/src/utils/string/Reverse.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/string/UUID.js b/src/utils/string/UUID.js index 37c2518be..ab3c59650 100644 --- a/src/utils/string/UUID.js +++ b/src/utils/string/UUID.js @@ -1,12 +1,12 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Creates and returns an RFC4122 version 4 compliant UUID. - * + * * The string is in the form: `xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx` where each `x` is replaced with a random * hexadecimal digit from 0 to f, and `y` is replaced with a random hexadecimal digit from 8 to b. * diff --git a/src/utils/string/UppercaseFirst.js b/src/utils/string/UppercaseFirst.js index e19e3b36d..6315259ff 100644 --- a/src/utils/string/UppercaseFirst.js +++ b/src/utils/string/UppercaseFirst.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ diff --git a/src/utils/string/index.js b/src/utils/string/index.js index 77d25f491..7ba98adcd 100644 --- a/src/utils/string/index.js +++ b/src/utils/string/index.js @@ -1,6 +1,6 @@ /** * @author Richard Davey - * @copyright 2020 Photon Storm Ltd. + * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */