diff --git a/src/actions/Angle.js b/src/actions/Angle.js index aaa6cc240..fced197f5 100644 --- a/src/actions/Angle.js +++ b/src/actions/Angle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/Call.js b/src/actions/Call.js index c5e6dc08e..830425189 100644 --- a/src/actions/Call.js +++ b/src/actions/Call.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/GetFirst.js b/src/actions/GetFirst.js index c802135c1..027005260 100644 --- a/src/actions/GetFirst.js +++ b/src/actions/GetFirst.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // compare = Object: // { // scaleX: 0.5, diff --git a/src/actions/GridAlign.js b/src/actions/GridAlign.js index 041c62897..0487fc581 100644 --- a/src/actions/GridAlign.js +++ b/src/actions/GridAlign.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var AlignIn = require('../display/align/in/QuickSet'); var CONST = require('../display/align/const'); var GetValue = require('../utils/object/GetValue'); diff --git a/src/actions/IncAlpha.js b/src/actions/IncAlpha.js index 3cb8427eb..d88f8fc24 100644 --- a/src/actions/IncAlpha.js +++ b/src/actions/IncAlpha.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/IncX.js b/src/actions/IncX.js index bfddb3633..67a85e6be 100644 --- a/src/actions/IncX.js +++ b/src/actions/IncX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/IncXY.js b/src/actions/IncXY.js index 1df2ca37c..e706d9c0d 100644 --- a/src/actions/IncXY.js +++ b/src/actions/IncXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/IncY.js b/src/actions/IncY.js index 05f0347bb..377dea5ed 100644 --- a/src/actions/IncY.js +++ b/src/actions/IncY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/PlaceOnCircle.js b/src/actions/PlaceOnCircle.js index 4699dbebe..7c7cfdf14 100644 --- a/src/actions/PlaceOnCircle.js +++ b/src/actions/PlaceOnCircle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/PlaceOnEllipse.js b/src/actions/PlaceOnEllipse.js index 65233c1ec..9af83d0f5 100644 --- a/src/actions/PlaceOnEllipse.js +++ b/src/actions/PlaceOnEllipse.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/PlaceOnLine.js b/src/actions/PlaceOnLine.js index 34f698767..d7dc82358 100644 --- a/src/actions/PlaceOnLine.js +++ b/src/actions/PlaceOnLine.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetPoints = require('../geom/line/GetPoints'); /** diff --git a/src/actions/PlaceOnRectangle.js b/src/actions/PlaceOnRectangle.js index 9fb830101..999c9ab10 100644 --- a/src/actions/PlaceOnRectangle.js +++ b/src/actions/PlaceOnRectangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MarchingAnts = require('../geom/rectangle/MarchingAnts'); var RotateLeft = require('../utils/array/RotateLeft'); var RotateRight = require('../utils/array/RotateRight'); diff --git a/src/actions/PlaceOnTriangle.js b/src/actions/PlaceOnTriangle.js index 906bd8c20..f703289ee 100644 --- a/src/actions/PlaceOnTriangle.js +++ b/src/actions/PlaceOnTriangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // var GetPointsOnLine = require('../geom/line/GetPointsOnLine'); var BresenhamPoints = require('../geom/line/BresenhamPoints'); diff --git a/src/actions/PlayAnimation.js b/src/actions/PlayAnimation.js index 309a70445..3f58b33bd 100644 --- a/src/actions/PlayAnimation.js +++ b/src/actions/PlayAnimation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/RandomCircle.js b/src/actions/RandomCircle.js index 1d0453248..c94196f3e 100644 --- a/src/actions/RandomCircle.js +++ b/src/actions/RandomCircle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Random = require('../geom/circle/Random'); /** diff --git a/src/actions/RandomEllipse.js b/src/actions/RandomEllipse.js index 49576060f..0f8444ed7 100644 --- a/src/actions/RandomEllipse.js +++ b/src/actions/RandomEllipse.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Random = require('../geom/ellipse/Random'); /** diff --git a/src/actions/RandomLine.js b/src/actions/RandomLine.js index f9021f89c..b0739c2ed 100644 --- a/src/actions/RandomLine.js +++ b/src/actions/RandomLine.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Random = require('../geom/line/Random'); /** diff --git a/src/actions/RandomRectangle.js b/src/actions/RandomRectangle.js index fa743353b..1a33d2528 100644 --- a/src/actions/RandomRectangle.js +++ b/src/actions/RandomRectangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Random = require('../geom/rectangle/Random'); /** diff --git a/src/actions/RandomTriangle.js b/src/actions/RandomTriangle.js index 2f562e4fe..987bfef59 100644 --- a/src/actions/RandomTriangle.js +++ b/src/actions/RandomTriangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Random = require('../geom/triangle/Random'); /** diff --git a/src/actions/Rotate.js b/src/actions/Rotate.js index 28ef36a83..2c5436e8b 100644 --- a/src/actions/Rotate.js +++ b/src/actions/Rotate.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/RotateAround.js b/src/actions/RotateAround.js index 13301f1d3..15d234dc5 100644 --- a/src/actions/RotateAround.js +++ b/src/actions/RotateAround.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RotateAroundDistance = require('../math/RotateAroundDistance'); var DistanceBetween = require('../math/distance/DistanceBetween'); diff --git a/src/actions/RotateAroundDistance.js b/src/actions/RotateAroundDistance.js index 020aa74d6..f7adff392 100644 --- a/src/actions/RotateAroundDistance.js +++ b/src/actions/RotateAroundDistance.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MathRotateAroundDistance = require('../math/RotateAroundDistance'); /** diff --git a/src/actions/ScaleX.js b/src/actions/ScaleX.js index b82e3bd45..85b25a0d0 100644 --- a/src/actions/ScaleX.js +++ b/src/actions/ScaleX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/ScaleXY.js b/src/actions/ScaleXY.js index 4d3521cd4..446176c15 100644 --- a/src/actions/ScaleXY.js +++ b/src/actions/ScaleXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/ScaleY.js b/src/actions/ScaleY.js index fc4f1a914..5dc7ebd4f 100644 --- a/src/actions/ScaleY.js +++ b/src/actions/ScaleY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetAlpha.js b/src/actions/SetAlpha.js index fc19f2fd5..2f481f04c 100644 --- a/src/actions/SetAlpha.js +++ b/src/actions/SetAlpha.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetBlendMode.js b/src/actions/SetBlendMode.js index 47c362142..05c60bbed 100644 --- a/src/actions/SetBlendMode.js +++ b/src/actions/SetBlendMode.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetDepth.js b/src/actions/SetDepth.js index d9ebcceef..d87bb4741 100644 --- a/src/actions/SetDepth.js +++ b/src/actions/SetDepth.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetHitArea.js b/src/actions/SetHitArea.js index 098d93ebf..f9eed8f4c 100644 --- a/src/actions/SetHitArea.js +++ b/src/actions/SetHitArea.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetOrigin.js b/src/actions/SetOrigin.js index 5f5f4f2c3..d6bd2afc3 100644 --- a/src/actions/SetOrigin.js +++ b/src/actions/SetOrigin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetRotation.js b/src/actions/SetRotation.js index 109529bda..375dc0b70 100644 --- a/src/actions/SetRotation.js +++ b/src/actions/SetRotation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetScale.js b/src/actions/SetScale.js index ee29b1c91..13eee7575 100644 --- a/src/actions/SetScale.js +++ b/src/actions/SetScale.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetScaleX.js b/src/actions/SetScaleX.js index abbcde240..213c043f4 100644 --- a/src/actions/SetScaleX.js +++ b/src/actions/SetScaleX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetScaleY.js b/src/actions/SetScaleY.js index 0b37a0b87..ce27b9021 100644 --- a/src/actions/SetScaleY.js +++ b/src/actions/SetScaleY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetTint.js b/src/actions/SetTint.js index efbc3845b..90de9ce0d 100644 --- a/src/actions/SetTint.js +++ b/src/actions/SetTint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetVisible.js b/src/actions/SetVisible.js index b6622bd4f..4d44f74fa 100644 --- a/src/actions/SetVisible.js +++ b/src/actions/SetVisible.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetX.js b/src/actions/SetX.js index 8f299ef14..5fc15ef3f 100644 --- a/src/actions/SetX.js +++ b/src/actions/SetX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetXY.js b/src/actions/SetXY.js index 58b106e3e..46f463c82 100644 --- a/src/actions/SetXY.js +++ b/src/actions/SetXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/SetY.js b/src/actions/SetY.js index 6482e00d5..e4be04a13 100644 --- a/src/actions/SetY.js +++ b/src/actions/SetY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/ShiftPosition.js b/src/actions/ShiftPosition.js index 2dd94931c..e8b4c50c3 100644 --- a/src/actions/ShiftPosition.js +++ b/src/actions/ShiftPosition.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Vector2 = require('../math/Vector2'); // Iterate through items changing the position of each element to diff --git a/src/actions/Shuffle.js b/src/actions/Shuffle.js index 0c5397381..877b04312 100644 --- a/src/actions/Shuffle.js +++ b/src/actions/Shuffle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ArrayShuffle = require('../utils/array/Shuffle'); /** diff --git a/src/actions/SmoothStep.js b/src/actions/SmoothStep.js index 0aee0a0dc..2146d49a0 100644 --- a/src/actions/SmoothStep.js +++ b/src/actions/SmoothStep.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MathSmoothStep = require('../math/SmoothStep'); /** diff --git a/src/actions/SmootherStep.js b/src/actions/SmootherStep.js index f5d5c3a6d..17cfdab74 100644 --- a/src/actions/SmootherStep.js +++ b/src/actions/SmootherStep.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MathSmootherStep = require('../math/SmootherStep'); /** diff --git a/src/actions/Spread.js b/src/actions/Spread.js index a2297aa5e..c89c05ab5 100644 --- a/src/actions/Spread.js +++ b/src/actions/Spread.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/ToggleVisible.js b/src/actions/ToggleVisible.js index 5d0d12c17..0d0a04694 100644 --- a/src/actions/ToggleVisible.js +++ b/src/actions/ToggleVisible.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/actions/index.js b/src/actions/index.js index ea47efc62..498d7941d 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Actions */ diff --git a/src/animations/Animation.js b/src/animations/Animation.js index e0293abb1..c842e69c3 100644 --- a/src/animations/Animation.js +++ b/src/animations/Animation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var Frame = require('./AnimationFrame'); var GetValue = require('../utils/object/GetValue'); diff --git a/src/animations/AnimationFrame.js b/src/animations/AnimationFrame.js index 2c57b0f1a..2747e8dd0 100644 --- a/src/animations/AnimationFrame.js +++ b/src/animations/AnimationFrame.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); /** diff --git a/src/animations/AnimationManager.js b/src/animations/AnimationManager.js index 6a6f5d4ce..140134962 100644 --- a/src/animations/AnimationManager.js +++ b/src/animations/AnimationManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Animation = require('./Animation'); var Class = require('../utils/Class'); var CustomMap = require('../structs/Map'); diff --git a/src/animations/index.js b/src/animations/index.js index 92d308cd1..044320c70 100644 --- a/src/animations/index.js +++ b/src/animations/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Animations */ diff --git a/src/boot/Config.js b/src/boot/Config.js index c4ebfa174..fbea6c0d1 100644 --- a/src/boot/Config.js +++ b/src/boot/Config.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var CONST = require('../const'); var DefaultScenePlugins = require('../plugins/DefaultScenePlugins'); diff --git a/src/boot/CreateRenderer.js b/src/boot/CreateRenderer.js index 4d56a1ffc..08ab81264 100644 --- a/src/boot/CreateRenderer.js +++ b/src/boot/CreateRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CanvasInterpolation = require('../display/canvas/CanvasInterpolation'); var CanvasPool = require('../display/canvas/CanvasPool'); var CONST = require('../const'); diff --git a/src/boot/DebugHeader.js b/src/boot/DebugHeader.js index 3e4f09335..c5015f156 100644 --- a/src/boot/DebugHeader.js +++ b/src/boot/DebugHeader.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CHECKSUM = require('../checksum'); var CONST = require('../const'); diff --git a/src/boot/Game.js b/src/boot/Game.js index 83a8c60cc..64f83dd74 100644 --- a/src/boot/Game.js +++ b/src/boot/Game.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var AddToDOM = require('../dom/AddToDOM'); var AnimationManager = require('../animations/AnimationManager'); var CacheManager = require('../cache/CacheManager'); diff --git a/src/boot/TimeStep.js b/src/boot/TimeStep.js index 48184d0dd..71b42369d 100644 --- a/src/boot/TimeStep.js +++ b/src/boot/TimeStep.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var GetValue = require('../utils/object/GetValue'); var NOOP = require('../utils/NOOP'); diff --git a/src/boot/VisibilityHandler.js b/src/boot/VisibilityHandler.js index c7ee9d453..12feb1c27 100644 --- a/src/boot/VisibilityHandler.js +++ b/src/boot/VisibilityHandler.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Visibility Handler hidden event. * diff --git a/src/boot/index.js b/src/boot/index.js index 929e9cbf2..c4abab543 100644 --- a/src/boot/index.js +++ b/src/boot/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Boot */ diff --git a/src/cache/BaseCache.js b/src/cache/BaseCache.js index f20a73fb2..6fba88334 100644 --- a/src/cache/BaseCache.js +++ b/src/cache/BaseCache.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var CustomMap = require('../structs/Map'); var EventEmitter = require('eventemitter3'); diff --git a/src/cache/CacheManager.js b/src/cache/CacheManager.js index 01307f2ee..aac75bbb4 100644 --- a/src/cache/CacheManager.js +++ b/src/cache/CacheManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BaseCache = require('./BaseCache'); var Class = require('../utils/Class'); diff --git a/src/cache/index.js b/src/cache/index.js index cf664c2de..be726d7f1 100644 --- a/src/cache/index.js +++ b/src/cache/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Cache */ diff --git a/src/cameras/2d/Camera.js b/src/cameras/2d/Camera.js index d5ec0157b..0349b9797 100644 --- a/src/cameras/2d/Camera.js +++ b/src/cameras/2d/Camera.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var DegToRad = require('../../math/DegToRad'); var Rectangle = require('../../geom/rectangle/Rectangle'); diff --git a/src/cameras/2d/CameraManager.js b/src/cameras/2d/CameraManager.js index 21b3deac5..d8b9379e5 100644 --- a/src/cameras/2d/CameraManager.js +++ b/src/cameras/2d/CameraManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Camera = require('./Camera'); var Class = require('../../utils/Class'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/cameras/2d/index.js b/src/cameras/2d/index.js index d73fcc5dc..5f1902db8 100644 --- a/src/cameras/2d/index.js +++ b/src/cameras/2d/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Cameras.Scene2D */ diff --git a/src/cameras/controls/FixedKeyControl.js b/src/cameras/controls/FixedKeyControl.js index 27b6699e8..17ac3a807 100644 --- a/src/cameras/controls/FixedKeyControl.js +++ b/src/cameras/controls/FixedKeyControl.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetValue = require('../../utils/object/GetValue'); diff --git a/src/cameras/controls/SmoothedKeyControl.js b/src/cameras/controls/SmoothedKeyControl.js index 3e2b1bf65..24e85dc49 100644 --- a/src/cameras/controls/SmoothedKeyControl.js +++ b/src/cameras/controls/SmoothedKeyControl.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetValue = require('../../utils/object/GetValue'); diff --git a/src/cameras/controls/index.js b/src/cameras/controls/index.js index 86b4c1c44..4177ca478 100644 --- a/src/cameras/controls/index.js +++ b/src/cameras/controls/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Cameras.Controls */ diff --git a/src/cameras/index.js b/src/cameras/index.js index 39e15b10d..88d064195 100644 --- a/src/cameras/index.js +++ b/src/cameras/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Cameras */ diff --git a/src/cameras/sprite3d/Camera.js b/src/cameras/sprite3d/Camera.js index f6394aa8d..2d339c656 100644 --- a/src/cameras/sprite3d/Camera.js +++ b/src/cameras/sprite3d/Camera.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Matrix4 = require('../../math/Matrix4'); var RandomXYZ = require('../../math/RandomXYZ'); diff --git a/src/cameras/sprite3d/CameraManager.js b/src/cameras/sprite3d/CameraManager.js index 9dfc68b6c..97088812b 100644 --- a/src/cameras/sprite3d/CameraManager.js +++ b/src/cameras/sprite3d/CameraManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var OrthographicCamera = require('./OrthographicCamera'); var PerspectiveCamera = require('./PerspectiveCamera'); diff --git a/src/cameras/sprite3d/OrthographicCamera.js b/src/cameras/sprite3d/OrthographicCamera.js index d54efab23..c1a3427a6 100644 --- a/src/cameras/sprite3d/OrthographicCamera.js +++ b/src/cameras/sprite3d/OrthographicCamera.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Camera = require('./Camera'); var Class = require('../../utils/Class'); var Vector3 = require('../../math/Vector3'); diff --git a/src/cameras/sprite3d/PerspectiveCamera.js b/src/cameras/sprite3d/PerspectiveCamera.js index ac8808ba6..82fbbc572 100644 --- a/src/cameras/sprite3d/PerspectiveCamera.js +++ b/src/cameras/sprite3d/PerspectiveCamera.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Camera = require('./Camera'); var Class = require('../../utils/Class'); var Vector3 = require('../../math/Vector3'); diff --git a/src/cameras/sprite3d/index.js b/src/cameras/sprite3d/index.js index d7030e955..51417acef 100644 --- a/src/cameras/sprite3d/index.js +++ b/src/cameras/sprite3d/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Cameras.Sprite3D */ diff --git a/src/const.js b/src/const.js index 8848ac437..85b438e2f 100644 --- a/src/const.js +++ b/src/const.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CONST = { /** diff --git a/src/create/GenerateTexture.js b/src/create/GenerateTexture.js index 5814e37b4..10da3c43a 100644 --- a/src/create/GenerateTexture.js +++ b/src/create/GenerateTexture.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Arne16 = require('./palettes/Arne16'); var CanvasPool = require('../display/canvas/CanvasPool'); var GetValue = require('../utils/object/GetValue'); diff --git a/src/create/index.js b/src/create/index.js index 2ab1d4a7c..e107cdfaf 100644 --- a/src/create/index.js +++ b/src/create/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Create */ diff --git a/src/create/palettes/Arne16.js b/src/create/palettes/Arne16.js index a0f384018..cd94e402b 100644 --- a/src/create/palettes/Arne16.js +++ b/src/create/palettes/Arne16.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @constant * @name Phaser.Create.Palettes.ARNE16 diff --git a/src/create/palettes/C64.js b/src/create/palettes/C64.js index 0347ebd79..5e46b1ef7 100644 --- a/src/create/palettes/C64.js +++ b/src/create/palettes/C64.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @constant * @name Phaser.Create.Palettes.C64 diff --git a/src/create/palettes/CGA.js b/src/create/palettes/CGA.js index 446834eb4..5d3bc3525 100644 --- a/src/create/palettes/CGA.js +++ b/src/create/palettes/CGA.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @constant * @name Phaser.Create.Palettes.CGA diff --git a/src/create/palettes/JMP.js b/src/create/palettes/JMP.js index 86a96066c..89166891a 100644 --- a/src/create/palettes/JMP.js +++ b/src/create/palettes/JMP.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @constant * @name Phaser.Create.Palettes.JMP diff --git a/src/create/palettes/MSX.js b/src/create/palettes/MSX.js index 726bd542b..f32263a4a 100644 --- a/src/create/palettes/MSX.js +++ b/src/create/palettes/MSX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @constant * @name Phaser.Create.Palettes.MSX diff --git a/src/create/palettes/index.js b/src/create/palettes/index.js index 5605f85a6..f9345c7bd 100644 --- a/src/create/palettes/index.js +++ b/src/create/palettes/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Create.Palettes module.exports = { diff --git a/src/curves/cubicbezier/CubicBezierCurve.js b/src/curves/cubicbezier/CubicBezierCurve.js index a8e3fdc89..a8a2e2d79 100644 --- a/src/curves/cubicbezier/CubicBezierCurve.js +++ b/src/curves/cubicbezier/CubicBezierCurve.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on the three.js Curve classes created by [zz85](http://www.lab4games.net/zz85/blog) var Class = require('../../utils/Class'); diff --git a/src/curves/curve/Curve.js b/src/curves/curve/Curve.js index da7c91137..f39e4850a 100644 --- a/src/curves/curve/Curve.js +++ b/src/curves/curve/Curve.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var FromPoints = require('../../geom/rectangle/FromPoints'); var Rectangle = require('../../geom/rectangle/Rectangle'); diff --git a/src/curves/ellipse/EllipseCurve.js b/src/curves/ellipse/EllipseCurve.js index 9cd9fc263..34c771418 100644 --- a/src/curves/ellipse/EllipseCurve.js +++ b/src/curves/ellipse/EllipseCurve.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on the three.js Curve classes created by [zz85](http://www.lab4games.net/zz85/blog) var Class = require('../../utils/Class'); diff --git a/src/curves/index.js b/src/curves/index.js index e6ea61a35..108174e50 100644 --- a/src/curves/index.js +++ b/src/curves/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Curves */ diff --git a/src/curves/line/LineCurve.js b/src/curves/line/LineCurve.js index 042b862d8..8b951b0f1 100644 --- a/src/curves/line/LineCurve.js +++ b/src/curves/line/LineCurve.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on the three.js Curve classes created by [zz85](http://www.lab4games.net/zz85/blog) var Class = require('../../utils/Class'); diff --git a/src/curves/path/MoveTo.js b/src/curves/path/MoveTo.js index bf2b52739..ecbb9b161 100644 --- a/src/curves/path/MoveTo.js +++ b/src/curves/path/MoveTo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Vector2 = require('../../math/Vector2'); diff --git a/src/curves/path/Path.js b/src/curves/path/Path.js index 831e2b668..c951e4dab 100644 --- a/src/curves/path/Path.js +++ b/src/curves/path/Path.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on the three.js Curve classes created by [zz85](http://www.lab4games.net/zz85/blog) var Class = require('../../utils/Class'); diff --git a/src/curves/spline/SplineCurve.js b/src/curves/spline/SplineCurve.js index a34765f68..0e2214a73 100644 --- a/src/curves/spline/SplineCurve.js +++ b/src/curves/spline/SplineCurve.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on the three.js Curve classes created by [zz85](http://www.lab4games.net/zz85/blog) var CatmullRom = require('../../math/CatmullRom'); diff --git a/src/data/DataManager.js b/src/data/DataManager.js index 8fef41825..ce98501a3 100644 --- a/src/data/DataManager.js +++ b/src/data/DataManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); // Phaser.Data.DataManager diff --git a/src/data/DataManagerPlugin.js b/src/data/DataManagerPlugin.js index 5dcac16f2..00fa80320 100644 --- a/src/data/DataManagerPlugin.js +++ b/src/data/DataManagerPlugin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var DataManager = require('./DataManager'); var PluginManager = require('../plugins/PluginManager'); diff --git a/src/data/index.js b/src/data/index.js index de352960c..4b4d1b707 100644 --- a/src/data/index.js +++ b/src/data/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Data */ diff --git a/src/device/Audio.js b/src/device/Audio.js index ec438ec19..5f0db1419 100644 --- a/src/device/Audio.js +++ b/src/device/Audio.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Browser = require('./Browser'); /** diff --git a/src/device/Browser.js b/src/device/Browser.js index 15b2b94a9..c1241a118 100644 --- a/src/device/Browser.js +++ b/src/device/Browser.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var OS = require('./OS'); /** diff --git a/src/device/CanvasFeatures.js b/src/device/CanvasFeatures.js index fe9c99572..8308983c5 100644 --- a/src/device/CanvasFeatures.js +++ b/src/device/CanvasFeatures.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CanvasPool = require('../display/canvas/CanvasPool'); /** diff --git a/src/device/Features.js b/src/device/Features.js index 5191de6c0..918fbcbb8 100644 --- a/src/device/Features.js +++ b/src/device/Features.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var OS = require('./OS'); var Browser = require('./Browser'); var CanvasPool = require('../display/canvas/CanvasPool'); diff --git a/src/device/Fullscreen.js b/src/device/Fullscreen.js index 0a8b124c8..75ba1659e 100644 --- a/src/device/Fullscreen.js +++ b/src/device/Fullscreen.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Determines the full screen support of the browser running this Phaser Game instance. * These values are read-only and populated during the boot sequence of the game. diff --git a/src/device/Input.js b/src/device/Input.js index 3969c9ddc..b6e928ef1 100644 --- a/src/device/Input.js +++ b/src/device/Input.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var OS = require('./OS'); var Browser = require('./Browser'); diff --git a/src/device/OS.js b/src/device/OS.js index c9c76ba4e..8d1edea4e 100644 --- a/src/device/OS.js +++ b/src/device/OS.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Determines the operating system of the device running this Phaser Game instance. * These values are read-only and populated during the boot sequence of the game. diff --git a/src/device/Video.js b/src/device/Video.js index 1ca54c9f5..7ea9291ef 100644 --- a/src/device/Video.js +++ b/src/device/Video.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Determines the video support of the browser running this Phaser Game instance. * These values are read-only and populated during the boot sequence of the game. diff --git a/src/device/index.js b/src/device/index.js index 09548d1d7..f4cd11acf 100644 --- a/src/device/index.js +++ b/src/device/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // This singleton is instantiated as soon as Phaser loads, // before a Phaser.Game instance has even been created. // Which means all instances of Phaser Games can share it, diff --git a/src/display/align/const.js b/src/display/align/const.js index b552e8365..fc8a2f33f 100644 --- a/src/display/align/const.js +++ b/src/display/align/const.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ALIGN_CONST = { /** diff --git a/src/display/align/in/BottomCenter.js b/src/display/align/in/BottomCenter.js index fffce6a1d..906120df6 100644 --- a/src/display/align/in/BottomCenter.js +++ b/src/display/align/in/BottomCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBottom = require('../../bounds/GetBottom'); var GetCenterX = require('../../bounds/GetCenterX'); var SetBottom = require('../../bounds/SetBottom'); diff --git a/src/display/align/in/BottomLeft.js b/src/display/align/in/BottomLeft.js index bdd060f18..bec4d8c1d 100644 --- a/src/display/align/in/BottomLeft.js +++ b/src/display/align/in/BottomLeft.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBottom = require('../../bounds/GetBottom'); var GetLeft = require('../../bounds/GetLeft'); var SetBottom = require('../../bounds/SetBottom'); diff --git a/src/display/align/in/BottomRight.js b/src/display/align/in/BottomRight.js index ca70720d0..17e7cb09d 100644 --- a/src/display/align/in/BottomRight.js +++ b/src/display/align/in/BottomRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBottom = require('../../bounds/GetBottom'); var GetRight = require('../../bounds/GetRight'); var SetBottom = require('../../bounds/SetBottom'); diff --git a/src/display/align/in/Center.js b/src/display/align/in/Center.js index c219b9c49..5a9224e0c 100644 --- a/src/display/align/in/Center.js +++ b/src/display/align/in/Center.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CenterOn = require('../../bounds/CenterOn'); var GetCenterX = require('../../bounds/GetCenterX'); var GetCenterY = require('../../bounds/GetCenterY'); diff --git a/src/display/align/in/LeftCenter.js b/src/display/align/in/LeftCenter.js index a123a8e31..0e344770b 100644 --- a/src/display/align/in/LeftCenter.js +++ b/src/display/align/in/LeftCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetCenterY = require('../../bounds/GetCenterY'); var GetLeft = require('../../bounds/GetLeft'); var SetCenterY = require('../../bounds/SetCenterY'); diff --git a/src/display/align/in/QuickSet.js b/src/display/align/in/QuickSet.js index 80051aa78..e658706a1 100644 --- a/src/display/align/in/QuickSet.js +++ b/src/display/align/in/QuickSet.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ALIGN_CONST = require('../const'); var AlignInMap = []; diff --git a/src/display/align/in/RightCenter.js b/src/display/align/in/RightCenter.js index 0549cb504..481083b39 100644 --- a/src/display/align/in/RightCenter.js +++ b/src/display/align/in/RightCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetCenterY = require('../../bounds/GetCenterY'); var GetRight = require('../../bounds/GetRight'); var SetCenterY = require('../../bounds/SetCenterY'); diff --git a/src/display/align/in/TopCenter.js b/src/display/align/in/TopCenter.js index e3c34d46f..e603bef2b 100644 --- a/src/display/align/in/TopCenter.js +++ b/src/display/align/in/TopCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetCenterX = require('../../bounds/GetCenterX'); var GetTop = require('../../bounds/GetTop'); var SetCenterX = require('../../bounds/SetCenterX'); diff --git a/src/display/align/in/TopLeft.js b/src/display/align/in/TopLeft.js index b3189b6bd..3f37834ba 100644 --- a/src/display/align/in/TopLeft.js +++ b/src/display/align/in/TopLeft.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetLeft = require('../../bounds/GetLeft'); var GetTop = require('../../bounds/GetTop'); var SetLeft = require('../../bounds/SetLeft'); diff --git a/src/display/align/in/TopRight.js b/src/display/align/in/TopRight.js index fb7a2c483..862b4d62b 100644 --- a/src/display/align/in/TopRight.js +++ b/src/display/align/in/TopRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetRight = require('../../bounds/GetRight'); var GetTop = require('../../bounds/GetTop'); var SetRight = require('../../bounds/SetRight'); diff --git a/src/display/align/in/index.js b/src/display/align/in/index.js index e0690af06..76097cb44 100644 --- a/src/display/align/in/index.js +++ b/src/display/align/in/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Display.Align.In */ diff --git a/src/display/align/index.js b/src/display/align/index.js index 9c880093b..85d2af5f8 100644 --- a/src/display/align/index.js +++ b/src/display/align/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Display.Align */ diff --git a/src/display/align/to/BottomCenter.js b/src/display/align/to/BottomCenter.js index 6c081974e..232f9a265 100644 --- a/src/display/align/to/BottomCenter.js +++ b/src/display/align/to/BottomCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBottom = require('../../bounds/GetBottom'); var GetCenterX = require('../../bounds/GetCenterX'); var SetCenterX = require('../../bounds/SetCenterX'); diff --git a/src/display/align/to/BottomLeft.js b/src/display/align/to/BottomLeft.js index e9baeb7ad..edf4b3608 100644 --- a/src/display/align/to/BottomLeft.js +++ b/src/display/align/to/BottomLeft.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBottom = require('../../bounds/GetBottom'); var GetLeft = require('../../bounds/GetLeft'); var SetLeft = require('../../bounds/SetLeft'); diff --git a/src/display/align/to/BottomRight.js b/src/display/align/to/BottomRight.js index 386f6f1ee..a1bb56265 100644 --- a/src/display/align/to/BottomRight.js +++ b/src/display/align/to/BottomRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBottom = require('../../bounds/GetBottom'); var GetRight = require('../../bounds/GetRight'); var SetRight = require('../../bounds/SetRight'); diff --git a/src/display/align/to/LeftBottom.js b/src/display/align/to/LeftBottom.js index 336f9cc16..41b34f0d6 100644 --- a/src/display/align/to/LeftBottom.js +++ b/src/display/align/to/LeftBottom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBottom = require('../../bounds/GetBottom'); var GetLeft = require('../../bounds/GetLeft'); var SetBottom = require('../../bounds/SetBottom'); diff --git a/src/display/align/to/LeftCenter.js b/src/display/align/to/LeftCenter.js index fa923049c..7eeac3f6a 100644 --- a/src/display/align/to/LeftCenter.js +++ b/src/display/align/to/LeftCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetCenterY = require('../../bounds/GetCenterY'); var GetLeft = require('../../bounds/GetLeft'); var SetCenterY = require('../../bounds/SetCenterY'); diff --git a/src/display/align/to/LeftTop.js b/src/display/align/to/LeftTop.js index 29276938d..87ac9ca13 100644 --- a/src/display/align/to/LeftTop.js +++ b/src/display/align/to/LeftTop.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetLeft = require('../../bounds/GetLeft'); var GetTop = require('../../bounds/GetTop'); var SetRight = require('../../bounds/SetRight'); diff --git a/src/display/align/to/RightBottom.js b/src/display/align/to/RightBottom.js index edb0ad340..43653f3a0 100644 --- a/src/display/align/to/RightBottom.js +++ b/src/display/align/to/RightBottom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBottom = require('../../bounds/GetBottom'); var GetRight = require('../../bounds/GetRight'); var SetBottom = require('../../bounds/SetBottom'); diff --git a/src/display/align/to/RightCenter.js b/src/display/align/to/RightCenter.js index d329f11ca..b227371c4 100644 --- a/src/display/align/to/RightCenter.js +++ b/src/display/align/to/RightCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetCenterY = require('../../bounds/GetCenterY'); var GetRight = require('../../bounds/GetRight'); var SetCenterY = require('../../bounds/SetCenterY'); diff --git a/src/display/align/to/RightTop.js b/src/display/align/to/RightTop.js index ef0ae3087..270d31e3b 100644 --- a/src/display/align/to/RightTop.js +++ b/src/display/align/to/RightTop.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetRight = require('../../bounds/GetRight'); var GetTop = require('../../bounds/GetTop'); var SetLeft = require('../../bounds/SetLeft'); diff --git a/src/display/align/to/TopCenter.js b/src/display/align/to/TopCenter.js index 6ac8e438a..ea3f4a18e 100644 --- a/src/display/align/to/TopCenter.js +++ b/src/display/align/to/TopCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetCenterX = require('../../bounds/GetCenterX'); var GetTop = require('../../bounds/GetTop'); var SetBottom = require('../../bounds/SetBottom'); diff --git a/src/display/align/to/TopLeft.js b/src/display/align/to/TopLeft.js index de9d39f37..090291e40 100644 --- a/src/display/align/to/TopLeft.js +++ b/src/display/align/to/TopLeft.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetLeft = require('../../bounds/GetLeft'); var GetTop = require('../../bounds/GetTop'); var SetBottom = require('../../bounds/SetBottom'); diff --git a/src/display/align/to/TopRight.js b/src/display/align/to/TopRight.js index d711d9962..19c14f1e5 100644 --- a/src/display/align/to/TopRight.js +++ b/src/display/align/to/TopRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetRight = require('../../bounds/GetRight'); var GetTop = require('../../bounds/GetTop'); var SetBottom = require('../../bounds/SetBottom'); diff --git a/src/display/align/to/index.js b/src/display/align/to/index.js index bca163055..914810b7e 100644 --- a/src/display/align/to/index.js +++ b/src/display/align/to/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Display.Align.To */ diff --git a/src/display/bounds/CenterOn.js b/src/display/bounds/CenterOn.js index c96255204..5ac3483ab 100644 --- a/src/display/bounds/CenterOn.js +++ b/src/display/bounds/CenterOn.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var SetCenterX = require('./SetCenterX'); var SetCenterY = require('./SetCenterY'); diff --git a/src/display/bounds/GetBottom.js b/src/display/bounds/GetBottom.js index a0188c970..5d62ed2d5 100644 --- a/src/display/bounds/GetBottom.js +++ b/src/display/bounds/GetBottom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the bottom coordinate from the bounds of the Game Object. * diff --git a/src/display/bounds/GetCenterX.js b/src/display/bounds/GetCenterX.js index 9ddd4e3e2..b8f90d31c 100644 --- a/src/display/bounds/GetCenterX.js +++ b/src/display/bounds/GetCenterX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the center x coordinate from the bounds of the Game Object. * diff --git a/src/display/bounds/GetCenterY.js b/src/display/bounds/GetCenterY.js index fe3f0c598..9bc2083ba 100644 --- a/src/display/bounds/GetCenterY.js +++ b/src/display/bounds/GetCenterY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the center y coordinate from the bounds of the Game Object. * diff --git a/src/display/bounds/GetLeft.js b/src/display/bounds/GetLeft.js index eb6a81178..88f42b523 100644 --- a/src/display/bounds/GetLeft.js +++ b/src/display/bounds/GetLeft.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the left coordinate from the bounds of the Game Object. * diff --git a/src/display/bounds/GetOffsetX.js b/src/display/bounds/GetOffsetX.js index cc36d0611..0881891a2 100644 --- a/src/display/bounds/GetOffsetX.js +++ b/src/display/bounds/GetOffsetX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the amount the Game Object is visually offset from its x coordinate. * This is the same as `width * origin.x`. diff --git a/src/display/bounds/GetOffsetY.js b/src/display/bounds/GetOffsetY.js index 92dfc30cf..379ca9413 100644 --- a/src/display/bounds/GetOffsetY.js +++ b/src/display/bounds/GetOffsetY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the amount the Game Object is visually offset from its y coordinate. * This is the same as `width * origin.y`. diff --git a/src/display/bounds/GetRight.js b/src/display/bounds/GetRight.js index 059594b0c..ea879523a 100644 --- a/src/display/bounds/GetRight.js +++ b/src/display/bounds/GetRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the right coordinate from the bounds of the Game Object. * diff --git a/src/display/bounds/GetTop.js b/src/display/bounds/GetTop.js index 5c3ee504e..4ee77ada8 100644 --- a/src/display/bounds/GetTop.js +++ b/src/display/bounds/GetTop.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the top coordinate from the bounds of the Game Object. * diff --git a/src/display/bounds/SetBottom.js b/src/display/bounds/SetBottom.js index dc5ee28cd..ae1812831 100644 --- a/src/display/bounds/SetBottom.js +++ b/src/display/bounds/SetBottom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Positions the Game Object so that the bottom of its bounds aligns with the given coordinate. * diff --git a/src/display/bounds/SetCenterX.js b/src/display/bounds/SetCenterX.js index 21dc69416..1a5d6ad61 100644 --- a/src/display/bounds/SetCenterX.js +++ b/src/display/bounds/SetCenterX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Positions the Game Object so that the center top of its bounds aligns with the given coordinate. * diff --git a/src/display/bounds/SetCenterY.js b/src/display/bounds/SetCenterY.js index dc03663f0..c126d78fb 100644 --- a/src/display/bounds/SetCenterY.js +++ b/src/display/bounds/SetCenterY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Positions the Game Object so that the center top of its bounds aligns with the given coordinate. * diff --git a/src/display/bounds/SetLeft.js b/src/display/bounds/SetLeft.js index 720bad462..65f54cc0b 100644 --- a/src/display/bounds/SetLeft.js +++ b/src/display/bounds/SetLeft.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Positions the Game Object so that the left of its bounds aligns with the given coordinate. * diff --git a/src/display/bounds/SetRight.js b/src/display/bounds/SetRight.js index 1ff525348..78fbe44a8 100644 --- a/src/display/bounds/SetRight.js +++ b/src/display/bounds/SetRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Positions the Game Object so that the left of its bounds aligns with the given coordinate. * diff --git a/src/display/bounds/SetTop.js b/src/display/bounds/SetTop.js index d7028f893..a393f2a81 100644 --- a/src/display/bounds/SetTop.js +++ b/src/display/bounds/SetTop.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Positions the Game Object so that the top of its bounds aligns with the given coordinate. * diff --git a/src/display/bounds/index.js b/src/display/bounds/index.js index 1bddd60e9..859662dd3 100644 --- a/src/display/bounds/index.js +++ b/src/display/bounds/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Display.Bounds */ diff --git a/src/display/canvas/CanvasInterpolation.js b/src/display/canvas/CanvasInterpolation.js index bdf276499..cc4e3fe53 100644 --- a/src/display/canvas/CanvasInterpolation.js +++ b/src/display/canvas/CanvasInterpolation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @module Phaser.Display.Canvas.CanvasInterpolation * @since 3.0.0 diff --git a/src/display/canvas/CanvasPool.js b/src/display/canvas/CanvasPool.js index b041ae005..6afb253a6 100644 --- a/src/display/canvas/CanvasPool.js +++ b/src/display/canvas/CanvasPool.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CONST = require('../../const'); var Smoothing = require('./Smoothing'); diff --git a/src/display/canvas/Smoothing.js b/src/display/canvas/Smoothing.js index dfe4fe43c..57aae6fbd 100644 --- a/src/display/canvas/Smoothing.js +++ b/src/display/canvas/Smoothing.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Browser specific prefix, so not going to change between contexts, only between browsers var prefix = ''; diff --git a/src/display/canvas/TouchAction.js b/src/display/canvas/TouchAction.js index e1c4bd285..7ecd4a3f7 100644 --- a/src/display/canvas/TouchAction.js +++ b/src/display/canvas/TouchAction.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Sets the touch-action property on the canvas style. Can be used to disable default browser touch actions. * diff --git a/src/display/canvas/UserSelect.js b/src/display/canvas/UserSelect.js index 5c21b203c..4e8b5ac1d 100644 --- a/src/display/canvas/UserSelect.js +++ b/src/display/canvas/UserSelect.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Sets the user-select property on the canvas style. Can be used to disable default browser selection actions. * diff --git a/src/display/canvas/index.js b/src/display/canvas/index.js index 3500b9546..1343deb37 100644 --- a/src/display/canvas/index.js +++ b/src/display/canvas/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Display.Canvas */ diff --git a/src/display/color/Color.js b/src/display/color/Color.js index 43afa965e..e6f66171b 100644 --- a/src/display/color/Color.js +++ b/src/display/color/Color.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetColor = require('./GetColor'); var GetColor32 = require('./GetColor32'); diff --git a/src/display/color/ColorToRGBA.js b/src/display/color/ColorToRGBA.js index aeb863f19..dfd2295df 100644 --- a/src/display/color/ColorToRGBA.js +++ b/src/display/color/ColorToRGBA.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @typedef {Object} ColorObject * @property {number} r - The red color value in the range 0 to 255. diff --git a/src/display/color/ComponentToHex.js b/src/display/color/ComponentToHex.js index c3ccd0dee..ec3f125a6 100644 --- a/src/display/color/ComponentToHex.js +++ b/src/display/color/ComponentToHex.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns a string containing a hex representation of the given color component. * diff --git a/src/display/color/GetColor.js b/src/display/color/GetColor.js index 0eb845809..8b25b9d4e 100644 --- a/src/display/color/GetColor.js +++ b/src/display/color/GetColor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Given 3 separate color values this will return an integer representation of it. * diff --git a/src/display/color/GetColor32.js b/src/display/color/GetColor32.js index 9baa328a2..8f3a13a4f 100644 --- a/src/display/color/GetColor32.js +++ b/src/display/color/GetColor32.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Given an alpha and 3 color values this will return an integer representation of it. * diff --git a/src/display/color/HSLToColor.js b/src/display/color/HSLToColor.js index 0f38fa291..6ede1fdd5 100644 --- a/src/display/color/HSLToColor.js +++ b/src/display/color/HSLToColor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Color = require('./Color'); var HueToComponent = require('./HueToComponent'); diff --git a/src/display/color/HSVColorWheel.js b/src/display/color/HSVColorWheel.js index ce54f37d1..0bdc4e787 100644 --- a/src/display/color/HSVColorWheel.js +++ b/src/display/color/HSVColorWheel.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var HSVToRGB = require('./HSVToRGB'); /** diff --git a/src/display/color/HSVToRGB.js b/src/display/color/HSVToRGB.js index 2c70ba147..cd5757e7f 100644 --- a/src/display/color/HSVToRGB.js +++ b/src/display/color/HSVToRGB.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetColor = require('./GetColor'); /** diff --git a/src/display/color/HexStringToColor.js b/src/display/color/HexStringToColor.js index 62829dacb..ebace58db 100644 --- a/src/display/color/HexStringToColor.js +++ b/src/display/color/HexStringToColor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Color = require('./Color'); /** diff --git a/src/display/color/HueToComponent.js b/src/display/color/HueToComponent.js index dc51c51bc..7be3c90fa 100644 --- a/src/display/color/HueToComponent.js +++ b/src/display/color/HueToComponent.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Converts a hue to an RGB color. * Based on code by Michael Jackson (https://github.com/mjijackson) diff --git a/src/display/color/IntegerToColor.js b/src/display/color/IntegerToColor.js index a9a5d8bd9..0ccb44e89 100644 --- a/src/display/color/IntegerToColor.js +++ b/src/display/color/IntegerToColor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Color = require('./Color'); var IntegerToRGB = require('./IntegerToRGB'); diff --git a/src/display/color/IntegerToRGB.js b/src/display/color/IntegerToRGB.js index 9953a7553..37e48e6b9 100644 --- a/src/display/color/IntegerToRGB.js +++ b/src/display/color/IntegerToRGB.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Return the component parts of a color as an Object with the properties alpha, red, green, blue. * diff --git a/src/display/color/Interpolate.js b/src/display/color/Interpolate.js index 1b6f33d7e..66255e2e8 100644 --- a/src/display/color/Interpolate.js +++ b/src/display/color/Interpolate.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Linear = require('../../math/interpolation/LinearInterpolation'); var RGBWithRGB = function (r1, g1, b1, r2, g2, b2, length, index) diff --git a/src/display/color/ObjectToColor.js b/src/display/color/ObjectToColor.js index 301c9303c..de9fae39f 100644 --- a/src/display/color/ObjectToColor.js +++ b/src/display/color/ObjectToColor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Color = require('./Color'); /** diff --git a/src/display/color/RGBStringToColor.js b/src/display/color/RGBStringToColor.js index 757e144b6..17521867f 100644 --- a/src/display/color/RGBStringToColor.js +++ b/src/display/color/RGBStringToColor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Color = require('./Color'); /** diff --git a/src/display/color/RGBToHSV.js b/src/display/color/RGBToHSV.js index 0b136f726..e38ad1bb9 100644 --- a/src/display/color/RGBToHSV.js +++ b/src/display/color/RGBToHSV.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Converts an RGB color value to HSV (hue, saturation and value). * Conversion forumla from http://en.wikipedia.org/wiki/HSL_color_space. diff --git a/src/display/color/RGBToString.js b/src/display/color/RGBToString.js index c13aa1169..834fb3ea1 100644 --- a/src/display/color/RGBToString.js +++ b/src/display/color/RGBToString.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ComponentToHex = require('./ComponentToHex'); /** diff --git a/src/display/color/RandomRGB.js b/src/display/color/RandomRGB.js index 83d23e8aa..f27642df9 100644 --- a/src/display/color/RandomRGB.js +++ b/src/display/color/RandomRGB.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Between = require('../../math/Between'); var Color = require('./Color'); diff --git a/src/display/color/ValueToColor.js b/src/display/color/ValueToColor.js index e3367d78a..e34b1ffdc 100644 --- a/src/display/color/ValueToColor.js +++ b/src/display/color/ValueToColor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var HexStringToColor = require('./HexStringToColor'); var IntegerToColor = require('./IntegerToColor'); var ObjectToColor = require('./ObjectToColor'); diff --git a/src/display/color/index.js b/src/display/color/index.js index c32db7df0..d9d94fbad 100644 --- a/src/display/color/index.js +++ b/src/display/color/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Display.Color */ diff --git a/src/display/index.js b/src/display/index.js index a4dc5efb2..749f5e097 100644 --- a/src/display/index.js +++ b/src/display/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Display */ diff --git a/src/display/mask/BitmapMask.js b/src/display/mask/BitmapMask.js index e0e12ae59..3aa8cf901 100644 --- a/src/display/mask/BitmapMask.js +++ b/src/display/mask/BitmapMask.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/display/mask/GeometryMask.js b/src/display/mask/GeometryMask.js index c789dfec7..f98236deb 100644 --- a/src/display/mask/GeometryMask.js +++ b/src/display/mask/GeometryMask.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/display/mask/index.js b/src/display/mask/index.js index a31dc1c32..387624029 100644 --- a/src/display/mask/index.js +++ b/src/display/mask/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Display.Masks */ diff --git a/src/dom/AddToDOM.js b/src/dom/AddToDOM.js index 3cf6146ea..b03b2650c 100644 --- a/src/dom/AddToDOM.js +++ b/src/dom/AddToDOM.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Adds the given element to the DOM. If a parent is provided the element is added as a child of the parent, providing it was able to access it. * If no parent was given or falls back to using `document.body`. diff --git a/src/dom/DOMContentLoaded.js b/src/dom/DOMContentLoaded.js index 47e154d75..4c52f0e41 100644 --- a/src/dom/DOMContentLoaded.js +++ b/src/dom/DOMContentLoaded.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var OS = require('../device/OS'); /** diff --git a/src/dom/ParseXML.js b/src/dom/ParseXML.js index 4335ae7e8..6ff2ef604 100644 --- a/src/dom/ParseXML.js +++ b/src/dom/ParseXML.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Takes the given data string and parses it as XML. * First tries to use the window.DOMParser and reverts to the Microsoft.XMLDOM if that fails. diff --git a/src/dom/RemoveFromDOM.js b/src/dom/RemoveFromDOM.js index 253625e20..7e2aad425 100644 --- a/src/dom/RemoveFromDOM.js +++ b/src/dom/RemoveFromDOM.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Attempts to remove the element from its parentNode in the DOM. * diff --git a/src/dom/RequestAnimationFrame.js b/src/dom/RequestAnimationFrame.js index a554e97f7..c52be07db 100644 --- a/src/dom/RequestAnimationFrame.js +++ b/src/dom/RequestAnimationFrame.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var NOOP = require('../utils/NOOP'); diff --git a/src/dom/index.js b/src/dom/index.js index 962412b22..c1ca3ce2d 100644 --- a/src/dom/index.js +++ b/src/dom/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.DOM */ diff --git a/src/events/EventEmitter.js b/src/events/EventEmitter.js index e94523330..bc9511651 100644 --- a/src/events/EventEmitter.js +++ b/src/events/EventEmitter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var EE = require('eventemitter3'); var PluginManager = require('../plugins/PluginManager'); diff --git a/src/gameobjects/BuildGameObject.js b/src/gameobjects/BuildGameObject.js index da8444fea..c745fbc75 100644 --- a/src/gameobjects/BuildGameObject.js +++ b/src/gameobjects/BuildGameObject.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetAdvancedValue = require('../utils/object/GetAdvancedValue'); var ScaleModes = require('../renderer/ScaleModes'); var BlendModes = require('../renderer/BlendModes'); diff --git a/src/gameobjects/BuildGameObjectAnimation.js b/src/gameobjects/BuildGameObjectAnimation.js index 6f0e93566..5e06920d5 100644 --- a/src/gameobjects/BuildGameObjectAnimation.js +++ b/src/gameobjects/BuildGameObjectAnimation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetAdvancedValue = require('../utils/object/GetAdvancedValue'); var BuildGameObjectAnimation = function (sprite, config) diff --git a/src/gameobjects/DisplayList.js b/src/gameobjects/DisplayList.js index 92a4c0102..8f7f99d53 100644 --- a/src/gameobjects/DisplayList.js +++ b/src/gameobjects/DisplayList.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var StableSort = require('../utils/array/StableSort'); diff --git a/src/gameobjects/DisplayListPlugin.js b/src/gameobjects/DisplayListPlugin.js index e49d1ed70..0f0fee836 100644 --- a/src/gameobjects/DisplayListPlugin.js +++ b/src/gameobjects/DisplayListPlugin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var DisplayList = require('./DisplayList'); var PluginManager = require('../plugins/PluginManager'); diff --git a/src/gameobjects/GameObject.js b/src/gameobjects/GameObject.js index 55317b342..d939e1d61 100644 --- a/src/gameobjects/GameObject.js +++ b/src/gameobjects/GameObject.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var Components = require('./components'); var DataManager = require('../data/DataManager'); diff --git a/src/gameobjects/GameObjectCreator.js b/src/gameobjects/GameObjectCreator.js index 16cc727d0..0d387e241 100644 --- a/src/gameobjects/GameObjectCreator.js +++ b/src/gameobjects/GameObjectCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var PluginManager = require('../plugins/PluginManager'); diff --git a/src/gameobjects/GameObjectFactory.js b/src/gameobjects/GameObjectFactory.js index 1397ae616..c6ee5e742 100644 --- a/src/gameobjects/GameObjectFactory.js +++ b/src/gameobjects/GameObjectFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var PluginManager = require('../plugins/PluginManager'); diff --git a/src/gameobjects/LightsManager.js b/src/gameobjects/LightsManager.js index afa61cc11..f9cdfb5f7 100644 --- a/src/gameobjects/LightsManager.js +++ b/src/gameobjects/LightsManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var Utils = require('../renderer/webgl/Utils'); var LightPipeline = require('../renderer/webgl/pipelines/ForwardDiffuseLightPipeline'); diff --git a/src/gameobjects/LightsPlugin.js b/src/gameobjects/LightsPlugin.js index f315d29a7..0460c4a4a 100644 --- a/src/gameobjects/LightsPlugin.js +++ b/src/gameobjects/LightsPlugin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var PluginManager = require('../plugins/PluginManager'); var LightsManager = require('./LightsManager'); diff --git a/src/gameobjects/UpdateList.js b/src/gameobjects/UpdateList.js index e53d01be4..5e9d85b0a 100644 --- a/src/gameobjects/UpdateList.js +++ b/src/gameobjects/UpdateList.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var UpdateList = new Class({ diff --git a/src/gameobjects/UpdateListPlugin.js b/src/gameobjects/UpdateListPlugin.js index 5ef9862f5..abac709c0 100644 --- a/src/gameobjects/UpdateListPlugin.js +++ b/src/gameobjects/UpdateListPlugin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var PluginManager = require('../plugins/PluginManager'); var UpdateList = require('./UpdateList'); diff --git a/src/gameobjects/bitmaptext/GetBitmapTextSize.js b/src/gameobjects/bitmaptext/GetBitmapTextSize.js index 4b16eca5f..a50d37957 100644 --- a/src/gameobjects/bitmaptext/GetBitmapTextSize.js +++ b/src/gameobjects/bitmaptext/GetBitmapTextSize.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetBitmapTextSize = function (src, round) { diff --git a/src/gameobjects/bitmaptext/ParseFromAtlas.js b/src/gameobjects/bitmaptext/ParseFromAtlas.js index 1d15d261a..af7b926c4 100644 --- a/src/gameobjects/bitmaptext/ParseFromAtlas.js +++ b/src/gameobjects/bitmaptext/ParseFromAtlas.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ParseXMLBitmapFont = require('./ParseXMLBitmapFont'); var ParseFromAtlas = function (scene, fontName, textureKey, frameKey, xmlKey, xSpacing, ySpacing) diff --git a/src/gameobjects/bitmaptext/ParseRetroFont.js b/src/gameobjects/bitmaptext/ParseRetroFont.js index 0d61fa9a1..ff09c729c 100644 --- a/src/gameobjects/bitmaptext/ParseRetroFont.js +++ b/src/gameobjects/bitmaptext/ParseRetroFont.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetValue = require('../../utils/object/GetValue'); // * @param {number} characterWidth - The width of each character in the font set. diff --git a/src/gameobjects/bitmaptext/ParseXMLBitmapFont.js b/src/gameobjects/bitmaptext/ParseXMLBitmapFont.js index b04adffa0..a8fd14796 100644 --- a/src/gameobjects/bitmaptext/ParseXMLBitmapFont.js +++ b/src/gameobjects/bitmaptext/ParseXMLBitmapFont.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + function getValue (node, attribute) { return parseInt(node.getAttribute(attribute), 10); diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js index 9f9e89582..ecff81fc6 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var Components = require('../../components'); var GameObject = require('../../GameObject'); diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCanvasRenderer.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCanvasRenderer.js index 38bdd07ee..9ff36d23f 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCanvasRenderer.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../GameObject'); /** diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCreator.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCreator.js index 2f3892612..4bd86665b 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCreator.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BitmapText = require('./DynamicBitmapText'); var BuildGameObject = require('../../BuildGameObject'); var GameObjectCreator = require('../../GameObjectCreator'); diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextFactory.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextFactory.js index 901f094c6..37a45ecc7 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextFactory.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var DynamicBitmapText = require('./DynamicBitmapText'); var GameObjectFactory = require('../../GameObjectFactory'); diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js index 9c61d220c..587b3efb4 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../../utils/NOOP'); var renderCanvas = require('../../../utils/NOOP'); diff --git a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js index 277c081a8..d324c889e 100644 --- a/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js +++ b/src/gameobjects/bitmaptext/dynamic/DynamicBitmapTextWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../GameObject'); /** diff --git a/src/gameobjects/bitmaptext/static/BitmapText.js b/src/gameobjects/bitmaptext/static/BitmapText.js index 1457a70e8..617bd8d38 100644 --- a/src/gameobjects/bitmaptext/static/BitmapText.js +++ b/src/gameobjects/bitmaptext/static/BitmapText.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var Components = require('../../components'); var GameObject = require('../../GameObject'); diff --git a/src/gameobjects/bitmaptext/static/BitmapTextCanvasRenderer.js b/src/gameobjects/bitmaptext/static/BitmapTextCanvasRenderer.js index ab7652f9a..ea403282c 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextCanvasRenderer.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../GameObject'); /** diff --git a/src/gameobjects/bitmaptext/static/BitmapTextCreator.js b/src/gameobjects/bitmaptext/static/BitmapTextCreator.js index 3725e137c..1fcadffdc 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextCreator.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BitmapText = require('./BitmapText'); var BuildGameObject = require('../../BuildGameObject'); var GameObjectCreator = require('../../GameObjectCreator'); diff --git a/src/gameobjects/bitmaptext/static/BitmapTextFactory.js b/src/gameobjects/bitmaptext/static/BitmapTextFactory.js index 62315a869..f70850b9e 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextFactory.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BitmapText = require('./BitmapText'); var GameObjectFactory = require('../../GameObjectFactory'); diff --git a/src/gameobjects/bitmaptext/static/BitmapTextRender.js b/src/gameobjects/bitmaptext/static/BitmapTextRender.js index fdae81c86..bfde8762d 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextRender.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../../utils/NOOP'); var renderCanvas = require('../../../utils/NOOP'); diff --git a/src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js b/src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js index 2423d0f7a..65245eccd 100644 --- a/src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js +++ b/src/gameobjects/bitmaptext/static/BitmapTextWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../GameObject'); /** diff --git a/src/gameobjects/blitter/Blitter.js b/src/gameobjects/blitter/Blitter.js index c650c9d43..c927f90ef 100644 --- a/src/gameobjects/blitter/Blitter.js +++ b/src/gameobjects/blitter/Blitter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BlitterRender = require('./BlitterRender'); var Bob = require('./Bob'); var Class = require('../../utils/Class'); diff --git a/src/gameobjects/blitter/BlitterCanvasRenderer.js b/src/gameobjects/blitter/BlitterCanvasRenderer.js index f6bbe1124..02f20123a 100644 --- a/src/gameobjects/blitter/BlitterCanvasRenderer.js +++ b/src/gameobjects/blitter/BlitterCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/blitter/BlitterCreator.js b/src/gameobjects/blitter/BlitterCreator.js index d72867d24..fda1a0d0f 100644 --- a/src/gameobjects/blitter/BlitterCreator.js +++ b/src/gameobjects/blitter/BlitterCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Blitter = require('./Blitter'); var BuildGameObject = require('../BuildGameObject'); var GameObjectCreator = require('../GameObjectCreator'); diff --git a/src/gameobjects/blitter/BlitterFactory.js b/src/gameobjects/blitter/BlitterFactory.js index a186fda8a..03f46be35 100644 --- a/src/gameobjects/blitter/BlitterFactory.js +++ b/src/gameobjects/blitter/BlitterFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Blitter = require('./Blitter'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/gameobjects/blitter/BlitterRender.js b/src/gameobjects/blitter/BlitterRender.js index 6cec49324..67616ce32 100644 --- a/src/gameobjects/blitter/BlitterRender.js +++ b/src/gameobjects/blitter/BlitterRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/gameobjects/blitter/BlitterWebGLRenderer.js b/src/gameobjects/blitter/BlitterWebGLRenderer.js index fbfbc6e8c..b2dd23458 100644 --- a/src/gameobjects/blitter/BlitterWebGLRenderer.js +++ b/src/gameobjects/blitter/BlitterWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/blitter/Bob.js b/src/gameobjects/blitter/Bob.js index 630e4cefc..d933192aa 100644 --- a/src/gameobjects/blitter/Bob.js +++ b/src/gameobjects/blitter/Bob.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/gameobjects/components/Alpha.js b/src/gameobjects/components/Alpha.js index addb076e1..9fb96a049 100644 --- a/src/gameobjects/components/Alpha.js +++ b/src/gameobjects/components/Alpha.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Clamp = require('../../math/Clamp'); // bitmask flag for GameObject.renderMask diff --git a/src/gameobjects/components/Animation.js b/src/gameobjects/components/Animation.js index 4454b7154..be07b6d77 100644 --- a/src/gameobjects/components/Animation.js +++ b/src/gameobjects/components/Animation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/gameobjects/components/BlendMode.js b/src/gameobjects/components/BlendMode.js index 7b92ab15c..a92765541 100644 --- a/src/gameobjects/components/BlendMode.js +++ b/src/gameobjects/components/BlendMode.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BlendModes = require('../../renderer/BlendModes'); /** diff --git a/src/gameobjects/components/ComputedSize.js b/src/gameobjects/components/ComputedSize.js index 957e2edd4..f8b6c749d 100644 --- a/src/gameobjects/components/ComputedSize.js +++ b/src/gameobjects/components/ComputedSize.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Provides methods used for setting the blend mode of a Game Object. * Should be applied as a mixin and not used directly. diff --git a/src/gameobjects/components/Depth.js b/src/gameobjects/components/Depth.js index 78b15720d..281c21ed1 100644 --- a/src/gameobjects/components/Depth.js +++ b/src/gameobjects/components/Depth.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Provides methods used for setting the depth of a Game Object. * Should be applied as a mixin and not used directly. diff --git a/src/gameobjects/components/Flip.js b/src/gameobjects/components/Flip.js index c94700d2f..7c4869a44 100644 --- a/src/gameobjects/components/Flip.js +++ b/src/gameobjects/components/Flip.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Provides methods used for visually flipping a Game Object. * Should be applied as a mixin and not used directly. diff --git a/src/gameobjects/components/GetBounds.js b/src/gameobjects/components/GetBounds.js index b525584a8..22c2cc9ca 100644 --- a/src/gameobjects/components/GetBounds.js +++ b/src/gameobjects/components/GetBounds.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('../../geom/rectangle/Rectangle'); var RotateAround = require('../../math/RotateAround'); var Vector2 = require('../../math/Vector2'); diff --git a/src/gameobjects/components/Origin.js b/src/gameobjects/components/Origin.js index dcdcbe1b1..3205b57a4 100644 --- a/src/gameobjects/components/Origin.js +++ b/src/gameobjects/components/Origin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Provides methods used for getting and setting the origin of a Game Object. * Values are normalized, given in the range 0 to 1. diff --git a/src/gameobjects/components/Pipeline.js b/src/gameobjects/components/Pipeline.js index 4ada2cc13..fece02192 100644 --- a/src/gameobjects/components/Pipeline.js +++ b/src/gameobjects/components/Pipeline.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Provides methods used for setting the WebGL rendering pipeline of a Game Object. * diff --git a/src/gameobjects/components/ScaleMode.js b/src/gameobjects/components/ScaleMode.js index 572041127..560cae850 100644 --- a/src/gameobjects/components/ScaleMode.js +++ b/src/gameobjects/components/ScaleMode.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ScaleModes = require('../../renderer/ScaleModes'); /** diff --git a/src/gameobjects/components/ScrollFactor.js b/src/gameobjects/components/ScrollFactor.js index 50eee42df..ea85a3274 100644 --- a/src/gameobjects/components/ScrollFactor.js +++ b/src/gameobjects/components/ScrollFactor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Provides methods used for getting and setting the Scroll Factor of a Game Object. * diff --git a/src/gameobjects/components/Size.js b/src/gameobjects/components/Size.js index f3358de6b..1970734d4 100644 --- a/src/gameobjects/components/Size.js +++ b/src/gameobjects/components/Size.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Provides methods used for getting and setting the size of a Game Object. * diff --git a/src/gameobjects/components/Texture.js b/src/gameobjects/components/Texture.js index 65cd3feca..1daaebfc9 100644 --- a/src/gameobjects/components/Texture.js +++ b/src/gameobjects/components/Texture.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // bitmask flag for GameObject.renderMask var _FLAG = 8; // 1000 diff --git a/src/gameobjects/components/Tint.js b/src/gameobjects/components/Tint.js index 6a696300f..649a3674c 100644 --- a/src/gameobjects/components/Tint.js +++ b/src/gameobjects/components/Tint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetColor = function (value) { return (value >> 16) + (value & 0xff00) + ((value & 0xff) << 16); diff --git a/src/gameobjects/components/ToJSON.js b/src/gameobjects/components/ToJSON.js index 8271cb6e8..deabbb463 100644 --- a/src/gameobjects/components/ToJSON.js +++ b/src/gameobjects/components/ToJSON.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Default Game Object JSON export // Is extended further by Game Object specific implementations diff --git a/src/gameobjects/components/Transform.js b/src/gameobjects/components/Transform.js index 5dbf99c1e..7d5d3da50 100644 --- a/src/gameobjects/components/Transform.js +++ b/src/gameobjects/components/Transform.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MATH_CONST = require('../../math/const'); var WrapAngle = require('../../math/angle/Wrap'); var WrapAngleDegrees = require('../../math/angle/WrapDegrees'); diff --git a/src/gameobjects/components/TransformMatrix.js b/src/gameobjects/components/TransformMatrix.js index 9593c509f..a0e7af8ff 100644 --- a/src/gameobjects/components/TransformMatrix.js +++ b/src/gameobjects/components/TransformMatrix.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/gameobjects/components/Visible.js b/src/gameobjects/components/Visible.js index af0c03833..a955516ed 100644 --- a/src/gameobjects/components/Visible.js +++ b/src/gameobjects/components/Visible.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // bitmask flag for GameObject.renderMask var _FLAG = 1; // 0001 diff --git a/src/gameobjects/components/index.js b/src/gameobjects/components/index.js index b513df0d1..ca8fadff8 100644 --- a/src/gameobjects/components/index.js +++ b/src/gameobjects/components/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.GameObjects.Components */ diff --git a/src/gameobjects/graphics/Commands.js b/src/gameobjects/graphics/Commands.js index 1d765ff02..6eb68709b 100644 --- a/src/gameobjects/graphics/Commands.js +++ b/src/gameobjects/graphics/Commands.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.GameObjects.Graphics.Commands */ diff --git a/src/gameobjects/graphics/Graphics.js b/src/gameobjects/graphics/Graphics.js index b18038105..8aeb0f5d3 100644 --- a/src/gameobjects/graphics/Graphics.js +++ b/src/gameobjects/graphics/Graphics.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Camera = require('../../cameras/2d/Camera.js'); var CanvasPool = require('../../display/canvas/CanvasPool'); var Class = require('../../utils/Class'); diff --git a/src/gameobjects/graphics/GraphicsCanvasRenderer.js b/src/gameobjects/graphics/GraphicsCanvasRenderer.js index c638f6dc3..95eb71afe 100644 --- a/src/gameobjects/graphics/GraphicsCanvasRenderer.js +++ b/src/gameobjects/graphics/GraphicsCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Commands = require('./Commands'); var GameObject = require('../GameObject'); diff --git a/src/gameobjects/graphics/GraphicsCreator.js b/src/gameobjects/graphics/GraphicsCreator.js index 4725e1458..063323601 100644 --- a/src/gameobjects/graphics/GraphicsCreator.js +++ b/src/gameobjects/graphics/GraphicsCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectCreator = require('../GameObjectCreator'); var Graphics = require('./Graphics'); diff --git a/src/gameobjects/graphics/GraphicsFactory.js b/src/gameobjects/graphics/GraphicsFactory.js index 9d623f780..5698c7757 100644 --- a/src/gameobjects/graphics/GraphicsFactory.js +++ b/src/gameobjects/graphics/GraphicsFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Graphics = require('./Graphics'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/gameobjects/graphics/GraphicsRender.js b/src/gameobjects/graphics/GraphicsRender.js index bdfa57c35..d89207e34 100644 --- a/src/gameobjects/graphics/GraphicsRender.js +++ b/src/gameobjects/graphics/GraphicsRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/gameobjects/graphics/GraphicsWebGLRenderer.js b/src/gameobjects/graphics/GraphicsWebGLRenderer.js index fde277b69..3241ff3fd 100644 --- a/src/gameobjects/graphics/GraphicsWebGLRenderer.js +++ b/src/gameobjects/graphics/GraphicsWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/group/Group.js b/src/gameobjects/group/Group.js index c7d3acfd1..eb786de72 100644 --- a/src/gameobjects/group/Group.js +++ b/src/gameobjects/group/Group.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Actions = require('../../actions/'); var Class = require('../../utils/Class'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/gameobjects/group/GroupCreator.js b/src/gameobjects/group/GroupCreator.js index 2f20a3d47..e963ca7b1 100644 --- a/src/gameobjects/group/GroupCreator.js +++ b/src/gameobjects/group/GroupCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectCreator = require('../GameObjectCreator'); var Group = require('./Group'); diff --git a/src/gameobjects/group/GroupFactory.js b/src/gameobjects/group/GroupFactory.js index 52a6ec209..69ec9da4b 100644 --- a/src/gameobjects/group/GroupFactory.js +++ b/src/gameobjects/group/GroupFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Group = require('./Group'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/gameobjects/image/Image.js b/src/gameobjects/image/Image.js index 232c8206e..ee11e1485 100644 --- a/src/gameobjects/image/Image.js +++ b/src/gameobjects/image/Image.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('../components'); var GameObject = require('../GameObject'); diff --git a/src/gameobjects/image/ImageCanvasRenderer.js b/src/gameobjects/image/ImageCanvasRenderer.js index c918ce26e..68403926e 100644 --- a/src/gameobjects/image/ImageCanvasRenderer.js +++ b/src/gameobjects/image/ImageCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/image/ImageCreator.js b/src/gameobjects/image/ImageCreator.js index 0edb2887c..06a30291d 100644 --- a/src/gameobjects/image/ImageCreator.js +++ b/src/gameobjects/image/ImageCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BuildGameObject = require('../BuildGameObject'); var GameObjectCreator = require('../GameObjectCreator'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); diff --git a/src/gameobjects/image/ImageFactory.js b/src/gameobjects/image/ImageFactory.js index 02e6c7e96..242a64db9 100644 --- a/src/gameobjects/image/ImageFactory.js +++ b/src/gameobjects/image/ImageFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Image = require('./Image'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/gameobjects/image/ImageRender.js b/src/gameobjects/image/ImageRender.js index 175c025a4..e36f1393f 100644 --- a/src/gameobjects/image/ImageRender.js +++ b/src/gameobjects/image/ImageRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/gameobjects/image/ImageWebGLRenderer.js b/src/gameobjects/image/ImageWebGLRenderer.js index 96bc3ab77..c9700ecf4 100644 --- a/src/gameobjects/image/ImageWebGLRenderer.js +++ b/src/gameobjects/image/ImageWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/index.js b/src/gameobjects/index.js index 8c268c758..08983a4b4 100644 --- a/src/gameobjects/index.js +++ b/src/gameobjects/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.GameObjects */ diff --git a/src/gameobjects/mesh/Mesh.js b/src/gameobjects/mesh/Mesh.js index 9b7695826..c9d1320c3 100644 --- a/src/gameobjects/mesh/Mesh.js +++ b/src/gameobjects/mesh/Mesh.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('../components'); var GameObject = require('../GameObject'); diff --git a/src/gameobjects/mesh/MeshCanvasRenderer.js b/src/gameobjects/mesh/MeshCanvasRenderer.js index 7088ef4cb..1f6eabce1 100644 --- a/src/gameobjects/mesh/MeshCanvasRenderer.js +++ b/src/gameobjects/mesh/MeshCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * This is a stub function for Mesh.Render. There is no Canvas renderer for Mesh objects. * diff --git a/src/gameobjects/mesh/MeshCreator.js b/src/gameobjects/mesh/MeshCreator.js index bfb5de8e4..6e7dd96f0 100644 --- a/src/gameobjects/mesh/MeshCreator.js +++ b/src/gameobjects/mesh/MeshCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BuildGameObject = require('../BuildGameObject'); var GameObjectCreator = require('../GameObjectCreator'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); diff --git a/src/gameobjects/mesh/MeshFactory.js b/src/gameobjects/mesh/MeshFactory.js index 89d8f2172..b994b2252 100644 --- a/src/gameobjects/mesh/MeshFactory.js +++ b/src/gameobjects/mesh/MeshFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Mesh = require('./Mesh'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/gameobjects/mesh/MeshRender.js b/src/gameobjects/mesh/MeshRender.js index 47f9a482c..a7c5708be 100644 --- a/src/gameobjects/mesh/MeshRender.js +++ b/src/gameobjects/mesh/MeshRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/gameobjects/mesh/MeshWebGLRenderer.js b/src/gameobjects/mesh/MeshWebGLRenderer.js index cc5cd2be9..5e926b49b 100644 --- a/src/gameobjects/mesh/MeshWebGLRenderer.js +++ b/src/gameobjects/mesh/MeshWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/particles/EmitterOp.js b/src/gameobjects/particles/EmitterOp.js index 214c25acc..d4b88eb34 100644 --- a/src/gameobjects/particles/EmitterOp.js +++ b/src/gameobjects/particles/EmitterOp.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var FloatBetween = require('../../math/FloatBetween'); var GetEaseFunction = require('../../tweens/builders/GetEaseFunction'); diff --git a/src/gameobjects/particles/GravityWell.js b/src/gameobjects/particles/GravityWell.js index 7de0b815c..80e2f1b21 100644 --- a/src/gameobjects/particles/GravityWell.js +++ b/src/gameobjects/particles/GravityWell.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/gameobjects/particles/Particle.js b/src/gameobjects/particles/Particle.js index 6ab477cd3..5334d534c 100644 --- a/src/gameobjects/particles/Particle.js +++ b/src/gameobjects/particles/Particle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var DegToRad = require('../../math/DegToRad'); var DistanceBetween = require('../../math/distance/DistanceBetween'); diff --git a/src/gameobjects/particles/ParticleEmitter.js b/src/gameobjects/particles/ParticleEmitter.js index 72bdf0627..2f81cb1bd 100644 --- a/src/gameobjects/particles/ParticleEmitter.js +++ b/src/gameobjects/particles/ParticleEmitter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BlendModes = require('../../renderer/BlendModes'); var Class = require('../../utils/Class'); var Components = require('../components'); diff --git a/src/gameobjects/particles/ParticleEmitterManager.js b/src/gameobjects/particles/ParticleEmitterManager.js index a95a31b86..5488d8803 100644 --- a/src/gameobjects/particles/ParticleEmitterManager.js +++ b/src/gameobjects/particles/ParticleEmitterManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('../components'); var GameObject = require('../GameObject'); diff --git a/src/gameobjects/particles/ParticleManagerCanvasRenderer.js b/src/gameobjects/particles/ParticleManagerCanvasRenderer.js index 1bc841530..b62421cf0 100644 --- a/src/gameobjects/particles/ParticleManagerCanvasRenderer.js +++ b/src/gameobjects/particles/ParticleManagerCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/particles/ParticleManagerCreator.js b/src/gameobjects/particles/ParticleManagerCreator.js index 537769a07..e49171958 100644 --- a/src/gameobjects/particles/ParticleManagerCreator.js +++ b/src/gameobjects/particles/ParticleManagerCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectCreator = require('../GameObjectCreator'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/gameobjects/particles/ParticleManagerFactory.js b/src/gameobjects/particles/ParticleManagerFactory.js index 76338df8b..70ed407fd 100644 --- a/src/gameobjects/particles/ParticleManagerFactory.js +++ b/src/gameobjects/particles/ParticleManagerFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectFactory = require('../GameObjectFactory'); var ParticleEmitterManager = require('./ParticleEmitterManager'); diff --git a/src/gameobjects/particles/ParticleManagerRender.js b/src/gameobjects/particles/ParticleManagerRender.js index 9a7fb071f..9cc3c2c8e 100644 --- a/src/gameobjects/particles/ParticleManagerRender.js +++ b/src/gameobjects/particles/ParticleManagerRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/gameobjects/particles/ParticleManagerWebGLRenderer.js b/src/gameobjects/particles/ParticleManagerWebGLRenderer.js index 3b7c12ac0..9651bb936 100644 --- a/src/gameobjects/particles/ParticleManagerWebGLRenderer.js +++ b/src/gameobjects/particles/ParticleManagerWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/particles/index.js b/src/gameobjects/particles/index.js index 84d909e7d..e5f4dc815 100644 --- a/src/gameobjects/particles/index.js +++ b/src/gameobjects/particles/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.GameObjects.Particles */ diff --git a/src/gameobjects/particles/zones/DeathZone.js b/src/gameobjects/particles/zones/DeathZone.js index 31e0dde26..ff05c4bcc 100644 --- a/src/gameobjects/particles/zones/DeathZone.js +++ b/src/gameobjects/particles/zones/DeathZone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); /** diff --git a/src/gameobjects/particles/zones/EdgeZone.js b/src/gameobjects/particles/zones/EdgeZone.js index bdd3b57e0..725354667 100644 --- a/src/gameobjects/particles/zones/EdgeZone.js +++ b/src/gameobjects/particles/zones/EdgeZone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var Wrap = require('../../../math/Wrap'); diff --git a/src/gameobjects/particles/zones/RandomZone.js b/src/gameobjects/particles/zones/RandomZone.js index 2e4e9277e..63e898301 100644 --- a/src/gameobjects/particles/zones/RandomZone.js +++ b/src/gameobjects/particles/zones/RandomZone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var Vector2 = require('../../../math/Vector2'); diff --git a/src/gameobjects/pathfollower/PathFollower.js b/src/gameobjects/pathfollower/PathFollower.js index 52d3b0c4d..bebac3ed9 100644 --- a/src/gameobjects/pathfollower/PathFollower.js +++ b/src/gameobjects/pathfollower/PathFollower.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var DegToRad = require('../../math/DegToRad'); var GetBoolean = require('../../tweens/builders/GetBoolean'); diff --git a/src/gameobjects/pathfollower/PathFollowerFactory.js b/src/gameobjects/pathfollower/PathFollowerFactory.js index 53e0379be..2e672f56e 100644 --- a/src/gameobjects/pathfollower/PathFollowerFactory.js +++ b/src/gameobjects/pathfollower/PathFollowerFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectFactory = require('../GameObjectFactory'); var PathFollower = require('./PathFollower'); diff --git a/src/gameobjects/quad/Quad.js b/src/gameobjects/quad/Quad.js index 2e867b762..fdf10ef74 100644 --- a/src/gameobjects/quad/Quad.js +++ b/src/gameobjects/quad/Quad.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Mesh = require('../mesh/Mesh'); diff --git a/src/gameobjects/quad/QuadCreator.js b/src/gameobjects/quad/QuadCreator.js index 87a2252d2..b7266e624 100644 --- a/src/gameobjects/quad/QuadCreator.js +++ b/src/gameobjects/quad/QuadCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BuildGameObject = require('../BuildGameObject'); var GameObjectCreator = require('../GameObjectCreator'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); diff --git a/src/gameobjects/quad/QuadFactory.js b/src/gameobjects/quad/QuadFactory.js index f5ff594cf..d85936c9d 100644 --- a/src/gameobjects/quad/QuadFactory.js +++ b/src/gameobjects/quad/QuadFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Quad = require('./Quad'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/gameobjects/sprite/Sprite.js b/src/gameobjects/sprite/Sprite.js index 39b4cf073..a08b7d205 100644 --- a/src/gameobjects/sprite/Sprite.js +++ b/src/gameobjects/sprite/Sprite.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('../components'); var GameObject = require('../GameObject'); diff --git a/src/gameobjects/sprite/SpriteCanvasRenderer.js b/src/gameobjects/sprite/SpriteCanvasRenderer.js index eb5e5c115..2353efced 100644 --- a/src/gameobjects/sprite/SpriteCanvasRenderer.js +++ b/src/gameobjects/sprite/SpriteCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/sprite/SpriteCreator.js b/src/gameobjects/sprite/SpriteCreator.js index 1c4afbd18..6face110a 100644 --- a/src/gameobjects/sprite/SpriteCreator.js +++ b/src/gameobjects/sprite/SpriteCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BuildGameObject = require('../BuildGameObject'); var BuildGameObjectAnimation = require('../BuildGameObjectAnimation'); var GameObjectCreator = require('../GameObjectCreator'); diff --git a/src/gameobjects/sprite/SpriteFactory.js b/src/gameobjects/sprite/SpriteFactory.js index 9bfc1dd20..40d7b3893 100644 --- a/src/gameobjects/sprite/SpriteFactory.js +++ b/src/gameobjects/sprite/SpriteFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectFactory = require('../GameObjectFactory'); var Sprite = require('./Sprite'); diff --git a/src/gameobjects/sprite/SpriteRender.js b/src/gameobjects/sprite/SpriteRender.js index d2d897890..f69800210 100644 --- a/src/gameobjects/sprite/SpriteRender.js +++ b/src/gameobjects/sprite/SpriteRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/gameobjects/sprite/SpriteWebGLRenderer.js b/src/gameobjects/sprite/SpriteWebGLRenderer.js index fa06d6544..513c50376 100644 --- a/src/gameobjects/sprite/SpriteWebGLRenderer.js +++ b/src/gameobjects/sprite/SpriteWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/sprite3d/Sprite3D.js b/src/gameobjects/sprite3d/Sprite3D.js index 2e0b95945..6195eb953 100644 --- a/src/gameobjects/sprite3d/Sprite3D.js +++ b/src/gameobjects/sprite3d/Sprite3D.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GameObject = require('../GameObject'); var Sprite = require('../sprite/Sprite'); diff --git a/src/gameobjects/sprite3d/Sprite3DCreator.js b/src/gameobjects/sprite3d/Sprite3DCreator.js index 858969dc8..dd010db1a 100644 --- a/src/gameobjects/sprite3d/Sprite3DCreator.js +++ b/src/gameobjects/sprite3d/Sprite3DCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BuildGameObject = require('../BuildGameObject'); var BuildGameObjectAnimation = require('../BuildGameObjectAnimation'); var GameObjectCreator = require('../GameObjectCreator'); diff --git a/src/gameobjects/sprite3d/Sprite3DFactory.js b/src/gameobjects/sprite3d/Sprite3DFactory.js index b45e1987a..19b0db01f 100644 --- a/src/gameobjects/sprite3d/Sprite3DFactory.js +++ b/src/gameobjects/sprite3d/Sprite3DFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Sprite3D = require('./Sprite3D'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/gameobjects/text/GetTextSize.js b/src/gameobjects/text/GetTextSize.js index 11fe7efdc..793f70a2e 100644 --- a/src/gameobjects/text/GetTextSize.js +++ b/src/gameobjects/text/GetTextSize.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns an object containing dimensions of the Text object. */ diff --git a/src/gameobjects/text/MeasureText.js b/src/gameobjects/text/MeasureText.js index c6bab8b54..34ee28128 100644 --- a/src/gameobjects/text/MeasureText.js +++ b/src/gameobjects/text/MeasureText.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CanvasPool = require('../../display/canvas/CanvasPool'); /** diff --git a/src/gameobjects/text/TextStyle.js b/src/gameobjects/text/TextStyle.js index 3263709d3..c68c66bfa 100644 --- a/src/gameobjects/text/TextStyle.js +++ b/src/gameobjects/text/TextStyle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); var GetValue = require('../../utils/object/GetValue'); diff --git a/src/gameobjects/text/static/Text.js b/src/gameobjects/text/static/Text.js index 00738a7a2..e99331580 100644 --- a/src/gameobjects/text/static/Text.js +++ b/src/gameobjects/text/static/Text.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var AddToDOM = require('../../../dom/AddToDOM'); var CanvasPool = require('../../../display/canvas/CanvasPool'); var Class = require('../../../utils/Class'); diff --git a/src/gameobjects/text/static/TextCanvasRenderer.js b/src/gameobjects/text/static/TextCanvasRenderer.js index abdf1ef08..c3b25682b 100644 --- a/src/gameobjects/text/static/TextCanvasRenderer.js +++ b/src/gameobjects/text/static/TextCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../GameObject'); /** diff --git a/src/gameobjects/text/static/TextCreator.js b/src/gameobjects/text/static/TextCreator.js index 9d9891bd0..cd7f61060 100644 --- a/src/gameobjects/text/static/TextCreator.js +++ b/src/gameobjects/text/static/TextCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BuildGameObject = require('../../BuildGameObject'); var GameObjectCreator = require('../../GameObjectCreator'); var GetAdvancedValue = require('../../../utils/object/GetAdvancedValue'); diff --git a/src/gameobjects/text/static/TextFactory.js b/src/gameobjects/text/static/TextFactory.js index ec766ae2d..a96ddd75f 100644 --- a/src/gameobjects/text/static/TextFactory.js +++ b/src/gameobjects/text/static/TextFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Text = require('./Text'); var GameObjectFactory = require('../../GameObjectFactory'); diff --git a/src/gameobjects/text/static/TextRender.js b/src/gameobjects/text/static/TextRender.js index 6481ac672..36cc96318 100644 --- a/src/gameobjects/text/static/TextRender.js +++ b/src/gameobjects/text/static/TextRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../../utils/NOOP'); var renderCanvas = require('../../../utils/NOOP'); diff --git a/src/gameobjects/text/static/TextWebGLRenderer.js b/src/gameobjects/text/static/TextWebGLRenderer.js index c67c1b427..619727ee4 100644 --- a/src/gameobjects/text/static/TextWebGLRenderer.js +++ b/src/gameobjects/text/static/TextWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../GameObject'); /** diff --git a/src/gameobjects/tilesprite/TileSprite.js b/src/gameobjects/tilesprite/TileSprite.js index 8227947a2..b255fb5c3 100644 --- a/src/gameobjects/tilesprite/TileSprite.js +++ b/src/gameobjects/tilesprite/TileSprite.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CanvasPool = require('../../display/canvas/CanvasPool'); var Class = require('../../utils/Class'); var Components = require('../components'); diff --git a/src/gameobjects/tilesprite/TileSpriteCanvasRenderer.js b/src/gameobjects/tilesprite/TileSpriteCanvasRenderer.js index 4ec21ba78..62a3da819 100644 --- a/src/gameobjects/tilesprite/TileSpriteCanvasRenderer.js +++ b/src/gameobjects/tilesprite/TileSpriteCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/tilesprite/TileSpriteCreator.js b/src/gameobjects/tilesprite/TileSpriteCreator.js index f552a957f..a541c6444 100644 --- a/src/gameobjects/tilesprite/TileSpriteCreator.js +++ b/src/gameobjects/tilesprite/TileSpriteCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BuildGameObject = require('../BuildGameObject'); var GameObjectCreator = require('../GameObjectCreator'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); diff --git a/src/gameobjects/tilesprite/TileSpriteFactory.js b/src/gameobjects/tilesprite/TileSpriteFactory.js index ac4550de8..125586582 100644 --- a/src/gameobjects/tilesprite/TileSpriteFactory.js +++ b/src/gameobjects/tilesprite/TileSpriteFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var TileSprite = require('./TileSprite'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/gameobjects/tilesprite/TileSpriteRender.js b/src/gameobjects/tilesprite/TileSpriteRender.js index ae03f5d69..1032753b8 100644 --- a/src/gameobjects/tilesprite/TileSpriteRender.js +++ b/src/gameobjects/tilesprite/TileSpriteRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js b/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js index 8382ad975..d876386d1 100644 --- a/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js +++ b/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../GameObject'); /** diff --git a/src/gameobjects/zone/Zone.js b/src/gameobjects/zone/Zone.js index f917506e4..1e6b51d56 100644 --- a/src/gameobjects/zone/Zone.js +++ b/src/gameobjects/zone/Zone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BlendModes = require('../../renderer/BlendModes'); var Circle = require('../../geom/circle/Circle'); var CircleContains = require('../../geom/circle/Contains'); diff --git a/src/gameobjects/zone/ZoneCreator.js b/src/gameobjects/zone/ZoneCreator.js index ac33bed33..3d48e5821 100644 --- a/src/gameobjects/zone/ZoneCreator.js +++ b/src/gameobjects/zone/ZoneCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectCreator = require('../GameObjectCreator'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); var Zone = require('./Zone'); diff --git a/src/gameobjects/zone/ZoneFactory.js b/src/gameobjects/zone/ZoneFactory.js index b1333f071..3b73a5502 100644 --- a/src/gameobjects/zone/ZoneFactory.js +++ b/src/gameobjects/zone/ZoneFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Zone = require('./Zone'); var GameObjectFactory = require('../GameObjectFactory'); diff --git a/src/geom/circle/Area.js b/src/geom/circle/Area.js index a41af7ae2..00b8fb924 100644 --- a/src/geom/circle/Area.js +++ b/src/geom/circle/Area.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Calculates the area of the circle. * diff --git a/src/geom/circle/Circle.js b/src/geom/circle/Circle.js index 8e8555fac..be6173435 100644 --- a/src/geom/circle/Circle.js +++ b/src/geom/circle/Circle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Contains = require('./Contains'); var GetPoint = require('./GetPoint'); diff --git a/src/geom/circle/Circumference.js b/src/geom/circle/Circumference.js index 2b638013c..f5ddec5b1 100644 --- a/src/geom/circle/Circumference.js +++ b/src/geom/circle/Circumference.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the circumference of the given Circle. * diff --git a/src/geom/circle/CircumferencePoint.js b/src/geom/circle/CircumferencePoint.js index d6452a863..a85b99b99 100644 --- a/src/geom/circle/CircumferencePoint.js +++ b/src/geom/circle/CircumferencePoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); /** diff --git a/src/geom/circle/Clone.js b/src/geom/circle/Clone.js index 68f1a3ca7..c471c52c6 100644 --- a/src/geom/circle/Clone.js +++ b/src/geom/circle/Clone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Circle = require('./Circle'); /** diff --git a/src/geom/circle/Contains.js b/src/geom/circle/Contains.js index dd3eba6a2..0843cca0f 100644 --- a/src/geom/circle/Contains.js +++ b/src/geom/circle/Contains.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Check to see if the Circle contains the given x / y coordinates. * diff --git a/src/geom/circle/ContainsPoint.js b/src/geom/circle/ContainsPoint.js index 180b7bf5f..ad4ceea11 100644 --- a/src/geom/circle/ContainsPoint.js +++ b/src/geom/circle/ContainsPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Contains = require('./Contains'); /** diff --git a/src/geom/circle/ContainsRect.js b/src/geom/circle/ContainsRect.js index cee957b91..8a38749d2 100644 --- a/src/geom/circle/ContainsRect.js +++ b/src/geom/circle/ContainsRect.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Contains = require('./Contains'); /** diff --git a/src/geom/circle/CopyFrom.js b/src/geom/circle/CopyFrom.js index 1b1156ff3..582289c7d 100644 --- a/src/geom/circle/CopyFrom.js +++ b/src/geom/circle/CopyFrom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Copies the `x`, `y` and `radius` properties from the `source` Circle * into the given `dest` Circle, then returns the `dest` Circle. diff --git a/src/geom/circle/Equals.js b/src/geom/circle/Equals.js index bbb7930ed..c2c900e71 100644 --- a/src/geom/circle/Equals.js +++ b/src/geom/circle/Equals.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Compares the `x`, `y` and `radius` properties of the two given Circles. * Returns `true` if they all match, otherwise returns `false`. diff --git a/src/geom/circle/GetBounds.js b/src/geom/circle/GetBounds.js index d685c810d..9813060ef 100644 --- a/src/geom/circle/GetBounds.js +++ b/src/geom/circle/GetBounds.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('../rectangle/Rectangle'); /** diff --git a/src/geom/circle/GetPoint.js b/src/geom/circle/GetPoint.js index 3c0025906..53d62fc2b 100644 --- a/src/geom/circle/GetPoint.js +++ b/src/geom/circle/GetPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CircumferencePoint = require('./CircumferencePoint'); var FromPercent = require('../../math/FromPercent'); var MATH_CONST = require('../../math/const'); diff --git a/src/geom/circle/GetPoints.js b/src/geom/circle/GetPoints.js index 994e9c8f4..50decbfdc 100644 --- a/src/geom/circle/GetPoints.js +++ b/src/geom/circle/GetPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Circumference = require('./Circumference'); var CircumferencePoint = require('./CircumferencePoint'); var FromPercent = require('../../math/FromPercent'); diff --git a/src/geom/circle/Offset.js b/src/geom/circle/Offset.js index 8221f307f..a112b0c1e 100644 --- a/src/geom/circle/Offset.js +++ b/src/geom/circle/Offset.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Offsets the Circle by the values given. * diff --git a/src/geom/circle/OffsetPoint.js b/src/geom/circle/OffsetPoint.js index 1d90e9d04..a3fa88b6e 100644 --- a/src/geom/circle/OffsetPoint.js +++ b/src/geom/circle/OffsetPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Offsets the Circle by the values given in the `x` and `y` properties of the Point object. * diff --git a/src/geom/circle/Random.js b/src/geom/circle/Random.js index 0aac582e9..be8e4971d 100644 --- a/src/geom/circle/Random.js +++ b/src/geom/circle/Random.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); /** diff --git a/src/geom/circle/index.js b/src/geom/circle/index.js index ab60d7298..668395ab5 100644 --- a/src/geom/circle/index.js +++ b/src/geom/circle/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Circle = require('./Circle'); Circle.Area = require('./Area'); diff --git a/src/geom/ellipse/Area.js b/src/geom/ellipse/Area.js index 50c52f73a..876846c75 100644 --- a/src/geom/ellipse/Area.js +++ b/src/geom/ellipse/Area.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Calculates the area of the Ellipse. * diff --git a/src/geom/ellipse/Circumference.js b/src/geom/ellipse/Circumference.js index a2c1d8c25..d00739b1b 100644 --- a/src/geom/ellipse/Circumference.js +++ b/src/geom/ellipse/Circumference.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the circumference of the given Ellipse. * diff --git a/src/geom/ellipse/CircumferencePoint.js b/src/geom/ellipse/CircumferencePoint.js index 0eaa52c76..83666086a 100644 --- a/src/geom/ellipse/CircumferencePoint.js +++ b/src/geom/ellipse/CircumferencePoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); /** diff --git a/src/geom/ellipse/Clone.js b/src/geom/ellipse/Clone.js index 65d16edcc..d6345a8c4 100644 --- a/src/geom/ellipse/Clone.js +++ b/src/geom/ellipse/Clone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Ellipse = require('./Ellipse'); /** diff --git a/src/geom/ellipse/Contains.js b/src/geom/ellipse/Contains.js index 0ad904106..b686451d3 100644 --- a/src/geom/ellipse/Contains.js +++ b/src/geom/ellipse/Contains.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Check to see if the Ellipse contains the given x / y coordinates. * diff --git a/src/geom/ellipse/ContainsPoint.js b/src/geom/ellipse/ContainsPoint.js index 7af3cb224..7819f8cc4 100644 --- a/src/geom/ellipse/ContainsPoint.js +++ b/src/geom/ellipse/ContainsPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Contains = require('./Contains'); /** diff --git a/src/geom/ellipse/ContainsRect.js b/src/geom/ellipse/ContainsRect.js index 26fed6449..076e1f8d7 100644 --- a/src/geom/ellipse/ContainsRect.js +++ b/src/geom/ellipse/ContainsRect.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Contains = require('./Contains'); /** diff --git a/src/geom/ellipse/CopyFrom.js b/src/geom/ellipse/CopyFrom.js index 77facc610..aeba93d71 100644 --- a/src/geom/ellipse/CopyFrom.js +++ b/src/geom/ellipse/CopyFrom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Copies the `x`, `y`, `width` and `height` properties from the `source` Ellipse * into the given `dest` Ellipse, then returns the `dest` Ellipse. diff --git a/src/geom/ellipse/Ellipse.js b/src/geom/ellipse/Ellipse.js index 593bab62e..45def242b 100644 --- a/src/geom/ellipse/Ellipse.js +++ b/src/geom/ellipse/Ellipse.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Contains = require('./Contains'); var GetPoint = require('./GetPoint'); diff --git a/src/geom/ellipse/Equals.js b/src/geom/ellipse/Equals.js index 0625999de..3b41c599f 100644 --- a/src/geom/ellipse/Equals.js +++ b/src/geom/ellipse/Equals.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Compares the `x`, `y`, `width` and `height` properties of the two given Ellipses. * Returns `true` if they all match, otherwise returns `false`. diff --git a/src/geom/ellipse/GetBounds.js b/src/geom/ellipse/GetBounds.js index 83bef0cba..1e00e043b 100644 --- a/src/geom/ellipse/GetBounds.js +++ b/src/geom/ellipse/GetBounds.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('../rectangle/Rectangle'); /** diff --git a/src/geom/ellipse/GetPoint.js b/src/geom/ellipse/GetPoint.js index 60e336797..b6a353ed6 100644 --- a/src/geom/ellipse/GetPoint.js +++ b/src/geom/ellipse/GetPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CircumferencePoint = require('./CircumferencePoint'); var FromPercent = require('../../math/FromPercent'); var MATH_CONST = require('../../math/const'); diff --git a/src/geom/ellipse/GetPoints.js b/src/geom/ellipse/GetPoints.js index a59e6f530..95ecf8e3d 100644 --- a/src/geom/ellipse/GetPoints.js +++ b/src/geom/ellipse/GetPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Circumference = require('./Circumference'); var CircumferencePoint = require('./CircumferencePoint'); var FromPercent = require('../../math/FromPercent'); diff --git a/src/geom/ellipse/Offset.js b/src/geom/ellipse/Offset.js index 26ef91662..23246da74 100644 --- a/src/geom/ellipse/Offset.js +++ b/src/geom/ellipse/Offset.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Offsets the Ellipse by the values given. * diff --git a/src/geom/ellipse/OffsetPoint.js b/src/geom/ellipse/OffsetPoint.js index 49b5ab1b2..f63c5bb26 100644 --- a/src/geom/ellipse/OffsetPoint.js +++ b/src/geom/ellipse/OffsetPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Offsets the Ellipse by the values given in the `x` and `y` properties of the Point object. * diff --git a/src/geom/ellipse/Random.js b/src/geom/ellipse/Random.js index 284c43213..291b1599d 100644 --- a/src/geom/ellipse/Random.js +++ b/src/geom/ellipse/Random.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); /** diff --git a/src/geom/ellipse/index.js b/src/geom/ellipse/index.js index 592502112..c563f94a3 100644 --- a/src/geom/ellipse/index.js +++ b/src/geom/ellipse/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Ellipse = require('./Ellipse'); Ellipse.Area = require('./Area'); diff --git a/src/geom/index.js b/src/geom/index.js index 719287050..18a1a1039 100644 --- a/src/geom/index.js +++ b/src/geom/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Geom */ diff --git a/src/geom/intersects/CircleToCircle.js b/src/geom/intersects/CircleToCircle.js index 88840eb83..5e73c3d74 100644 --- a/src/geom/intersects/CircleToCircle.js +++ b/src/geom/intersects/CircleToCircle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var DistanceBetween = require('../../math/distance/DistanceBetween'); /** diff --git a/src/geom/intersects/CircleToRectangle.js b/src/geom/intersects/CircleToRectangle.js index c32fb2525..8510d5893 100644 --- a/src/geom/intersects/CircleToRectangle.js +++ b/src/geom/intersects/CircleToRectangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/intersects/GetRectangleIntersection.js b/src/geom/intersects/GetRectangleIntersection.js index a3247730f..564e07aac 100644 --- a/src/geom/intersects/GetRectangleIntersection.js +++ b/src/geom/intersects/GetRectangleIntersection.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('../rectangle/Rectangle'); var RectangleToRectangle = require('./RectangleToRectangle'); diff --git a/src/geom/intersects/LineToCircle.js b/src/geom/intersects/LineToCircle.js index dcd363baa..1aecbb25f 100644 --- a/src/geom/intersects/LineToCircle.js +++ b/src/geom/intersects/LineToCircle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on code by Matt DesLauriers // https://github.com/mattdesl/line-circle-collision/blob/master/LICENSE.md diff --git a/src/geom/intersects/LineToLine.js b/src/geom/intersects/LineToLine.js index ffbba7ca5..e0d250926 100644 --- a/src/geom/intersects/LineToLine.js +++ b/src/geom/intersects/LineToLine.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); // This is based off an explanation and expanded math presented by Paul Bourke: diff --git a/src/geom/intersects/LineToRectangle.js b/src/geom/intersects/LineToRectangle.js index 65996adc6..38474d297 100644 --- a/src/geom/intersects/LineToRectangle.js +++ b/src/geom/intersects/LineToRectangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Checks for intersection between the Line and a Rectangle shape, or a rectangle-like * object, with public `x`, `y`, `right` and `bottom` properties, such as a Sprite or Body. diff --git a/src/geom/intersects/PointToLine.js b/src/geom/intersects/PointToLine.js index 8bf9708f8..b29357c0f 100644 --- a/src/geom/intersects/PointToLine.js +++ b/src/geom/intersects/PointToLine.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/intersects/PointToLineSegment.js b/src/geom/intersects/PointToLineSegment.js index 46bb562bf..2472442e8 100644 --- a/src/geom/intersects/PointToLineSegment.js +++ b/src/geom/intersects/PointToLineSegment.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var PointToLine = require('./PointToLine'); /** diff --git a/src/geom/intersects/RectangleToRectangle.js b/src/geom/intersects/RectangleToRectangle.js index 4d41cd8b5..f10c8b4cc 100644 --- a/src/geom/intersects/RectangleToRectangle.js +++ b/src/geom/intersects/RectangleToRectangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/intersects/RectangleToTriangle.js b/src/geom/intersects/RectangleToTriangle.js index 35d60ea79..b2670393e 100644 --- a/src/geom/intersects/RectangleToTriangle.js +++ b/src/geom/intersects/RectangleToTriangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var LineToLine = require('./LineToLine'); var Contains = require('../rectangle/Contains'); var ContainsArray = require('../triangle/ContainsArray'); diff --git a/src/geom/intersects/RectangleToValues.js b/src/geom/intersects/RectangleToValues.js index be0ab18c3..2f8ef64b0 100644 --- a/src/geom/intersects/RectangleToValues.js +++ b/src/geom/intersects/RectangleToValues.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/intersects/TriangleToCircle.js b/src/geom/intersects/TriangleToCircle.js index 6a4bbd073..ea29dfa22 100644 --- a/src/geom/intersects/TriangleToCircle.js +++ b/src/geom/intersects/TriangleToCircle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var LineToCircle = require('./LineToCircle'); var Contains = require('../triangle/Contains'); diff --git a/src/geom/intersects/TriangleToLine.js b/src/geom/intersects/TriangleToLine.js index ae751e89c..9478ab5a9 100644 --- a/src/geom/intersects/TriangleToLine.js +++ b/src/geom/intersects/TriangleToLine.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Contains = require('../triangle/Contains'); var LineToLine = require('./LineToLine'); diff --git a/src/geom/intersects/TriangleToTriangle.js b/src/geom/intersects/TriangleToTriangle.js index bb0916e6d..0b2f69ba2 100644 --- a/src/geom/intersects/TriangleToTriangle.js +++ b/src/geom/intersects/TriangleToTriangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ContainsArray = require('../triangle/ContainsArray'); var Decompose = require('../triangle/Decompose'); var LineToLine = require('./LineToLine'); diff --git a/src/geom/intersects/index.js b/src/geom/intersects/index.js index 57d72b9ad..bd938860d 100644 --- a/src/geom/intersects/index.js +++ b/src/geom/intersects/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Geom.Intersects */ diff --git a/src/geom/line/Angle.js b/src/geom/line/Angle.js index 075743231..8c9a2447a 100644 --- a/src/geom/line/Angle.js +++ b/src/geom/line/Angle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/BresenhamPoints.js b/src/geom/line/BresenhamPoints.js index b4d7a3da7..9d8f0bbc3 100644 --- a/src/geom/line/BresenhamPoints.js +++ b/src/geom/line/BresenhamPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Using Bresenham's line algorithm this will return an array of all coordinates on this line. * The start and end points are rounded before this runs as the algorithm works on integers. diff --git a/src/geom/line/CenterOn.js b/src/geom/line/CenterOn.js index 3735951c5..1b7094715 100644 --- a/src/geom/line/CenterOn.js +++ b/src/geom/line/CenterOn.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] diff --git a/src/geom/line/Clone.js b/src/geom/line/Clone.js index e7d7a6341..dabd8ac7c 100644 --- a/src/geom/line/Clone.js +++ b/src/geom/line/Clone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Line = require('./Line'); /** diff --git a/src/geom/line/CopyFrom.js b/src/geom/line/CopyFrom.js index fde931211..a1a1db061 100644 --- a/src/geom/line/CopyFrom.js +++ b/src/geom/line/CopyFrom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/Equals.js b/src/geom/line/Equals.js index d81825b6a..942549dfd 100644 --- a/src/geom/line/Equals.js +++ b/src/geom/line/Equals.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/GetMidPoint.js b/src/geom/line/GetMidPoint.js index 8d22db81c..9b5cda24c 100644 --- a/src/geom/line/GetMidPoint.js +++ b/src/geom/line/GetMidPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); /** diff --git a/src/geom/line/GetNormal.js b/src/geom/line/GetNormal.js index 078f86120..aaf85d463 100644 --- a/src/geom/line/GetNormal.js +++ b/src/geom/line/GetNormal.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MATH_CONST = require('../../math/const'); var Angle = require('./Angle'); var Point = require('../point/Point'); diff --git a/src/geom/line/GetPoint.js b/src/geom/line/GetPoint.js index 565fbfa49..2a007a11f 100644 --- a/src/geom/line/GetPoint.js +++ b/src/geom/line/GetPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); // Get a point on the given line 'progress' percentage along its length. diff --git a/src/geom/line/GetPoints.js b/src/geom/line/GetPoints.js index 85955bc7f..6fa3b715c 100644 --- a/src/geom/line/GetPoints.js +++ b/src/geom/line/GetPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Length = require('./Length'); var Point = require('../point/Point'); diff --git a/src/geom/line/Height.js b/src/geom/line/Height.js index 02f9ef434..995886a69 100644 --- a/src/geom/line/Height.js +++ b/src/geom/line/Height.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/Length.js b/src/geom/line/Length.js index 838524587..0d2e153e1 100644 --- a/src/geom/line/Length.js +++ b/src/geom/line/Length.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/Line.js b/src/geom/line/Line.js index 000af8694..712c6cc19 100644 --- a/src/geom/line/Line.js +++ b/src/geom/line/Line.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetPoint = require('./GetPoint'); var GetPoints = require('./GetPoints'); diff --git a/src/geom/line/NormalAngle.js b/src/geom/line/NormalAngle.js index c45296e1c..67606f8c1 100644 --- a/src/geom/line/NormalAngle.js +++ b/src/geom/line/NormalAngle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MATH_CONST = require('../../math/const'); var Wrap = require('../../math/Wrap'); var Angle = require('./Angle'); diff --git a/src/geom/line/NormalX.js b/src/geom/line/NormalX.js index 04d4fbb53..07f3b8e23 100644 --- a/src/geom/line/NormalX.js +++ b/src/geom/line/NormalX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MATH_CONST = require('../../math/const'); var Angle = require('./Angle'); diff --git a/src/geom/line/NormalY.js b/src/geom/line/NormalY.js index 1a000aac4..80a173750 100644 --- a/src/geom/line/NormalY.js +++ b/src/geom/line/NormalY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MATH_CONST = require('../../math/const'); var Angle = require('./Angle'); diff --git a/src/geom/line/Offset.js b/src/geom/line/Offset.js index f8cd99a27..67961b110 100644 --- a/src/geom/line/Offset.js +++ b/src/geom/line/Offset.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/PerpSlope.js b/src/geom/line/PerpSlope.js index 5cc80c080..49e1fa282 100644 --- a/src/geom/line/PerpSlope.js +++ b/src/geom/line/PerpSlope.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/Random.js b/src/geom/line/Random.js index 283ff63aa..2f03c414e 100644 --- a/src/geom/line/Random.js +++ b/src/geom/line/Random.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); /** diff --git a/src/geom/line/ReflectAngle.js b/src/geom/line/ReflectAngle.js index d6053aabd..af435fac5 100644 --- a/src/geom/line/ReflectAngle.js +++ b/src/geom/line/ReflectAngle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Angle = require('./Angle'); var NormalAngle = require('./NormalAngle'); diff --git a/src/geom/line/Rotate.js b/src/geom/line/Rotate.js index 51e0461c7..2c7e13f6a 100644 --- a/src/geom/line/Rotate.js +++ b/src/geom/line/Rotate.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RotateAroundXY = require('./RotateAroundXY'); /** diff --git a/src/geom/line/RotateAroundPoint.js b/src/geom/line/RotateAroundPoint.js index 6dbeef74c..6a3be00e6 100644 --- a/src/geom/line/RotateAroundPoint.js +++ b/src/geom/line/RotateAroundPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RotateAroundXY = require('./RotateAroundXY'); /** diff --git a/src/geom/line/RotateAroundXY.js b/src/geom/line/RotateAroundXY.js index feee4139f..22cb3e3f8 100644 --- a/src/geom/line/RotateAroundXY.js +++ b/src/geom/line/RotateAroundXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/SetToAngle.js b/src/geom/line/SetToAngle.js index 982eec255..a0fb49556 100644 --- a/src/geom/line/SetToAngle.js +++ b/src/geom/line/SetToAngle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/Slope.js b/src/geom/line/Slope.js index 0828826e1..4c2dbe903 100644 --- a/src/geom/line/Slope.js +++ b/src/geom/line/Slope.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/Width.js b/src/geom/line/Width.js index 8bc809990..5aef929f9 100644 --- a/src/geom/line/Width.js +++ b/src/geom/line/Width.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/line/index.js b/src/geom/line/index.js index a50e2252c..d0b34c470 100644 --- a/src/geom/line/index.js +++ b/src/geom/line/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Line = require('./Line'); Line.Angle = require('./Angle'); diff --git a/src/geom/mesh/Mesh.js b/src/geom/mesh/Mesh.js index 1c23bfb62..227fb8a69 100644 --- a/src/geom/mesh/Mesh.js +++ b/src/geom/mesh/Mesh.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Matrix4 = require('../../math/Matrix4'); var Vector2 = require('../../math/Vector2'); diff --git a/src/geom/mesh/ParseOBJ.js b/src/geom/mesh/ParseOBJ.js index 2074b59b8..6a0405587 100644 --- a/src/geom/mesh/ParseOBJ.js +++ b/src/geom/mesh/ParseOBJ.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on code from https://github.com/WesUnwin/obj-file-parser var Vector3 = require('../../math/Vector3'); diff --git a/src/geom/mesh/index.js b/src/geom/mesh/index.js index 808fa77b6..05aa9dd4a 100644 --- a/src/geom/mesh/index.js +++ b/src/geom/mesh/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Geom.Mesh var Mesh = require('./Mesh'); diff --git a/src/geom/point/Ceil.js b/src/geom/point/Ceil.js index 2805329c3..77edef85c 100644 --- a/src/geom/point/Ceil.js +++ b/src/geom/point/Ceil.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/point/Clone.js b/src/geom/point/Clone.js index 64b3a7617..67f2b1446 100644 --- a/src/geom/point/Clone.js +++ b/src/geom/point/Clone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('./Point'); /** diff --git a/src/geom/point/CopyFrom.js b/src/geom/point/CopyFrom.js index 52ae89df7..26e9f0bcf 100644 --- a/src/geom/point/CopyFrom.js +++ b/src/geom/point/CopyFrom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/point/Equals.js b/src/geom/point/Equals.js index 3fab68a26..dbfa80803 100644 --- a/src/geom/point/Equals.js +++ b/src/geom/point/Equals.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/point/Floor.js b/src/geom/point/Floor.js index 9a013b26a..960a122fd 100644 --- a/src/geom/point/Floor.js +++ b/src/geom/point/Floor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/point/GetCentroid.js b/src/geom/point/GetCentroid.js index 235ff863a..fd4f0950a 100644 --- a/src/geom/point/GetCentroid.js +++ b/src/geom/point/GetCentroid.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('./Point'); /** diff --git a/src/geom/point/GetMagnitude.js b/src/geom/point/GetMagnitude.js index a7201a3be..3230ce8b3 100644 --- a/src/geom/point/GetMagnitude.js +++ b/src/geom/point/GetMagnitude.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/point/GetMagnitudeSq.js b/src/geom/point/GetMagnitudeSq.js index 4647fb31a..3cae4408d 100644 --- a/src/geom/point/GetMagnitudeSq.js +++ b/src/geom/point/GetMagnitudeSq.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/point/GetRectangleFromPoints.js b/src/geom/point/GetRectangleFromPoints.js index 76d1e5a05..6a79c0428 100644 --- a/src/geom/point/GetRectangleFromPoints.js +++ b/src/geom/point/GetRectangleFromPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('../rectangle/Rectangle'); /** diff --git a/src/geom/point/Interpolate.js b/src/geom/point/Interpolate.js index 8eb8e175f..5d2f8dbdd 100644 --- a/src/geom/point/Interpolate.js +++ b/src/geom/point/Interpolate.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('./Point'); /** diff --git a/src/geom/point/Invert.js b/src/geom/point/Invert.js index d9951c3e9..0d061f6ab 100644 --- a/src/geom/point/Invert.js +++ b/src/geom/point/Invert.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/point/Negative.js b/src/geom/point/Negative.js index 7bb2a9a3c..74e4281f5 100644 --- a/src/geom/point/Negative.js +++ b/src/geom/point/Negative.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('./Point'); /** diff --git a/src/geom/point/Point.js b/src/geom/point/Point.js index 0890a07e5..0740b90b0 100644 --- a/src/geom/point/Point.js +++ b/src/geom/point/Point.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/geom/point/Project.js b/src/geom/point/Project.js index 2ce9b291e..717a38ffb 100644 --- a/src/geom/point/Project.js +++ b/src/geom/point/Project.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('./Point'); var GetMagnitudeSq = require('./GetMagnitudeSq'); diff --git a/src/geom/point/ProjectUnit.js b/src/geom/point/ProjectUnit.js index 567139693..38f052d79 100644 --- a/src/geom/point/ProjectUnit.js +++ b/src/geom/point/ProjectUnit.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('./Point'); /** diff --git a/src/geom/point/SetMagnitude.js b/src/geom/point/SetMagnitude.js index 5c503244d..40faa38b2 100644 --- a/src/geom/point/SetMagnitude.js +++ b/src/geom/point/SetMagnitude.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetMagnitude = require('./GetMagnitude'); /** diff --git a/src/geom/point/index.js b/src/geom/point/index.js index 7e1e08c76..8a0a572c3 100644 --- a/src/geom/point/index.js +++ b/src/geom/point/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('./Point'); Point.Ceil = require('./Ceil'); diff --git a/src/geom/polygon/Clone.js b/src/geom/polygon/Clone.js index bd980f902..101b98547 100644 --- a/src/geom/polygon/Clone.js +++ b/src/geom/polygon/Clone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Polygon = require('./Polygon'); /** diff --git a/src/geom/polygon/Contains.js b/src/geom/polygon/Contains.js index d8e43de57..0ce6b67f8 100644 --- a/src/geom/polygon/Contains.js +++ b/src/geom/polygon/Contains.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Checks whether the x and y coordinates are contained within this polygon. // Adapted from http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html by Jonas Raoni Soares Silva diff --git a/src/geom/polygon/ContainsPoint.js b/src/geom/polygon/ContainsPoint.js index 314ba442e..4952a442e 100644 --- a/src/geom/polygon/ContainsPoint.js +++ b/src/geom/polygon/ContainsPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Contains = require('./Contains'); /** diff --git a/src/geom/polygon/Earcut.js b/src/geom/polygon/Earcut.js index dd6316ab4..31f1f8b96 100644 --- a/src/geom/polygon/Earcut.js +++ b/src/geom/polygon/Earcut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // 2.1.1 (Mar 17, 2016) /* diff --git a/src/geom/polygon/GetAABB.js b/src/geom/polygon/GetAABB.js index 7d1767932..b857b6def 100644 --- a/src/geom/polygon/GetAABB.js +++ b/src/geom/polygon/GetAABB.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('../rectangle/Rectangle'); /** diff --git a/src/geom/polygon/GetNumberArray.js b/src/geom/polygon/GetNumberArray.js index b3f79bd9b..c1ebea1a8 100644 --- a/src/geom/polygon/GetNumberArray.js +++ b/src/geom/polygon/GetNumberArray.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Export the points as an array of flat numbers, following the sequence [ x,y, x,y, x,y ] /** diff --git a/src/geom/polygon/Polygon.js b/src/geom/polygon/Polygon.js index 1b5c2c996..2fdefcc2a 100644 --- a/src/geom/polygon/Polygon.js +++ b/src/geom/polygon/Polygon.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Contains = require('./Contains'); diff --git a/src/geom/polygon/Reverse.js b/src/geom/polygon/Reverse.js index 8a8a4fbd2..5b079c1ba 100644 --- a/src/geom/polygon/Reverse.js +++ b/src/geom/polygon/Reverse.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/polygon/index.js b/src/geom/polygon/index.js index 2c5c76330..3b8ee41ca 100644 --- a/src/geom/polygon/index.js +++ b/src/geom/polygon/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Polygon = require('./Polygon'); Polygon.Clone = require('./Clone'); diff --git a/src/geom/rectangle/Area.js b/src/geom/rectangle/Area.js index e502592ff..80909723f 100644 --- a/src/geom/rectangle/Area.js +++ b/src/geom/rectangle/Area.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/Ceil.js b/src/geom/rectangle/Ceil.js index 11702ec4b..b92690edf 100644 --- a/src/geom/rectangle/Ceil.js +++ b/src/geom/rectangle/Ceil.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/CeilAll.js b/src/geom/rectangle/CeilAll.js index 9a6569601..285a0cb7c 100644 --- a/src/geom/rectangle/CeilAll.js +++ b/src/geom/rectangle/CeilAll.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/CenterOn.js b/src/geom/rectangle/CenterOn.js index 43b25cf6c..ec399e9d1 100644 --- a/src/geom/rectangle/CenterOn.js +++ b/src/geom/rectangle/CenterOn.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Centers this Rectangle so that the center coordinates match the given x and y values. /** diff --git a/src/geom/rectangle/Clone.js b/src/geom/rectangle/Clone.js index 9507cf05d..721b7ee0d 100644 --- a/src/geom/rectangle/Clone.js +++ b/src/geom/rectangle/Clone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('./Rectangle'); /** diff --git a/src/geom/rectangle/Contains.js b/src/geom/rectangle/Contains.js index 9fe9aade6..0a85787a1 100644 --- a/src/geom/rectangle/Contains.js +++ b/src/geom/rectangle/Contains.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/ContainsPoint.js b/src/geom/rectangle/ContainsPoint.js index e948d911a..aa06db346 100644 --- a/src/geom/rectangle/ContainsPoint.js +++ b/src/geom/rectangle/ContainsPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Contains = require('./Contains'); /** diff --git a/src/geom/rectangle/ContainsRect.js b/src/geom/rectangle/ContainsRect.js index 83d13adfa..a9c6f33f2 100644 --- a/src/geom/rectangle/ContainsRect.js +++ b/src/geom/rectangle/ContainsRect.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Checks if rectB is fully contained within rectA /** diff --git a/src/geom/rectangle/CopyFrom.js b/src/geom/rectangle/CopyFrom.js index b76ede4f2..9982b3169 100644 --- a/src/geom/rectangle/CopyFrom.js +++ b/src/geom/rectangle/CopyFrom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/Decompose.js b/src/geom/rectangle/Decompose.js index 8b8a5e524..602e62e8a 100644 --- a/src/geom/rectangle/Decompose.js +++ b/src/geom/rectangle/Decompose.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/Equals.js b/src/geom/rectangle/Equals.js index 29ff05df4..91b78d084 100644 --- a/src/geom/rectangle/Equals.js +++ b/src/geom/rectangle/Equals.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/FitInside.js b/src/geom/rectangle/FitInside.js index b39599deb..8aed4cc59 100644 --- a/src/geom/rectangle/FitInside.js +++ b/src/geom/rectangle/FitInside.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetAspectRatio = require('./GetAspectRatio'); // Fits the target rectangle into the source rectangle. diff --git a/src/geom/rectangle/FitOutside.js b/src/geom/rectangle/FitOutside.js index cac5501d4..82896c8d3 100644 --- a/src/geom/rectangle/FitOutside.js +++ b/src/geom/rectangle/FitOutside.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetAspectRatio = require('./GetAspectRatio'); // Fits the target rectangle around the source rectangle. diff --git a/src/geom/rectangle/Floor.js b/src/geom/rectangle/Floor.js index 0b33e37ec..e8c2df18f 100644 --- a/src/geom/rectangle/Floor.js +++ b/src/geom/rectangle/Floor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/FloorAll.js b/src/geom/rectangle/FloorAll.js index 85489570b..917b5e46f 100644 --- a/src/geom/rectangle/FloorAll.js +++ b/src/geom/rectangle/FloorAll.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/FromPoints.js b/src/geom/rectangle/FromPoints.js index 2c7853743..f56cbcdfa 100644 --- a/src/geom/rectangle/FromPoints.js +++ b/src/geom/rectangle/FromPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('./Rectangle'); // points is an array of Point-like objects, diff --git a/src/geom/rectangle/GetAspectRatio.js b/src/geom/rectangle/GetAspectRatio.js index ea7642b38..bb92d4d55 100644 --- a/src/geom/rectangle/GetAspectRatio.js +++ b/src/geom/rectangle/GetAspectRatio.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/GetCenter.js b/src/geom/rectangle/GetCenter.js index 6f4fd4034..b7aaa1bcf 100644 --- a/src/geom/rectangle/GetCenter.js +++ b/src/geom/rectangle/GetCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); // The center of the Rectangle object, expressed as a Point object diff --git a/src/geom/rectangle/GetPoint.js b/src/geom/rectangle/GetPoint.js index 62d19ce30..fc0fa6e47 100644 --- a/src/geom/rectangle/GetPoint.js +++ b/src/geom/rectangle/GetPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Perimeter = require('./Perimeter'); var Point = require('../point/Point'); diff --git a/src/geom/rectangle/GetPoints.js b/src/geom/rectangle/GetPoints.js index f1a591557..731540598 100644 --- a/src/geom/rectangle/GetPoints.js +++ b/src/geom/rectangle/GetPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetPoint = require('./GetPoint'); var Perimeter = require('./Perimeter'); diff --git a/src/geom/rectangle/GetSize.js b/src/geom/rectangle/GetSize.js index 123ca2ca2..38fc761ff 100644 --- a/src/geom/rectangle/GetSize.js +++ b/src/geom/rectangle/GetSize.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); // The size of the Rectangle object, expressed as a Point object diff --git a/src/geom/rectangle/Inflate.js b/src/geom/rectangle/Inflate.js index 68536090e..58d65113b 100644 --- a/src/geom/rectangle/Inflate.js +++ b/src/geom/rectangle/Inflate.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CenterOn = require('./CenterOn'); // Increases the size of the Rectangle object by the specified amounts. diff --git a/src/geom/rectangle/MarchingAnts.js b/src/geom/rectangle/MarchingAnts.js index 082fb481a..11a3ad2bc 100644 --- a/src/geom/rectangle/MarchingAnts.js +++ b/src/geom/rectangle/MarchingAnts.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Perimeter = require('./Perimeter'); var Point = require('../point/Point'); diff --git a/src/geom/rectangle/MergePoints.js b/src/geom/rectangle/MergePoints.js index f07b94b4b..41324a60f 100644 --- a/src/geom/rectangle/MergePoints.js +++ b/src/geom/rectangle/MergePoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Merges the target Rectangle with a list of points. // The points is an array of objects with public x/y properties. diff --git a/src/geom/rectangle/MergeRect.js b/src/geom/rectangle/MergeRect.js index ee2e3ca8c..26aa0457e 100644 --- a/src/geom/rectangle/MergeRect.js +++ b/src/geom/rectangle/MergeRect.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Merges source rectangle into target rectangle and returns target // Neither rect should have negative widths or heights diff --git a/src/geom/rectangle/MergeXY.js b/src/geom/rectangle/MergeXY.js index 8929717a4..e9071d2cc 100644 --- a/src/geom/rectangle/MergeXY.js +++ b/src/geom/rectangle/MergeXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/Offset.js b/src/geom/rectangle/Offset.js index 5a7921ae8..f75fae253 100644 --- a/src/geom/rectangle/Offset.js +++ b/src/geom/rectangle/Offset.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/OffsetPoint.js b/src/geom/rectangle/OffsetPoint.js index cdea07e22..562f2b0ff 100644 --- a/src/geom/rectangle/OffsetPoint.js +++ b/src/geom/rectangle/OffsetPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/Overlaps.js b/src/geom/rectangle/Overlaps.js index e482400be..eab976553 100644 --- a/src/geom/rectangle/Overlaps.js +++ b/src/geom/rectangle/Overlaps.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/Perimeter.js b/src/geom/rectangle/Perimeter.js index 49d973c4b..f556043ed 100644 --- a/src/geom/rectangle/Perimeter.js +++ b/src/geom/rectangle/Perimeter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/rectangle/PerimeterPoint.js b/src/geom/rectangle/PerimeterPoint.js index 71c1b9c7b..83a2a683f 100644 --- a/src/geom/rectangle/PerimeterPoint.js +++ b/src/geom/rectangle/PerimeterPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); var DegToRad = require('../../math/DegToRad'); diff --git a/src/geom/rectangle/Random.js b/src/geom/rectangle/Random.js index 0f2807c43..6d87f2cfa 100644 --- a/src/geom/rectangle/Random.js +++ b/src/geom/rectangle/Random.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); /** diff --git a/src/geom/rectangle/Rectangle.js b/src/geom/rectangle/Rectangle.js index aa94f9482..dab44de9e 100644 --- a/src/geom/rectangle/Rectangle.js +++ b/src/geom/rectangle/Rectangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Contains = require('./Contains'); var GetPoint = require('./GetPoint'); diff --git a/src/geom/rectangle/Scale.js b/src/geom/rectangle/Scale.js index 65defd4c7..ff731ee03 100644 --- a/src/geom/rectangle/Scale.js +++ b/src/geom/rectangle/Scale.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Scales the width and height of this Rectangle by the given amounts. /** diff --git a/src/geom/rectangle/Union.js b/src/geom/rectangle/Union.js index 18f150605..b83666946 100644 --- a/src/geom/rectangle/Union.js +++ b/src/geom/rectangle/Union.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('./Rectangle'); /** diff --git a/src/geom/rectangle/index.js b/src/geom/rectangle/index.js index 3473a1c41..864c13bc5 100644 --- a/src/geom/rectangle/index.js +++ b/src/geom/rectangle/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Rectangle = require('./Rectangle'); Rectangle.Area = require('./Area'); diff --git a/src/geom/triangle/Area.js b/src/geom/triangle/Area.js index 8804a2110..344589b3c 100644 --- a/src/geom/triangle/Area.js +++ b/src/geom/triangle/Area.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // The 2D area of a triangle. The area value is always non-negative. /** diff --git a/src/geom/triangle/BuildEquilateral.js b/src/geom/triangle/BuildEquilateral.js index 1ac53cdce..5dc47ecec 100644 --- a/src/geom/triangle/BuildEquilateral.js +++ b/src/geom/triangle/BuildEquilateral.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Triangle = require('./Triangle'); // Builds an equilateral triangle. diff --git a/src/geom/triangle/BuildFromPolygon.js b/src/geom/triangle/BuildFromPolygon.js index 1a3f81689..4506378d8 100644 --- a/src/geom/triangle/BuildFromPolygon.js +++ b/src/geom/triangle/BuildFromPolygon.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var EarCut = require('../polygon/Earcut'); var Triangle = require('./Triangle'); diff --git a/src/geom/triangle/BuildRight.js b/src/geom/triangle/BuildRight.js index 694cbd051..1b82b299b 100644 --- a/src/geom/triangle/BuildRight.js +++ b/src/geom/triangle/BuildRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Triangle = require('./Triangle'); // Builds a right triangle, with one 90 degree angle and two acute angles diff --git a/src/geom/triangle/CenterOn.js b/src/geom/triangle/CenterOn.js index ed471196c..dc936e85a 100644 --- a/src/geom/triangle/CenterOn.js +++ b/src/geom/triangle/CenterOn.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Centroid = require('./Centroid'); var Offset = require('./Offset'); diff --git a/src/geom/triangle/Centroid.js b/src/geom/triangle/Centroid.js index 5ee3c53ca..c5ce45e51 100644 --- a/src/geom/triangle/Centroid.js +++ b/src/geom/triangle/Centroid.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); // The three medians (the lines drawn from the vertices to the bisectors of the opposite sides) diff --git a/src/geom/triangle/CircumCenter.js b/src/geom/triangle/CircumCenter.js index f75b415b4..54124a769 100644 --- a/src/geom/triangle/CircumCenter.js +++ b/src/geom/triangle/CircumCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Adapted from http://bjornharrtell.github.io/jsts/doc/api/jsts_geom_Triangle.js.html /** diff --git a/src/geom/triangle/CircumCircle.js b/src/geom/triangle/CircumCircle.js index 41031fcdf..0874a76b0 100644 --- a/src/geom/triangle/CircumCircle.js +++ b/src/geom/triangle/CircumCircle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Circle = require('../circle/Circle'); // Adapted from https://gist.github.com/mutoo/5617691 diff --git a/src/geom/triangle/Clone.js b/src/geom/triangle/Clone.js index 64a44d44f..ed1b1c42e 100644 --- a/src/geom/triangle/Clone.js +++ b/src/geom/triangle/Clone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Triangle = require('./Triangle'); /** diff --git a/src/geom/triangle/Contains.js b/src/geom/triangle/Contains.js index 663061719..0b48d189d 100644 --- a/src/geom/triangle/Contains.js +++ b/src/geom/triangle/Contains.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // http://www.blackpawn.com/texts/pointinpoly/ /** diff --git a/src/geom/triangle/ContainsArray.js b/src/geom/triangle/ContainsArray.js index dc9ecbd7c..d9a039c61 100644 --- a/src/geom/triangle/ContainsArray.js +++ b/src/geom/triangle/ContainsArray.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // http://www.blackpawn.com/texts/pointinpoly/ // points is an array of Point-like objects with public x/y properties diff --git a/src/geom/triangle/ContainsPoint.js b/src/geom/triangle/ContainsPoint.js index 2f0d73d15..9c60fcc55 100644 --- a/src/geom/triangle/ContainsPoint.js +++ b/src/geom/triangle/ContainsPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Contains = require('./Contains'); /** diff --git a/src/geom/triangle/CopyFrom.js b/src/geom/triangle/CopyFrom.js index 4e7dbacd6..f95b02cd3 100644 --- a/src/geom/triangle/CopyFrom.js +++ b/src/geom/triangle/CopyFrom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/triangle/Decompose.js b/src/geom/triangle/Decompose.js index 0f84c7015..f0fe5be29 100644 --- a/src/geom/triangle/Decompose.js +++ b/src/geom/triangle/Decompose.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/triangle/Equals.js b/src/geom/triangle/Equals.js index a88841dc7..25a5c238a 100644 --- a/src/geom/triangle/Equals.js +++ b/src/geom/triangle/Equals.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/triangle/GetPoint.js b/src/geom/triangle/GetPoint.js index 056af0e64..7d3236fd8 100644 --- a/src/geom/triangle/GetPoint.js +++ b/src/geom/triangle/GetPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); var Length = require('../line/Length'); diff --git a/src/geom/triangle/GetPoints.js b/src/geom/triangle/GetPoints.js index 43941b11b..b19b00211 100644 --- a/src/geom/triangle/GetPoints.js +++ b/src/geom/triangle/GetPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Length = require('../line/Length'); var Point = require('../point/Point'); diff --git a/src/geom/triangle/InCenter.js b/src/geom/triangle/InCenter.js index 74ca2f6b8..76800829f 100644 --- a/src/geom/triangle/InCenter.js +++ b/src/geom/triangle/InCenter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); // The three angle bisectors of a triangle meet in one point called the incenter. diff --git a/src/geom/triangle/Offset.js b/src/geom/triangle/Offset.js index 780c37edf..9d8532369 100644 --- a/src/geom/triangle/Offset.js +++ b/src/geom/triangle/Offset.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/triangle/Perimeter.js b/src/geom/triangle/Perimeter.js index a49c3e405..c516750ee 100644 --- a/src/geom/triangle/Perimeter.js +++ b/src/geom/triangle/Perimeter.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Length = require('../line/Length'); // The 2D area of a triangle. The area value is always non-negative. diff --git a/src/geom/triangle/Random.js b/src/geom/triangle/Random.js index aee0e6e07..d64e3352c 100644 --- a/src/geom/triangle/Random.js +++ b/src/geom/triangle/Random.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Point = require('../point/Point'); /** diff --git a/src/geom/triangle/Rotate.js b/src/geom/triangle/Rotate.js index e2ff51240..799a4c650 100644 --- a/src/geom/triangle/Rotate.js +++ b/src/geom/triangle/Rotate.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RotateAroundXY = require('./RotateAroundXY'); var InCenter = require('./InCenter'); diff --git a/src/geom/triangle/RotateAroundPoint.js b/src/geom/triangle/RotateAroundPoint.js index c1aa8259d..3115b54f8 100644 --- a/src/geom/triangle/RotateAroundPoint.js +++ b/src/geom/triangle/RotateAroundPoint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RotateAroundXY = require('./RotateAroundXY'); /** diff --git a/src/geom/triangle/RotateAroundXY.js b/src/geom/triangle/RotateAroundXY.js index 3fa88a34d..bef59f966 100644 --- a/src/geom/triangle/RotateAroundXY.js +++ b/src/geom/triangle/RotateAroundXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/geom/triangle/Triangle.js b/src/geom/triangle/Triangle.js index f68328cef..c8780c6a0 100644 --- a/src/geom/triangle/Triangle.js +++ b/src/geom/triangle/Triangle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Contains = require('./Contains'); var GetPoint = require('./GetPoint'); diff --git a/src/geom/triangle/index.js b/src/geom/triangle/index.js index eac1261dc..a305f7cd9 100644 --- a/src/geom/triangle/index.js +++ b/src/geom/triangle/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Triangle = require('./Triangle'); Triangle.Area = require('./Area'); diff --git a/src/input/InputManager.js b/src/input/InputManager.js index 6bc153877..5f470db53 100644 --- a/src/input/InputManager.js +++ b/src/input/InputManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var EventEmitter = require('eventemitter3'); var Gamepad = require('./gamepad/GamepadManager'); diff --git a/src/input/InputPlugin.js b/src/input/InputPlugin.js index b85220909..fc4c06715 100644 --- a/src/input/InputPlugin.js +++ b/src/input/InputPlugin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Circle = require('../geom/circle/Circle'); var CircleContains = require('../geom/circle/Contains'); var Class = require('../utils/Class'); diff --git a/src/input/InteractiveObject.js b/src/input/InteractiveObject.js index 046adddd1..d325dbc45 100644 --- a/src/input/InteractiveObject.js +++ b/src/input/InteractiveObject.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Input.InteractiveObject var InteractiveObject = function (gameObject, hitArea, hitAreaCallback) diff --git a/src/input/Pointer.js b/src/input/Pointer.js index edc167c3b..2cf894716 100644 --- a/src/input/Pointer.js +++ b/src/input/Pointer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var Vector2 = require('../math/Vector2'); diff --git a/src/input/gamepad/Axis.js b/src/input/gamepad/Axis.js index 9dcef4529..15bc2a97e 100644 --- a/src/input/gamepad/Axis.js +++ b/src/input/gamepad/Axis.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/input/gamepad/Button.js b/src/input/gamepad/Button.js index 2cfc43486..0d9b991bd 100644 --- a/src/input/gamepad/Button.js +++ b/src/input/gamepad/Button.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/input/gamepad/Gamepad.js b/src/input/gamepad/Gamepad.js index ef2a9a37c..6be34d5b9 100644 --- a/src/input/gamepad/Gamepad.js +++ b/src/input/gamepad/Gamepad.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Axis = require('./Axis'); var Button = require('./Button'); var Class = require('../../utils/Class'); diff --git a/src/input/gamepad/GamepadManager.js b/src/input/gamepad/GamepadManager.js index 0b03ca874..808e4d6d2 100644 --- a/src/input/gamepad/GamepadManager.js +++ b/src/input/gamepad/GamepadManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Gamepad = require('./Gamepad'); diff --git a/src/input/gamepad/configs/SNES_USB_Controller.js b/src/input/gamepad/configs/SNES_USB_Controller.js index 45609b20e..6633956c2 100644 --- a/src/input/gamepad/configs/SNES_USB_Controller.js +++ b/src/input/gamepad/configs/SNES_USB_Controller.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Tatar SNES USB Controller Gamepad Configuration. * USB Gamepad (STANDARD GAMEPAD Vendor: 0079 Product: 0011) diff --git a/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js b/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js index 8aa37c1a3..d6bd72e97 100644 --- a/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js +++ b/src/input/gamepad/configs/Sony_PlayStation_DualShock_4.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * PlayStation DualShock 4 Gamepad Configuration. * Sony PlayStation DualShock 4 (v2) wireless controller diff --git a/src/input/gamepad/configs/XBox360_Controller.js b/src/input/gamepad/configs/XBox360_Controller.js index 6b26cf3db..d35976c2a 100644 --- a/src/input/gamepad/configs/XBox360_Controller.js +++ b/src/input/gamepad/configs/XBox360_Controller.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * XBox 360 Gamepad Configuration. * diff --git a/src/input/gamepad/configs/index.js b/src/input/gamepad/configs/index.js index 24d2c8141..eb7e9b8f3 100644 --- a/src/input/gamepad/configs/index.js +++ b/src/input/gamepad/configs/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Input.Gamepad.Configs */ diff --git a/src/input/gamepad/index.js b/src/input/gamepad/index.js index 86f775681..f527099ca 100644 --- a/src/input/gamepad/index.js +++ b/src/input/gamepad/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Input.Gamepad */ diff --git a/src/input/index.js b/src/input/index.js index 81b4586f7..a4c6074c4 100644 --- a/src/input/index.js +++ b/src/input/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Input */ diff --git a/src/input/keyboard/KeyboardManager.js b/src/input/keyboard/KeyboardManager.js index ac5e5860c..65f3ecbdf 100644 --- a/src/input/keyboard/KeyboardManager.js +++ b/src/input/keyboard/KeyboardManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var EventEmitter = require('eventemitter3'); var Key = require('./keys/Key'); diff --git a/src/input/keyboard/combo/AdvanceKeyCombo.js b/src/input/keyboard/combo/AdvanceKeyCombo.js index 227c62bdd..107b38b4d 100644 --- a/src/input/keyboard/combo/AdvanceKeyCombo.js +++ b/src/input/keyboard/combo/AdvanceKeyCombo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Used internally by the KeyCombo class. * Return `true` if it reached the end of the combo, `false` if not. diff --git a/src/input/keyboard/combo/KeyCombo.js b/src/input/keyboard/combo/KeyCombo.js index aa2d66a21..cd5930fab 100644 --- a/src/input/keyboard/combo/KeyCombo.js +++ b/src/input/keyboard/combo/KeyCombo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var GetFastValue = require('../../../utils/object/GetFastValue'); var ProcessKeyCombo = require('./ProcessKeyCombo'); diff --git a/src/input/keyboard/combo/ProcessKeyCombo.js b/src/input/keyboard/combo/ProcessKeyCombo.js index 4c2b071bd..324961660 100644 --- a/src/input/keyboard/combo/ProcessKeyCombo.js +++ b/src/input/keyboard/combo/ProcessKeyCombo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var AdvanceKeyCombo = require('./AdvanceKeyCombo'); /** diff --git a/src/input/keyboard/combo/ResetKeyCombo.js b/src/input/keyboard/combo/ResetKeyCombo.js index cacb09354..c66df6360 100644 --- a/src/input/keyboard/combo/ResetKeyCombo.js +++ b/src/input/keyboard/combo/ResetKeyCombo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Used internally by the KeyCombo class. * diff --git a/src/input/keyboard/index.js b/src/input/keyboard/index.js index c53fe3a22..71dd55f16 100644 --- a/src/input/keyboard/index.js +++ b/src/input/keyboard/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Input.Keyboard */ diff --git a/src/input/keyboard/keys/DownDuration.js b/src/input/keyboard/keys/DownDuration.js index 8d9da8a3e..1835b061b 100644 --- a/src/input/keyboard/keys/DownDuration.js +++ b/src/input/keyboard/keys/DownDuration.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns `true` if the Key was pressed down within the `duration` value given, or `false` if it either isn't down, * or was pressed down longer ago than then given duration. diff --git a/src/input/keyboard/keys/JustDown.js b/src/input/keyboard/keys/JustDown.js index 00e5661ff..52bf201d3 100644 --- a/src/input/keyboard/keys/JustDown.js +++ b/src/input/keyboard/keys/JustDown.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|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`. diff --git a/src/input/keyboard/keys/JustUp.js b/src/input/keyboard/keys/JustUp.js index 4e0fd50c6..193bd1739 100644 --- a/src/input/keyboard/keys/JustUp.js +++ b/src/input/keyboard/keys/JustUp.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|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`. diff --git a/src/input/keyboard/keys/Key.js b/src/input/keyboard/keys/Key.js index d147b6a07..fe684cf6d 100644 --- a/src/input/keyboard/keys/Key.js +++ b/src/input/keyboard/keys/Key.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); /** diff --git a/src/input/keyboard/keys/KeyCodes.js b/src/input/keyboard/keys/KeyCodes.js index 5ce75cdcf..6ada15b84 100644 --- a/src/input/keyboard/keys/KeyCodes.js +++ b/src/input/keyboard/keys/KeyCodes.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + module.exports = { /** diff --git a/src/input/keyboard/keys/KeyMap.js b/src/input/keyboard/keys/KeyMap.js index a01673ca3..a1cf93bdc 100644 --- a/src/input/keyboard/keys/KeyMap.js +++ b/src/input/keyboard/keys/KeyMap.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var KeyCodes = require('./KeyCodes'); var KeyMap = {}; diff --git a/src/input/keyboard/keys/ProcessKeyDown.js b/src/input/keyboard/keys/ProcessKeyDown.js index c01a74fcf..cb0dec4d9 100644 --- a/src/input/keyboard/keys/ProcessKeyDown.js +++ b/src/input/keyboard/keys/ProcessKeyDown.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Used internally by the KeyboardManager. * diff --git a/src/input/keyboard/keys/ProcessKeyUp.js b/src/input/keyboard/keys/ProcessKeyUp.js index 2a121b4c8..d10af9dfd 100644 --- a/src/input/keyboard/keys/ProcessKeyUp.js +++ b/src/input/keyboard/keys/ProcessKeyUp.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Used internally by the KeyboardManager. * diff --git a/src/input/keyboard/keys/ResetKey.js b/src/input/keyboard/keys/ResetKey.js index fd7343a8d..7b0f54af5 100644 --- a/src/input/keyboard/keys/ResetKey.js +++ b/src/input/keyboard/keys/ResetKey.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Resets a Key object back to its default settings. * Optionally resets the keyCode as well. diff --git a/src/input/keyboard/keys/UpDuration.js b/src/input/keyboard/keys/UpDuration.js index 127b3ca09..f25f77460 100644 --- a/src/input/keyboard/keys/UpDuration.js +++ b/src/input/keyboard/keys/UpDuration.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns `true` if the Key was released within the `duration` value given, or `false` if it either isn't up, * or was released longer ago than then given duration. diff --git a/src/input/mouse/MouseManager.js b/src/input/mouse/MouseManager.js index 5fbd69b1f..0edb35ea8 100644 --- a/src/input/mouse/MouseManager.js +++ b/src/input/mouse/MouseManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Features = require('../../device/Features'); diff --git a/src/input/mouse/index.js b/src/input/mouse/index.js index d97e7a731..5b1a33fce 100644 --- a/src/input/mouse/index.js +++ b/src/input/mouse/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Input.Mouse */ diff --git a/src/input/touch/TouchManager.js b/src/input/touch/TouchManager.js index b0f50602d..d678789bf 100644 --- a/src/input/touch/TouchManager.js +++ b/src/input/touch/TouchManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); // https://developer.mozilla.org/en-US/docs/Web/API/Touch_events diff --git a/src/input/touch/index.js b/src/input/touch/index.js index ec65946ea..d8a00c37f 100644 --- a/src/input/touch/index.js +++ b/src/input/touch/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Input.Touch */ diff --git a/src/loader/File.js b/src/loader/File.js index 9d7cac9a2..9b69aedd1 100644 --- a/src/loader/File.js +++ b/src/loader/File.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var CONST = require('./const'); var GetFastValue = require('../utils/object/GetFastValue'); diff --git a/src/loader/FileTypesManager.js b/src/loader/FileTypesManager.js index 1c2a82469..8daa3d453 100644 --- a/src/loader/FileTypesManager.js +++ b/src/loader/FileTypesManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var types = {}; var FileTypesManager = { diff --git a/src/loader/GetURL.js b/src/loader/GetURL.js index 8fad17b63..30b326562 100644 --- a/src/loader/GetURL.js +++ b/src/loader/GetURL.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Given a File and a baseURL value this returns the URL the File will use to download from. * diff --git a/src/loader/LoaderPlugin.js b/src/loader/LoaderPlugin.js index 8b31e258d..ea7fe97fe 100644 --- a/src/loader/LoaderPlugin.js +++ b/src/loader/LoaderPlugin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var CONST = require('./const'); var CustomSet = require('../structs/Set'); diff --git a/src/loader/MergeXHRSettings.js b/src/loader/MergeXHRSettings.js index ddc57df34..d725404bf 100644 --- a/src/loader/MergeXHRSettings.js +++ b/src/loader/MergeXHRSettings.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Extend = require('../utils/object/Extend'); var XHRSettings = require('./XHRSettings'); diff --git a/src/loader/XHRLoader.js b/src/loader/XHRLoader.js index 0d4335343..f61d15b94 100644 --- a/src/loader/XHRLoader.js +++ b/src/loader/XHRLoader.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MergeXHRSettings = require('./MergeXHRSettings'); /** diff --git a/src/loader/XHRSettings.js b/src/loader/XHRSettings.js index 06931d536..8041702d0 100644 --- a/src/loader/XHRSettings.js +++ b/src/loader/XHRSettings.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Creates an XHRSettings Object with default values. * diff --git a/src/loader/const.js b/src/loader/const.js index 73b368170..af6643623 100644 --- a/src/loader/const.js +++ b/src/loader/const.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FILE_CONST = { /** diff --git a/src/loader/filetypes/AnimationJSONFile.js b/src/loader/filetypes/AnimationJSONFile.js index 086ed6e66..242e69ffc 100644 --- a/src/loader/filetypes/AnimationJSONFile.js +++ b/src/loader/filetypes/AnimationJSONFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FileTypesManager = require('../FileTypesManager'); var JSONFile = require('./JSONFile.js'); diff --git a/src/loader/filetypes/AtlasJSONFile.js b/src/loader/filetypes/AtlasJSONFile.js index d2865fa45..c40134e58 100644 --- a/src/loader/filetypes/AtlasJSONFile.js +++ b/src/loader/filetypes/AtlasJSONFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FileTypesManager = require('../FileTypesManager'); var ImageFile = require('./ImageFile.js'); var JSONFile = require('./JSONFile.js'); diff --git a/src/loader/filetypes/AudioFile.js b/src/loader/filetypes/AudioFile.js index dceda6fa1..fdc914ccf 100644 --- a/src/loader/filetypes/AudioFile.js +++ b/src/loader/filetypes/AudioFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../../const'); var File = require('../File'); diff --git a/src/loader/filetypes/AudioSprite.js b/src/loader/filetypes/AudioSprite.js index 1d781fba7..5cd85c345 100644 --- a/src/loader/filetypes/AudioSprite.js +++ b/src/loader/filetypes/AudioSprite.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var AudioFile = require('./AudioFile.js'); var CONST = require('../const'); var FileTypesManager = require('../FileTypesManager'); diff --git a/src/loader/filetypes/BinaryFile.js b/src/loader/filetypes/BinaryFile.js index c2ae6684a..854d79495 100644 --- a/src/loader/filetypes/BinaryFile.js +++ b/src/loader/filetypes/BinaryFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/BitmapFontFile.js b/src/loader/filetypes/BitmapFontFile.js index 6e24148d5..0e65b3fce 100644 --- a/src/loader/filetypes/BitmapFontFile.js +++ b/src/loader/filetypes/BitmapFontFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FileTypesManager = require('../FileTypesManager'); var ImageFile = require('./ImageFile.js'); var XMLFile = require('./XMLFile.js'); diff --git a/src/loader/filetypes/GLSLFile.js b/src/loader/filetypes/GLSLFile.js index 4fa9db3e0..ade172941 100644 --- a/src/loader/filetypes/GLSLFile.js +++ b/src/loader/filetypes/GLSLFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/HTML5AudioFile.js b/src/loader/filetypes/HTML5AudioFile.js index be3cc90a5..f4b14663c 100644 --- a/src/loader/filetypes/HTML5AudioFile.js +++ b/src/loader/filetypes/HTML5AudioFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var File = require('../File'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/loader/filetypes/HTMLFile.js b/src/loader/filetypes/HTMLFile.js index 022e919e1..8c03d7350 100644 --- a/src/loader/filetypes/HTMLFile.js +++ b/src/loader/filetypes/HTMLFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/ImageFile.js b/src/loader/filetypes/ImageFile.js index 4d1f9bcb0..33b458d0a 100644 --- a/src/loader/filetypes/ImageFile.js +++ b/src/loader/filetypes/ImageFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/JSONFile.js b/src/loader/filetypes/JSONFile.js index bd7ef444f..316f0ef3a 100644 --- a/src/loader/filetypes/JSONFile.js +++ b/src/loader/filetypes/JSONFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/MultiAtlas.js b/src/loader/filetypes/MultiAtlas.js index 4e6bb7e7b..274908be6 100644 --- a/src/loader/filetypes/MultiAtlas.js +++ b/src/loader/filetypes/MultiAtlas.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FileTypesManager = require('../FileTypesManager'); var ImageFile = require('./ImageFile.js'); var JSONFile = require('./JSONFile.js'); diff --git a/src/loader/filetypes/PluginFile.js b/src/loader/filetypes/PluginFile.js index 70ea8ed93..8fa0380e6 100644 --- a/src/loader/filetypes/PluginFile.js +++ b/src/loader/filetypes/PluginFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/SVGFile.js b/src/loader/filetypes/SVGFile.js index 52a8afd9e..a24f26ac9 100644 --- a/src/loader/filetypes/SVGFile.js +++ b/src/loader/filetypes/SVGFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/ScriptFile.js b/src/loader/filetypes/ScriptFile.js index a2ae0985e..9f3e864c6 100644 --- a/src/loader/filetypes/ScriptFile.js +++ b/src/loader/filetypes/ScriptFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/SpriteSheetFile.js b/src/loader/filetypes/SpriteSheetFile.js index d3432bb2e..b66401afa 100644 --- a/src/loader/filetypes/SpriteSheetFile.js +++ b/src/loader/filetypes/SpriteSheetFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FileTypesManager = require('../FileTypesManager'); var ImageFile = require('./ImageFile.js'); diff --git a/src/loader/filetypes/TextFile.js b/src/loader/filetypes/TextFile.js index 81c0965b1..9f67861da 100644 --- a/src/loader/filetypes/TextFile.js +++ b/src/loader/filetypes/TextFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/TilemapCSVFile.js b/src/loader/filetypes/TilemapCSVFile.js index 851b1800c..96c85362b 100644 --- a/src/loader/filetypes/TilemapCSVFile.js +++ b/src/loader/filetypes/TilemapCSVFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/TilemapJSONFile.js b/src/loader/filetypes/TilemapJSONFile.js index 6e5e70749..f683b90cd 100644 --- a/src/loader/filetypes/TilemapJSONFile.js +++ b/src/loader/filetypes/TilemapJSONFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FileTypesManager = require('../FileTypesManager'); var JSONFile = require('./JSONFile.js'); var TILEMAP_FORMATS = require('../../tilemaps/Formats'); diff --git a/src/loader/filetypes/UnityAtlasFile.js b/src/loader/filetypes/UnityAtlasFile.js index 81b3fa1cf..06d78cd76 100644 --- a/src/loader/filetypes/UnityAtlasFile.js +++ b/src/loader/filetypes/UnityAtlasFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FileTypesManager = require('../FileTypesManager'); var ImageFile = require('./ImageFile.js'); var TextFile = require('./TextFile.js'); diff --git a/src/loader/filetypes/WavefrontFile.js b/src/loader/filetypes/WavefrontFile.js index 40e6441cd..dc896713e 100644 --- a/src/loader/filetypes/WavefrontFile.js +++ b/src/loader/filetypes/WavefrontFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/XMLFile.js b/src/loader/filetypes/XMLFile.js index 9cdf0944e..9a0ab22f4 100644 --- a/src/loader/filetypes/XMLFile.js +++ b/src/loader/filetypes/XMLFile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../const'); var File = require('../File'); diff --git a/src/loader/filetypes/index.js b/src/loader/filetypes/index.js index 13206670d..bd23bf70f 100644 --- a/src/loader/filetypes/index.js +++ b/src/loader/filetypes/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Loader.FileTypes */ diff --git a/src/loader/index.js b/src/loader/index.js index 0817efba6..91359149d 100644 --- a/src/loader/index.js +++ b/src/loader/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Loader */ diff --git a/src/math/Average.js b/src/math/Average.js index 1a0d905be..7c0113602 100644 --- a/src/math/Average.js +++ b/src/math/Average.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/Bernstein.js b/src/math/Bernstein.js index ca7b50eb8..8477c703e 100644 --- a/src/math/Bernstein.js +++ b/src/math/Bernstein.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Factorial = require('./Factorial'); /** diff --git a/src/math/Between.js b/src/math/Between.js index f3adf0637..4e7fa3a02 100644 --- a/src/math/Between.js +++ b/src/math/Between.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/CatmullRom.js b/src/math/CatmullRom.js index 97bae7781..8e55fe659 100644 --- a/src/math/CatmullRom.js +++ b/src/math/CatmullRom.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/CeilTo.js b/src/math/CeilTo.js index 62425e037..2a1fcbe94 100644 --- a/src/math/CeilTo.js +++ b/src/math/CeilTo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/Clamp.js b/src/math/Clamp.js index a4f2d69c0..072fb1740 100644 --- a/src/math/Clamp.js +++ b/src/math/Clamp.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Force a value within the boundaries by clamping it to the range `min`, `max`. * diff --git a/src/math/DegToRad.js b/src/math/DegToRad.js index bf5df0e84..b0294361b 100644 --- a/src/math/DegToRad.js +++ b/src/math/DegToRad.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CONST = require('./const'); /** diff --git a/src/math/Difference.js b/src/math/Difference.js index 71925e16e..fe261f713 100644 --- a/src/math/Difference.js +++ b/src/math/Difference.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/Factorial.js b/src/math/Factorial.js index 52c26044c..7b3700c45 100644 --- a/src/math/Factorial.js +++ b/src/math/Factorial.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/FloatBetween.js b/src/math/FloatBetween.js index 7de89254d..c57101cc3 100644 --- a/src/math/FloatBetween.js +++ b/src/math/FloatBetween.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/FloorTo.js b/src/math/FloorTo.js index 0b464b241..7f1393761 100644 --- a/src/math/FloorTo.js +++ b/src/math/FloorTo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/FromPercent.js b/src/math/FromPercent.js index ef81cb86a..797c74564 100644 --- a/src/math/FromPercent.js +++ b/src/math/FromPercent.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Clamp = require('./Clamp'); /** diff --git a/src/math/GetSpeed.js b/src/math/GetSpeed.js index 5a109396a..b912fa23e 100644 --- a/src/math/GetSpeed.js +++ b/src/math/GetSpeed.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/IsEven.js b/src/math/IsEven.js index b56a2e119..75daa9253 100644 --- a/src/math/IsEven.js +++ b/src/math/IsEven.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/IsEvenStrict.js b/src/math/IsEvenStrict.js index 0e20e5daf..fd7c94f7e 100644 --- a/src/math/IsEvenStrict.js +++ b/src/math/IsEvenStrict.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/Linear.js b/src/math/Linear.js index 37f7b0af3..cf91307f4 100644 --- a/src/math/Linear.js +++ b/src/math/Linear.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/Matrix3.js b/src/math/Matrix3.js index 9b2d73a90..3d85ff366 100644 --- a/src/math/Matrix3.js +++ b/src/math/Matrix3.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Adapted from [gl-matrix](https://github.com/toji/gl-matrix) by toji // and [vecmath](https://github.com/mattdesl/vecmath) by mattdesl diff --git a/src/math/Matrix4.js b/src/math/Matrix4.js index dbeafc6df..97e0861c4 100644 --- a/src/math/Matrix4.js +++ b/src/math/Matrix4.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Adapted from [gl-matrix](https://github.com/toji/gl-matrix) by toji // and [vecmath](https://github.com/mattdesl/vecmath) by mattdesl diff --git a/src/math/MaxAdd.js b/src/math/MaxAdd.js index 9adfb9990..b7d17a62d 100644 --- a/src/math/MaxAdd.js +++ b/src/math/MaxAdd.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/MinSub.js b/src/math/MinSub.js index 83e80c378..afd0c7983 100644 --- a/src/math/MinSub.js +++ b/src/math/MinSub.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/Percent.js b/src/math/Percent.js index f89b1197e..680274141 100644 --- a/src/math/Percent.js +++ b/src/math/Percent.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Work out what percentage `value` is of the range between `min` and `max`. * If `max` isn't given then it will return the percentage of `value` to `min`. diff --git a/src/math/Quaternion.js b/src/math/Quaternion.js index 64b6a0896..77d4fe584 100644 --- a/src/math/Quaternion.js +++ b/src/math/Quaternion.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Adapted from [gl-matrix](https://github.com/toji/gl-matrix) by toji // and [vecmath](https://github.com/mattdesl/vecmath) by mattdesl diff --git a/src/math/RadToDeg.js b/src/math/RadToDeg.js index 4c3cce0fc..13c91221d 100644 --- a/src/math/RadToDeg.js +++ b/src/math/RadToDeg.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CONST = require('./const'); /** diff --git a/src/math/RandomXY.js b/src/math/RandomXY.js index 46aeb16c3..12b29d5fc 100644 --- a/src/math/RandomXY.js +++ b/src/math/RandomXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/RandomXYZ.js b/src/math/RandomXYZ.js index 7804e11a5..db3fc3743 100644 --- a/src/math/RandomXYZ.js +++ b/src/math/RandomXYZ.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Position Vector randomly in a spherical area defined by the given radius /** * [description] diff --git a/src/math/RandomXYZW.js b/src/math/RandomXYZW.js index 694a33ccd..99359e5cb 100644 --- a/src/math/RandomXYZW.js +++ b/src/math/RandomXYZW.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/Rotate.js b/src/math/Rotate.js index 7fd06d443..fd9a1a37f 100644 --- a/src/math/Rotate.js +++ b/src/math/Rotate.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/RotateAround.js b/src/math/RotateAround.js index cd2632653..b2703fc27 100644 --- a/src/math/RotateAround.js +++ b/src/math/RotateAround.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/RotateAroundDistance.js b/src/math/RotateAroundDistance.js index 871279d3b..91225f955 100644 --- a/src/math/RotateAroundDistance.js +++ b/src/math/RotateAroundDistance.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/RotateVec3.js b/src/math/RotateVec3.js index 7405571c9..3c01227cf 100644 --- a/src/math/RotateVec3.js +++ b/src/math/RotateVec3.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Vector3 = require('../math/Vector3'); var Matrix4 = require('../math/Matrix4'); var Quaternion = require('../math/Quaternion'); diff --git a/src/math/RoundAwayFromZero.js b/src/math/RoundAwayFromZero.js index 3798bb806..c20709780 100644 --- a/src/math/RoundAwayFromZero.js +++ b/src/math/RoundAwayFromZero.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/RoundTo.js b/src/math/RoundTo.js index 6b1ba7502..a0c30f8a2 100644 --- a/src/math/RoundTo.js +++ b/src/math/RoundTo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/SinCosTableGenerator.js b/src/math/SinCosTableGenerator.js index 03c9523b6..0d918dc0c 100644 --- a/src/math/SinCosTableGenerator.js +++ b/src/math/SinCosTableGenerator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] diff --git a/src/math/SmoothStep.js b/src/math/SmoothStep.js index c75ff0ea5..923b5f596 100644 --- a/src/math/SmoothStep.js +++ b/src/math/SmoothStep.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/SmootherStep.js b/src/math/SmootherStep.js index 13a978401..77bebafee 100644 --- a/src/math/SmootherStep.js +++ b/src/math/SmootherStep.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/TransformXY.js b/src/math/TransformXY.js index bd8e1a019..6d762fc20 100644 --- a/src/math/TransformXY.js +++ b/src/math/TransformXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Vector2 = require('./Vector2'); /** diff --git a/src/math/Vector2.js b/src/math/Vector2.js index d8d6fa46e..15ec6aa22 100644 --- a/src/math/Vector2.js +++ b/src/math/Vector2.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Adapted from [gl-matrix](https://github.com/toji/gl-matrix) by toji // and [vecmath](https://github.com/mattdesl/vecmath) by mattdesl diff --git a/src/math/Vector3.js b/src/math/Vector3.js index d0d672ab3..2cf99c785 100644 --- a/src/math/Vector3.js +++ b/src/math/Vector3.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Adapted from [gl-matrix](https://github.com/toji/gl-matrix) by toji // and [vecmath](https://github.com/mattdesl/vecmath) by mattdesl diff --git a/src/math/Vector4.js b/src/math/Vector4.js index c4720e048..6e8962fc9 100644 --- a/src/math/Vector4.js +++ b/src/math/Vector4.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Adapted from [gl-matrix](https://github.com/toji/gl-matrix) by toji // and [vecmath](https://github.com/mattdesl/vecmath) by mattdesl diff --git a/src/math/Within.js b/src/math/Within.js index aca2dbcf3..fb5d5ac3b 100644 --- a/src/math/Within.js +++ b/src/math/Within.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Checks if the two values are within the given `tolerance` of each other. * diff --git a/src/math/Wrap.js b/src/math/Wrap.js index 3f2d1c1d1..295e28f7c 100644 --- a/src/math/Wrap.js +++ b/src/math/Wrap.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/angle/Between.js b/src/math/angle/Between.js index e757ad028..0c1fa78c4 100644 --- a/src/math/angle/Between.js +++ b/src/math/angle/Between.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/angle/BetweenPoints.js b/src/math/angle/BetweenPoints.js index 5dd418047..3d44deacb 100644 --- a/src/math/angle/BetweenPoints.js +++ b/src/math/angle/BetweenPoints.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/angle/BetweenPointsY.js b/src/math/angle/BetweenPointsY.js index 64453080d..e1e392df0 100644 --- a/src/math/angle/BetweenPointsY.js +++ b/src/math/angle/BetweenPointsY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/angle/BetweenY.js b/src/math/angle/BetweenY.js index 7f2707602..0eee43d1c 100644 --- a/src/math/angle/BetweenY.js +++ b/src/math/angle/BetweenY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/angle/Normalize.js b/src/math/angle/Normalize.js index 71f42ec3f..55b88e178 100644 --- a/src/math/angle/Normalize.js +++ b/src/math/angle/Normalize.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/angle/Reverse.js b/src/math/angle/Reverse.js index b69354ef3..bc85c5c0b 100644 --- a/src/math/angle/Reverse.js +++ b/src/math/angle/Reverse.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Normalize = require('./Normalize'); /** diff --git a/src/math/angle/RotateTo.js b/src/math/angle/RotateTo.js index 04f33f834..d7aac3711 100644 --- a/src/math/angle/RotateTo.js +++ b/src/math/angle/RotateTo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MATH_CONST = require('../const'); /** diff --git a/src/math/angle/ShortestBetween.js b/src/math/angle/ShortestBetween.js index b738e1b78..898b5c2ca 100644 --- a/src/math/angle/ShortestBetween.js +++ b/src/math/angle/ShortestBetween.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Gets the shortest angle between `angle1` and `angle2`. * Both angles must be in the range -180 to 180, which is the same clamped diff --git a/src/math/angle/Wrap.js b/src/math/angle/Wrap.js index 67cb5e93e..1e12a9a72 100644 --- a/src/math/angle/Wrap.js +++ b/src/math/angle/Wrap.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MathWrap = require('../Wrap'); /** diff --git a/src/math/angle/WrapDegrees.js b/src/math/angle/WrapDegrees.js index ff43ef5ed..12d9ca6bd 100644 --- a/src/math/angle/WrapDegrees.js +++ b/src/math/angle/WrapDegrees.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Wrap = require('../Wrap'); /** diff --git a/src/math/angle/index.js b/src/math/angle/index.js index 9cb19defc..936bcb64f 100644 --- a/src/math/angle/index.js +++ b/src/math/angle/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Math.Angle */ diff --git a/src/math/const.js b/src/math/const.js index c8f7db07c..63bd6ba06 100644 --- a/src/math/const.js +++ b/src/math/const.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RND = require('./random-data-generator/RandomDataGenerator'); var MATH_CONST = { diff --git a/src/math/distance/DistanceBetween.js b/src/math/distance/DistanceBetween.js index 2b9335700..3eae93e73 100644 --- a/src/math/distance/DistanceBetween.js +++ b/src/math/distance/DistanceBetween.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/distance/DistancePower.js b/src/math/distance/DistancePower.js index 32d9a88e8..5ea83908d 100644 --- a/src/math/distance/DistancePower.js +++ b/src/math/distance/DistancePower.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/distance/DistanceSquared.js b/src/math/distance/DistanceSquared.js index 80b7ab47d..993fcdcbb 100644 --- a/src/math/distance/DistanceSquared.js +++ b/src/math/distance/DistanceSquared.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/distance/index.js b/src/math/distance/index.js index 760bd2105..d0fe68e53 100644 --- a/src/math/distance/index.js +++ b/src/math/distance/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Math.Distance */ diff --git a/src/math/easing/EaseMap.js b/src/math/easing/EaseMap.js index 125f832aa..b89fb854d 100644 --- a/src/math/easing/EaseMap.js +++ b/src/math/easing/EaseMap.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Back = require('./back'); var Bounce = require('./bounce'); var Circular = require('./circular'); diff --git a/src/math/easing/back/In.js b/src/math/easing/back/In.js index f4b88732d..cfc15dde9 100644 --- a/src/math/easing/back/In.js +++ b/src/math/easing/back/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/back/InOut.js b/src/math/easing/back/InOut.js index bdacdbfe6..d107a0380 100644 --- a/src/math/easing/back/InOut.js +++ b/src/math/easing/back/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/back/Out.js b/src/math/easing/back/Out.js index 62ca7fa95..0aaf80d63 100644 --- a/src/math/easing/back/Out.js +++ b/src/math/easing/back/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/back/index.js b/src/math/easing/back/index.js index bb07a9d85..9a8613d4b 100644 --- a/src/math/easing/back/index.js +++ b/src/math/easing/back/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Back module.exports = { diff --git a/src/math/easing/bounce/In.js b/src/math/easing/bounce/In.js index 8bffa5a4f..a65d88dd2 100644 --- a/src/math/easing/bounce/In.js +++ b/src/math/easing/bounce/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/bounce/InOut.js b/src/math/easing/bounce/InOut.js index 2c906d691..6df830e70 100644 --- a/src/math/easing/bounce/InOut.js +++ b/src/math/easing/bounce/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/bounce/Out.js b/src/math/easing/bounce/Out.js index 5edc74980..44095ca76 100644 --- a/src/math/easing/bounce/Out.js +++ b/src/math/easing/bounce/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/bounce/index.js b/src/math/easing/bounce/index.js index c893bd2ec..3c3adb4b3 100644 --- a/src/math/easing/bounce/index.js +++ b/src/math/easing/bounce/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Bounce module.exports = { diff --git a/src/math/easing/circular/In.js b/src/math/easing/circular/In.js index f807c4726..4139eac5e 100644 --- a/src/math/easing/circular/In.js +++ b/src/math/easing/circular/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/circular/InOut.js b/src/math/easing/circular/InOut.js index d2fb9c7a6..83cc8bdb3 100644 --- a/src/math/easing/circular/InOut.js +++ b/src/math/easing/circular/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/circular/Out.js b/src/math/easing/circular/Out.js index e4d413c84..0ddcbc956 100644 --- a/src/math/easing/circular/Out.js +++ b/src/math/easing/circular/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/circular/index.js b/src/math/easing/circular/index.js index ab57480b3..24fa52c63 100644 --- a/src/math/easing/circular/index.js +++ b/src/math/easing/circular/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Circular module.exports = { diff --git a/src/math/easing/cubic/In.js b/src/math/easing/cubic/In.js index 799fd74d5..623bc3d3d 100644 --- a/src/math/easing/cubic/In.js +++ b/src/math/easing/cubic/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/cubic/InOut.js b/src/math/easing/cubic/InOut.js index 444e15115..9d9386cc2 100644 --- a/src/math/easing/cubic/InOut.js +++ b/src/math/easing/cubic/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/cubic/Out.js b/src/math/easing/cubic/Out.js index 0568442f9..3a41950ef 100644 --- a/src/math/easing/cubic/Out.js +++ b/src/math/easing/cubic/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/cubic/index.js b/src/math/easing/cubic/index.js index c76aa7a9b..972ed6d88 100644 --- a/src/math/easing/cubic/index.js +++ b/src/math/easing/cubic/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Cubic module.exports = { diff --git a/src/math/easing/elastic/In.js b/src/math/easing/elastic/In.js index b8fe51286..55a244eff 100644 --- a/src/math/easing/elastic/In.js +++ b/src/math/easing/elastic/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/elastic/InOut.js b/src/math/easing/elastic/InOut.js index 6784af316..54771bfe2 100644 --- a/src/math/easing/elastic/InOut.js +++ b/src/math/easing/elastic/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/elastic/Out.js b/src/math/easing/elastic/Out.js index 9dd7fca65..a63664efa 100644 --- a/src/math/easing/elastic/Out.js +++ b/src/math/easing/elastic/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/elastic/index.js b/src/math/easing/elastic/index.js index 18f52c984..a10640572 100644 --- a/src/math/easing/elastic/index.js +++ b/src/math/easing/elastic/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Elastic module.exports = { diff --git a/src/math/easing/expo/In.js b/src/math/easing/expo/In.js index 63e308033..983e4f7e1 100644 --- a/src/math/easing/expo/In.js +++ b/src/math/easing/expo/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/expo/InOut.js b/src/math/easing/expo/InOut.js index 20bd8c466..d367dd1e5 100644 --- a/src/math/easing/expo/InOut.js +++ b/src/math/easing/expo/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/expo/Out.js b/src/math/easing/expo/Out.js index 2a56961e7..965716440 100644 --- a/src/math/easing/expo/Out.js +++ b/src/math/easing/expo/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/expo/index.js b/src/math/easing/expo/index.js index c048e56ad..83aa45bb7 100644 --- a/src/math/easing/expo/index.js +++ b/src/math/easing/expo/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Expo module.exports = { diff --git a/src/math/easing/index.js b/src/math/easing/index.js index f70398a6c..967f5215c 100644 --- a/src/math/easing/index.js +++ b/src/math/easing/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Math.Easing */ diff --git a/src/math/easing/linear/Linear.js b/src/math/easing/linear/Linear.js index ecc686e49..72b4efaa9 100644 --- a/src/math/easing/linear/Linear.js +++ b/src/math/easing/linear/Linear.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/linear/index.js b/src/math/easing/linear/index.js index e76ec9fc2..67f2a929d 100644 --- a/src/math/easing/linear/index.js +++ b/src/math/easing/linear/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Linear module.exports = require('./Linear'); diff --git a/src/math/easing/quadratic/In.js b/src/math/easing/quadratic/In.js index 87bd16084..b64788acc 100644 --- a/src/math/easing/quadratic/In.js +++ b/src/math/easing/quadratic/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quadratic/InOut.js b/src/math/easing/quadratic/InOut.js index d7a9d9908..2da531fa5 100644 --- a/src/math/easing/quadratic/InOut.js +++ b/src/math/easing/quadratic/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quadratic/Out.js b/src/math/easing/quadratic/Out.js index 955dd5469..7dcf92463 100644 --- a/src/math/easing/quadratic/Out.js +++ b/src/math/easing/quadratic/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quadratic/index.js b/src/math/easing/quadratic/index.js index b07054b3e..5cc164e69 100644 --- a/src/math/easing/quadratic/index.js +++ b/src/math/easing/quadratic/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Quadratic module.exports = { diff --git a/src/math/easing/quartic/In.js b/src/math/easing/quartic/In.js index 90acd0e8d..04d3527a6 100644 --- a/src/math/easing/quartic/In.js +++ b/src/math/easing/quartic/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quartic/InOut.js b/src/math/easing/quartic/InOut.js index 8843b6027..811d9e6f4 100644 --- a/src/math/easing/quartic/InOut.js +++ b/src/math/easing/quartic/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quartic/Out.js b/src/math/easing/quartic/Out.js index 3eb8bcdd7..8ad0c9327 100644 --- a/src/math/easing/quartic/Out.js +++ b/src/math/easing/quartic/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quartic/index.js b/src/math/easing/quartic/index.js index 42333b941..cde68785d 100644 --- a/src/math/easing/quartic/index.js +++ b/src/math/easing/quartic/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Quartic module.exports = { diff --git a/src/math/easing/quintic/In.js b/src/math/easing/quintic/In.js index 70ad2f7bd..84a567f34 100644 --- a/src/math/easing/quintic/In.js +++ b/src/math/easing/quintic/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quintic/InOut.js b/src/math/easing/quintic/InOut.js index a7fd0f6ea..57b545546 100644 --- a/src/math/easing/quintic/InOut.js +++ b/src/math/easing/quintic/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quintic/Out.js b/src/math/easing/quintic/Out.js index c008e2c09..c6d8e4ed3 100644 --- a/src/math/easing/quintic/Out.js +++ b/src/math/easing/quintic/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/quintic/index.js b/src/math/easing/quintic/index.js index 2e8b46199..06b0a0183 100644 --- a/src/math/easing/quintic/index.js +++ b/src/math/easing/quintic/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Quintic module.exports = { diff --git a/src/math/easing/sine/In.js b/src/math/easing/sine/In.js index 388c2b1d5..792e7ef2d 100644 --- a/src/math/easing/sine/In.js +++ b/src/math/easing/sine/In.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/sine/InOut.js b/src/math/easing/sine/InOut.js index c2756d094..b5619a159 100644 --- a/src/math/easing/sine/InOut.js +++ b/src/math/easing/sine/InOut.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/sine/Out.js b/src/math/easing/sine/Out.js index ddadfd1b1..bbdf0d660 100644 --- a/src/math/easing/sine/Out.js +++ b/src/math/easing/sine/Out.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/sine/index.js b/src/math/easing/sine/index.js index ca11f859a..ecb9a1e58 100644 --- a/src/math/easing/sine/index.js +++ b/src/math/easing/sine/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Sine module.exports = { diff --git a/src/math/easing/stepped/Stepped.js b/src/math/easing/stepped/Stepped.js index c14117aa2..ce71b11ac 100644 --- a/src/math/easing/stepped/Stepped.js +++ b/src/math/easing/stepped/Stepped.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/easing/stepped/index.js b/src/math/easing/stepped/index.js index b73983892..f91db32a9 100644 --- a/src/math/easing/stepped/index.js +++ b/src/math/easing/stepped/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Math.Easing.Stepped module.exports = require('./Stepped'); diff --git a/src/math/fuzzy/Ceil.js b/src/math/fuzzy/Ceil.js index 688584802..9b15d025d 100644 --- a/src/math/fuzzy/Ceil.js +++ b/src/math/fuzzy/Ceil.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/fuzzy/Equal.js b/src/math/fuzzy/Equal.js index 5dadf58d6..939846f5d 100644 --- a/src/math/fuzzy/Equal.js +++ b/src/math/fuzzy/Equal.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/fuzzy/Floor.js b/src/math/fuzzy/Floor.js index 1c4af2b2e..5fd7c4401 100644 --- a/src/math/fuzzy/Floor.js +++ b/src/math/fuzzy/Floor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/fuzzy/GreaterThan.js b/src/math/fuzzy/GreaterThan.js index 05ccf22e4..7d0617e6c 100644 --- a/src/math/fuzzy/GreaterThan.js +++ b/src/math/fuzzy/GreaterThan.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/fuzzy/LessThan.js b/src/math/fuzzy/LessThan.js index accab352a..33914f34c 100644 --- a/src/math/fuzzy/LessThan.js +++ b/src/math/fuzzy/LessThan.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/fuzzy/index.js b/src/math/fuzzy/index.js index 7a170e43c..840a2a9da 100644 --- a/src/math/fuzzy/index.js +++ b/src/math/fuzzy/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Math.Fuzzy */ diff --git a/src/math/index.js b/src/math/index.js index 42bda8876..50bc6ab35 100644 --- a/src/math/index.js +++ b/src/math/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CONST = require('./const'); var Extend = require('../utils/object/Extend'); diff --git a/src/math/interpolation/BezierInterpolation.js b/src/math/interpolation/BezierInterpolation.js index 549cbcd11..a28d5a3ec 100644 --- a/src/math/interpolation/BezierInterpolation.js +++ b/src/math/interpolation/BezierInterpolation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Bernstein = require('../Bernstein'); /** diff --git a/src/math/interpolation/CatmullRomInterpolation.js b/src/math/interpolation/CatmullRomInterpolation.js index 774fc69e2..fc684911d 100644 --- a/src/math/interpolation/CatmullRomInterpolation.js +++ b/src/math/interpolation/CatmullRomInterpolation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CatmullRom = require('../CatmullRom'); /** diff --git a/src/math/interpolation/CubicBezierInterpolation.js b/src/math/interpolation/CubicBezierInterpolation.js index bcf1c8428..cdec06c57 100644 --- a/src/math/interpolation/CubicBezierInterpolation.js +++ b/src/math/interpolation/CubicBezierInterpolation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + function P0 (t, p) { var k = 1 - t; diff --git a/src/math/interpolation/LinearInterpolation.js b/src/math/interpolation/LinearInterpolation.js index 592d839fb..c2533a5b1 100644 --- a/src/math/interpolation/LinearInterpolation.js +++ b/src/math/interpolation/LinearInterpolation.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Linear = require('../Linear'); /** diff --git a/src/math/interpolation/index.js b/src/math/interpolation/index.js index b82990356..de5cfe718 100644 --- a/src/math/interpolation/index.js +++ b/src/math/interpolation/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Math.Interpolation */ diff --git a/src/math/pow2/GetPowerOfTwo.js b/src/math/pow2/GetPowerOfTwo.js index 8c4155ad0..d89ce5c7e 100644 --- a/src/math/pow2/GetPowerOfTwo.js +++ b/src/math/pow2/GetPowerOfTwo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the nearest power of 2 to the given `value`. * diff --git a/src/math/pow2/IsSizePowerOfTwo.js b/src/math/pow2/IsSizePowerOfTwo.js index db60cc416..dcc31bfbc 100644 --- a/src/math/pow2/IsSizePowerOfTwo.js +++ b/src/math/pow2/IsSizePowerOfTwo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Checks if the given `width` and `height` are a power of two. * Useful for checking texture dimensions. diff --git a/src/math/pow2/IsValuePowerOfTwo.js b/src/math/pow2/IsValuePowerOfTwo.js index 100e1b8df..0b82221db 100644 --- a/src/math/pow2/IsValuePowerOfTwo.js +++ b/src/math/pow2/IsValuePowerOfTwo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Tests the value and returns `true` if it is a power of two. * diff --git a/src/math/pow2/index.js b/src/math/pow2/index.js index 2e39f902f..c388dc2d6 100644 --- a/src/math/pow2/index.js +++ b/src/math/pow2/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Math.Pow2 */ diff --git a/src/math/random-data-generator/RandomDataGenerator.js b/src/math/random-data-generator/RandomDataGenerator.js index d19a61b2d..7d482c03a 100644 --- a/src/math/random-data-generator/RandomDataGenerator.js +++ b/src/math/random-data-generator/RandomDataGenerator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/math/snap/SnapCeil.js b/src/math/snap/SnapCeil.js index e22442de0..8cdb38d8c 100644 --- a/src/math/snap/SnapCeil.js +++ b/src/math/snap/SnapCeil.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/snap/SnapFloor.js b/src/math/snap/SnapFloor.js index 9a0de5818..0977ef8cf 100644 --- a/src/math/snap/SnapFloor.js +++ b/src/math/snap/SnapFloor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/snap/SnapTo.js b/src/math/snap/SnapTo.js index 8d07914b8..5185c7836 100644 --- a/src/math/snap/SnapTo.js +++ b/src/math/snap/SnapTo.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/math/snap/index.js b/src/math/snap/index.js index 8dc58ccf5..fe4219e63 100644 --- a/src/math/snap/index.js +++ b/src/math/snap/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Math.Snap */ diff --git a/src/phaser.js b/src/phaser.js index 494992ffe..5f27d8379 100644 --- a/src/phaser.js +++ b/src/phaser.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + require('./polyfills'); var CONST = require('./const'); diff --git a/src/physics/arcade/ArcadeImage.js b/src/physics/arcade/ArcadeImage.js index 21fa78eec..3fd39254e 100644 --- a/src/physics/arcade/ArcadeImage.js +++ b/src/physics/arcade/ArcadeImage.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('./components'); var Image = require('../../gameobjects/image/Image'); diff --git a/src/physics/arcade/ArcadePhysics.js b/src/physics/arcade/ArcadePhysics.js index 8132c8736..940c3c1df 100644 --- a/src/physics/arcade/ArcadePhysics.js +++ b/src/physics/arcade/ArcadePhysics.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Factory = require('./Factory'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/physics/arcade/ArcadeSprite.js b/src/physics/arcade/ArcadeSprite.js index e0dc7a10f..c31204c35 100644 --- a/src/physics/arcade/ArcadeSprite.js +++ b/src/physics/arcade/ArcadeSprite.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('./components'); var Sprite = require('../../gameobjects/sprite/Sprite'); diff --git a/src/physics/arcade/Body.js b/src/physics/arcade/Body.js index 389f95254..31a49b8e3 100644 --- a/src/physics/arcade/Body.js +++ b/src/physics/arcade/Body.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CircleContains = require('../../geom/circle/Contains'); var Class = require('../../utils/Class'); var CONST = require('./const'); diff --git a/src/physics/arcade/Collider.js b/src/physics/arcade/Collider.js index 68a43fb17..597ab07a1 100644 --- a/src/physics/arcade/Collider.js +++ b/src/physics/arcade/Collider.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); /** diff --git a/src/physics/arcade/Factory.js b/src/physics/arcade/Factory.js index 341e1fb99..fba5ea9bf 100644 --- a/src/physics/arcade/Factory.js +++ b/src/physics/arcade/Factory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ArcadeImage = require('./ArcadeImage'); var ArcadeSprite = require('./ArcadeSprite'); var Class = require('../../utils/Class'); diff --git a/src/physics/arcade/GetOverlapX.js b/src/physics/arcade/GetOverlapX.js index 340c3f587..a0f3a49d5 100644 --- a/src/physics/arcade/GetOverlapX.js +++ b/src/physics/arcade/GetOverlapX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/GetOverlapY.js b/src/physics/arcade/GetOverlapY.js index 0568a1897..956cf8f20 100644 --- a/src/physics/arcade/GetOverlapY.js +++ b/src/physics/arcade/GetOverlapY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/PhysicsGroup.js b/src/physics/arcade/PhysicsGroup.js index 0cec0077c..d68dd0af9 100644 --- a/src/physics/arcade/PhysicsGroup.js +++ b/src/physics/arcade/PhysicsGroup.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ArcadeSprite = require('./ArcadeSprite'); var Class = require('../../utils/Class'); var CONST = require('./const'); diff --git a/src/physics/arcade/SeparateX.js b/src/physics/arcade/SeparateX.js index 85d3272f9..14be9c070 100644 --- a/src/physics/arcade/SeparateX.js +++ b/src/physics/arcade/SeparateX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetOverlapX = require('./GetOverlapX'); /** diff --git a/src/physics/arcade/SeparateY.js b/src/physics/arcade/SeparateY.js index 474c8339e..0f9666360 100644 --- a/src/physics/arcade/SeparateY.js +++ b/src/physics/arcade/SeparateY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetOverlapY = require('./GetOverlapY'); /** diff --git a/src/physics/arcade/StaticBody.js b/src/physics/arcade/StaticBody.js index b13a87f41..75f4596be 100644 --- a/src/physics/arcade/StaticBody.js +++ b/src/physics/arcade/StaticBody.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CircleContains = require('../../geom/circle/Contains'); var Class = require('../../utils/Class'); var CONST = require('./const'); diff --git a/src/physics/arcade/StaticPhysicsGroup.js b/src/physics/arcade/StaticPhysicsGroup.js index f75636ac4..8b88e041e 100644 --- a/src/physics/arcade/StaticPhysicsGroup.js +++ b/src/physics/arcade/StaticPhysicsGroup.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Physics.Arcade.StaticGroup var ArcadeSprite = require('./ArcadeSprite'); diff --git a/src/physics/arcade/World.js b/src/physics/arcade/World.js index f3fe39352..c2f1b1408 100644 --- a/src/physics/arcade/World.js +++ b/src/physics/arcade/World.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Body = require('./Body'); var Clamp = require('../../math/Clamp'); var Class = require('../../utils/Class'); diff --git a/src/physics/arcade/components/Acceleration.js b/src/physics/arcade/components/Acceleration.js index ec1e52202..f3a1568c8 100644 --- a/src/physics/arcade/components/Acceleration.js +++ b/src/physics/arcade/components/Acceleration.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Angular.js b/src/physics/arcade/components/Angular.js index 4f3c98e77..bd74af7a7 100644 --- a/src/physics/arcade/components/Angular.js +++ b/src/physics/arcade/components/Angular.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Bounce.js b/src/physics/arcade/components/Bounce.js index ce65b8546..6460b9441 100644 --- a/src/physics/arcade/components/Bounce.js +++ b/src/physics/arcade/components/Bounce.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Debug.js b/src/physics/arcade/components/Debug.js index f67fcb967..8af14be03 100644 --- a/src/physics/arcade/components/Debug.js +++ b/src/physics/arcade/components/Debug.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Drag.js b/src/physics/arcade/components/Drag.js index 64e296f98..d697b6ee9 100644 --- a/src/physics/arcade/components/Drag.js +++ b/src/physics/arcade/components/Drag.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Enable.js b/src/physics/arcade/components/Enable.js index 15d264fda..9eccc8a38 100644 --- a/src/physics/arcade/components/Enable.js +++ b/src/physics/arcade/components/Enable.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Friction.js b/src/physics/arcade/components/Friction.js index b7edee570..d8b7ec90e 100644 --- a/src/physics/arcade/components/Friction.js +++ b/src/physics/arcade/components/Friction.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Gravity.js b/src/physics/arcade/components/Gravity.js index 341410efd..b57995004 100644 --- a/src/physics/arcade/components/Gravity.js +++ b/src/physics/arcade/components/Gravity.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Immovable.js b/src/physics/arcade/components/Immovable.js index e68534417..9ff0f3f50 100644 --- a/src/physics/arcade/components/Immovable.js +++ b/src/physics/arcade/components/Immovable.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Mass.js b/src/physics/arcade/components/Mass.js index 06b5d3087..f2e3321f4 100644 --- a/src/physics/arcade/components/Mass.js +++ b/src/physics/arcade/components/Mass.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Size.js b/src/physics/arcade/components/Size.js index 0863c1bfa..766d6e1eb 100644 --- a/src/physics/arcade/components/Size.js +++ b/src/physics/arcade/components/Size.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/Velocity.js b/src/physics/arcade/components/Velocity.js index 16dff4805..e711a3043 100644 --- a/src/physics/arcade/components/Velocity.js +++ b/src/physics/arcade/components/Velocity.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/components/index.js b/src/physics/arcade/components/index.js index 2ad0f3c5d..7767b135a 100644 --- a/src/physics/arcade/components/index.js +++ b/src/physics/arcade/components/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Physics.Arcade.Body.Components module.exports = { diff --git a/src/physics/arcade/const.js b/src/physics/arcade/const.js index ad88e60e6..744378603 100644 --- a/src/physics/arcade/const.js +++ b/src/physics/arcade/const.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + module.exports = { /** diff --git a/src/physics/arcade/index.js b/src/physics/arcade/index.js index d7d1aabc8..8ca667251 100644 --- a/src/physics/arcade/index.js +++ b/src/physics/arcade/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Physics.Arcade */ diff --git a/src/physics/arcade/tilemap/ProcessTileCallbacks.js b/src/physics/arcade/tilemap/ProcessTileCallbacks.js index aaac9006f..81a957876 100644 --- a/src/physics/arcade/tilemap/ProcessTileCallbacks.js +++ b/src/physics/arcade/tilemap/ProcessTileCallbacks.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/arcade/tilemap/ProcessTileSeparationX.js b/src/physics/arcade/tilemap/ProcessTileSeparationX.js index 6ddd83df7..a48634702 100644 --- a/src/physics/arcade/tilemap/ProcessTileSeparationX.js +++ b/src/physics/arcade/tilemap/ProcessTileSeparationX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Internal function to process the separation of a physics body from a tile. * diff --git a/src/physics/arcade/tilemap/ProcessTileSeparationY.js b/src/physics/arcade/tilemap/ProcessTileSeparationY.js index 58897088e..60e9f30dc 100644 --- a/src/physics/arcade/tilemap/ProcessTileSeparationY.js +++ b/src/physics/arcade/tilemap/ProcessTileSeparationY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Internal function to process the separation of a physics body from a tile. * diff --git a/src/physics/arcade/tilemap/SeparateTile.js b/src/physics/arcade/tilemap/SeparateTile.js index 82016399f..4644c7740 100644 --- a/src/physics/arcade/tilemap/SeparateTile.js +++ b/src/physics/arcade/tilemap/SeparateTile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var TileCheckX = require('./TileCheckX'); var TileCheckY = require('./TileCheckY'); var TileIntersectsBody = require('./TileIntersectsBody'); diff --git a/src/physics/arcade/tilemap/TileCheckX.js b/src/physics/arcade/tilemap/TileCheckX.js index fecd0d6b4..b039d64c1 100644 --- a/src/physics/arcade/tilemap/TileCheckX.js +++ b/src/physics/arcade/tilemap/TileCheckX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ProcessTileSeparationX = require('./ProcessTileSeparationX'); /** diff --git a/src/physics/arcade/tilemap/TileCheckY.js b/src/physics/arcade/tilemap/TileCheckY.js index 3b2e3b356..e80cc2f63 100644 --- a/src/physics/arcade/tilemap/TileCheckY.js +++ b/src/physics/arcade/tilemap/TileCheckY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ProcessTileSeparationY = require('./ProcessTileSeparationY'); /** diff --git a/src/physics/arcade/tilemap/TileIntersectsBody.js b/src/physics/arcade/tilemap/TileIntersectsBody.js index 2226c0baf..d465abce1 100644 --- a/src/physics/arcade/tilemap/TileIntersectsBody.js +++ b/src/physics/arcade/tilemap/TileIntersectsBody.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/Body.js b/src/physics/impact/Body.js index b6daa9eac..b77d6c3fe 100644 --- a/src/physics/impact/Body.js +++ b/src/physics/impact/Body.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var COLLIDES = require('./COLLIDES'); var GetVelocity = require('./GetVelocity'); diff --git a/src/physics/impact/COLLIDES.js b/src/physics/impact/COLLIDES.js index 350e8e552..3ed175ee5 100644 --- a/src/physics/impact/COLLIDES.js +++ b/src/physics/impact/COLLIDES.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Collision Types - Determine if and how entities collide with each other. * diff --git a/src/physics/impact/CollisionMap.js b/src/physics/impact/CollisionMap.js index bebe84af5..d4251dfe8 100644 --- a/src/physics/impact/CollisionMap.js +++ b/src/physics/impact/CollisionMap.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var DefaultDefs = require('./DefaultDefs'); diff --git a/src/physics/impact/DefaultDefs.js b/src/physics/impact/DefaultDefs.js index bd665b20e..159fca98d 100644 --- a/src/physics/impact/DefaultDefs.js +++ b/src/physics/impact/DefaultDefs.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var H = 0.5; var N = 1 / 3; var M = 2 / 3; diff --git a/src/physics/impact/Factory.js b/src/physics/impact/Factory.js index a9f7f1c82..3df3f03fe 100644 --- a/src/physics/impact/Factory.js +++ b/src/physics/impact/Factory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var ImpactBody = require('./ImpactBody'); var ImpactImage = require('./ImpactImage'); diff --git a/src/physics/impact/GetVelocity.js b/src/physics/impact/GetVelocity.js index 34752ad41..9e1b230ec 100644 --- a/src/physics/impact/GetVelocity.js +++ b/src/physics/impact/GetVelocity.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Clamp = require('../../math/Clamp'); /** diff --git a/src/physics/impact/ImpactBody.js b/src/physics/impact/ImpactBody.js index 196cc6337..b2b3d3ea5 100644 --- a/src/physics/impact/ImpactBody.js +++ b/src/physics/impact/ImpactBody.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('./components'); diff --git a/src/physics/impact/ImpactImage.js b/src/physics/impact/ImpactImage.js index 773c16ed2..4a805d583 100644 --- a/src/physics/impact/ImpactImage.js +++ b/src/physics/impact/ImpactImage.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('./components'); var Image = require('../../gameobjects/image/Image'); diff --git a/src/physics/impact/ImpactPhysics.js b/src/physics/impact/ImpactPhysics.js index b67a5cce7..897e6924f 100644 --- a/src/physics/impact/ImpactPhysics.js +++ b/src/physics/impact/ImpactPhysics.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Factory = require('./Factory'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/physics/impact/ImpactSprite.js b/src/physics/impact/ImpactSprite.js index 653953b80..8e43c3d92 100644 --- a/src/physics/impact/ImpactSprite.js +++ b/src/physics/impact/ImpactSprite.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('./components'); var Sprite = require('../../gameobjects/sprite/Sprite'); diff --git a/src/physics/impact/SeperateX.js b/src/physics/impact/SeperateX.js index 0df8bd188..ef744df33 100644 --- a/src/physics/impact/SeperateX.js +++ b/src/physics/impact/SeperateX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/SeperateY.js b/src/physics/impact/SeperateY.js index 1794e8fda..4837e348a 100644 --- a/src/physics/impact/SeperateY.js +++ b/src/physics/impact/SeperateY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/Solver.js b/src/physics/impact/Solver.js index cda1de350..0b42f6092 100644 --- a/src/physics/impact/Solver.js +++ b/src/physics/impact/Solver.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var COLLIDES = require('./COLLIDES'); var SeperateX = require('./SeperateX'); var SeperateY = require('./SeperateY'); diff --git a/src/physics/impact/TYPE.js b/src/physics/impact/TYPE.js index 8b1e82ad2..ff18af8dc 100644 --- a/src/physics/impact/TYPE.js +++ b/src/physics/impact/TYPE.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Collision Types - Determine if and how entities collide with each other. * diff --git a/src/physics/impact/UpdateMotion.js b/src/physics/impact/UpdateMotion.js index b29747ad6..798b12fcf 100644 --- a/src/physics/impact/UpdateMotion.js +++ b/src/physics/impact/UpdateMotion.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Set up the trace-result * var res = { diff --git a/src/physics/impact/World.js b/src/physics/impact/World.js index ac18ac69a..c31fdf347 100644 --- a/src/physics/impact/World.js +++ b/src/physics/impact/World.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Body = require('./Body'); var Class = require('../../utils/Class'); var COLLIDES = require('./COLLIDES'); diff --git a/src/physics/impact/components/Acceleration.js b/src/physics/impact/components/Acceleration.js index 174d16202..01c4f9c32 100644 --- a/src/physics/impact/components/Acceleration.js +++ b/src/physics/impact/components/Acceleration.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/BodyScale.js b/src/physics/impact/components/BodyScale.js index a89e4d569..a5bb888c4 100644 --- a/src/physics/impact/components/BodyScale.js +++ b/src/physics/impact/components/BodyScale.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/BodyType.js b/src/physics/impact/components/BodyType.js index 64e49be6b..48725d410 100644 --- a/src/physics/impact/components/BodyType.js +++ b/src/physics/impact/components/BodyType.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var TYPE = require('../TYPE'); /** diff --git a/src/physics/impact/components/Bounce.js b/src/physics/impact/components/Bounce.js index d7a9b3feb..d10cf3380 100644 --- a/src/physics/impact/components/Bounce.js +++ b/src/physics/impact/components/Bounce.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/CheckAgainst.js b/src/physics/impact/components/CheckAgainst.js index 058a9ce19..f3740fecc 100644 --- a/src/physics/impact/components/CheckAgainst.js +++ b/src/physics/impact/components/CheckAgainst.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var TYPE = require('../TYPE'); /** diff --git a/src/physics/impact/components/Collides.js b/src/physics/impact/components/Collides.js index a9c26eee8..6040fd411 100644 --- a/src/physics/impact/components/Collides.js +++ b/src/physics/impact/components/Collides.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var COLLIDES = require('../COLLIDES'); /** diff --git a/src/physics/impact/components/Debug.js b/src/physics/impact/components/Debug.js index 0507cb985..652d05e99 100644 --- a/src/physics/impact/components/Debug.js +++ b/src/physics/impact/components/Debug.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/Friction.js b/src/physics/impact/components/Friction.js index 0d27f7bfb..0d681d143 100644 --- a/src/physics/impact/components/Friction.js +++ b/src/physics/impact/components/Friction.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/Gravity.js b/src/physics/impact/components/Gravity.js index 65c5e5967..cb99193b2 100644 --- a/src/physics/impact/components/Gravity.js +++ b/src/physics/impact/components/Gravity.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/Offset.js b/src/physics/impact/components/Offset.js index 7eba1e4a7..aafbf152d 100644 --- a/src/physics/impact/components/Offset.js +++ b/src/physics/impact/components/Offset.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/SetGameObject.js b/src/physics/impact/components/SetGameObject.js index 80ac8df48..3a32e03a9 100644 --- a/src/physics/impact/components/SetGameObject.js +++ b/src/physics/impact/components/SetGameObject.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/Velocity.js b/src/physics/impact/components/Velocity.js index 3a2547207..83f615b21 100644 --- a/src/physics/impact/components/Velocity.js +++ b/src/physics/impact/components/Velocity.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/impact/components/index.js b/src/physics/impact/components/index.js index 98c790758..877426add 100644 --- a/src/physics/impact/components/index.js +++ b/src/physics/impact/components/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Physics.Impact.Body.Components module.exports = { diff --git a/src/physics/impact/index.js b/src/physics/impact/index.js index c56ca4c0d..a32bf3589 100644 --- a/src/physics/impact/index.js +++ b/src/physics/impact/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * An Impact.js compatible physics world, body and solver, for those who are used * to the Impact way of defining and controlling physics bodies. Also works with diff --git a/src/physics/index.js b/src/physics/index.js index b9eb384d1..24afefe22 100644 --- a/src/physics/index.js +++ b/src/physics/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Physics */ diff --git a/src/physics/matter-js/CustomMain.js b/src/physics/matter-js/CustomMain.js index a8bb49fb7..6b2dfff1a 100644 --- a/src/physics/matter-js/CustomMain.js +++ b/src/physics/matter-js/CustomMain.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Matter = require('./lib/core/Matter'); Matter.Body = require('./lib/body/Body'); diff --git a/src/physics/matter-js/Factory.js b/src/physics/matter-js/Factory.js index 9e2e9dfbb..f604db342 100644 --- a/src/physics/matter-js/Factory.js +++ b/src/physics/matter-js/Factory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Bodies = require('./lib/factory/Bodies'); var Class = require('../../utils/Class'); var Composites = require('./lib/factory/Composites'); diff --git a/src/physics/matter-js/MatterImage.js b/src/physics/matter-js/MatterImage.js index 6d2694a7e..debbcaf73 100644 --- a/src/physics/matter-js/MatterImage.js +++ b/src/physics/matter-js/MatterImage.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Bodies = require('./lib/factory/Bodies'); var Class = require('../../utils/Class'); var Components = require('./components'); diff --git a/src/physics/matter-js/MatterPhysics.js b/src/physics/matter-js/MatterPhysics.js index f8ff35e83..e2e8f03f1 100644 --- a/src/physics/matter-js/MatterPhysics.js +++ b/src/physics/matter-js/MatterPhysics.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Factory = require('./Factory'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/physics/matter-js/MatterSprite.js b/src/physics/matter-js/MatterSprite.js index 1ad916867..f7c20334b 100644 --- a/src/physics/matter-js/MatterSprite.js +++ b/src/physics/matter-js/MatterSprite.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var AnimationComponent = require('../../gameobjects/components/Animation'); var Bodies = require('./lib/factory/Bodies'); var Class = require('../../utils/Class'); diff --git a/src/physics/matter-js/MatterTileBody.js b/src/physics/matter-js/MatterTileBody.js index ceabb613a..b2551cd55 100644 --- a/src/physics/matter-js/MatterTileBody.js +++ b/src/physics/matter-js/MatterTileBody.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Bodies = require('./lib/factory/Bodies'); var Body = require('./lib/body/Body'); var Class = require('../../utils/Class'); diff --git a/src/physics/matter-js/PointerConstraint.js b/src/physics/matter-js/PointerConstraint.js index 17467aa0a..fc80a4c89 100644 --- a/src/physics/matter-js/PointerConstraint.js +++ b/src/physics/matter-js/PointerConstraint.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Bounds = require('./lib/geometry/Bounds'); var Class = require('../../utils/Class'); var Composite = require('./lib/body/Composite'); diff --git a/src/physics/matter-js/World.js b/src/physics/matter-js/World.js index fc3ab7935..ef1330fc5 100644 --- a/src/physics/matter-js/World.js +++ b/src/physics/matter-js/World.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Physics.Matter.World var Bodies = require('./lib/factory/Bodies'); diff --git a/src/physics/matter-js/components/Bounce.js b/src/physics/matter-js/components/Bounce.js index bf7710df4..a097d1b87 100644 --- a/src/physics/matter-js/components/Bounce.js +++ b/src/physics/matter-js/components/Bounce.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/matter-js/components/Collision.js b/src/physics/matter-js/components/Collision.js index 60649ebbb..39ededc90 100644 --- a/src/physics/matter-js/components/Collision.js +++ b/src/physics/matter-js/components/Collision.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/matter-js/components/Force.js b/src/physics/matter-js/components/Force.js index a4d78a57a..0d45b9c75 100644 --- a/src/physics/matter-js/components/Force.js +++ b/src/physics/matter-js/components/Force.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Body = require('../lib/body/Body'); /** diff --git a/src/physics/matter-js/components/Friction.js b/src/physics/matter-js/components/Friction.js index d4993f9e4..489a57621 100644 --- a/src/physics/matter-js/components/Friction.js +++ b/src/physics/matter-js/components/Friction.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/matter-js/components/Gravity.js b/src/physics/matter-js/components/Gravity.js index 55b049437..f7bc77fd6 100644 --- a/src/physics/matter-js/components/Gravity.js +++ b/src/physics/matter-js/components/Gravity.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/matter-js/components/Mass.js b/src/physics/matter-js/components/Mass.js index fa21d25cc..77ca99487 100644 --- a/src/physics/matter-js/components/Mass.js +++ b/src/physics/matter-js/components/Mass.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Body = require('../lib/body/Body'); /** diff --git a/src/physics/matter-js/components/Sensor.js b/src/physics/matter-js/components/Sensor.js index 9d9c6482c..3a59d4de8 100644 --- a/src/physics/matter-js/components/Sensor.js +++ b/src/physics/matter-js/components/Sensor.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/physics/matter-js/components/SetBody.js b/src/physics/matter-js/components/SetBody.js index 6ba9ac2ae..9ae6714e7 100644 --- a/src/physics/matter-js/components/SetBody.js +++ b/src/physics/matter-js/components/SetBody.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Bodies = require('../lib/factory/Bodies'); var Body = require('../lib/body/Body'); var GetFastValue = require('../../../utils/object/GetFastValue'); diff --git a/src/physics/matter-js/components/Sleep.js b/src/physics/matter-js/components/Sleep.js index 160280198..ae915a913 100644 --- a/src/physics/matter-js/components/Sleep.js +++ b/src/physics/matter-js/components/Sleep.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MatterEvents = require('../lib/core/Events'); /** diff --git a/src/physics/matter-js/components/Static.js b/src/physics/matter-js/components/Static.js index 39596bbdf..27a9568ba 100644 --- a/src/physics/matter-js/components/Static.js +++ b/src/physics/matter-js/components/Static.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Body = require('../lib/body/Body'); /** diff --git a/src/physics/matter-js/components/Transform.js b/src/physics/matter-js/components/Transform.js index 1022c639a..f1b92d1f4 100644 --- a/src/physics/matter-js/components/Transform.js +++ b/src/physics/matter-js/components/Transform.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Body = require('../lib/body/Body'); var MATH_CONST = require('../../../math/const'); var WrapAngle = require('../../../math/angle/Wrap'); diff --git a/src/physics/matter-js/components/Velocity.js b/src/physics/matter-js/components/Velocity.js index 823b45e84..bc43f2c27 100644 --- a/src/physics/matter-js/components/Velocity.js +++ b/src/physics/matter-js/components/Velocity.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Body = require('../lib/body/Body'); /** diff --git a/src/physics/matter-js/components/index.js b/src/physics/matter-js/components/index.js index dcb5673fe..81f793628 100644 --- a/src/physics/matter-js/components/index.js +++ b/src/physics/matter-js/components/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Physics.Matter.Body.Components module.exports = { diff --git a/src/physics/matter-js/index.js b/src/physics/matter-js/index.js index 3fb572f52..c1dc57668 100644 --- a/src/physics/matter-js/index.js +++ b/src/physics/matter-js/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Phaser.Physics.Matter module.exports = { diff --git a/src/physics/matter-js/poly-decomp/index.js b/src/physics/matter-js/poly-decomp/index.js index a38b9f6ab..9d6faef26 100644 --- a/src/physics/matter-js/poly-decomp/index.js +++ b/src/physics/matter-js/poly-decomp/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + module.exports = { decomp: polygonDecomp, quickDecomp: polygonQuickDecomp, diff --git a/src/plugins/CoreScenePlugins.js b/src/plugins/CoreScenePlugins.js index 08b65c3b9..5ba594337 100644 --- a/src/plugins/CoreScenePlugins.js +++ b/src/plugins/CoreScenePlugins.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // These are the core plugins that are installed into every Scene.Systems, no matter what. // They are optionally exposed in the Scene as well (see the InjectionMap for details) diff --git a/src/plugins/DefaultScenePlugins.js b/src/plugins/DefaultScenePlugins.js index ed1b43fbc..feb14e23d 100644 --- a/src/plugins/DefaultScenePlugins.js +++ b/src/plugins/DefaultScenePlugins.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // These plugins are created in Scene.Systems by default, in addition to the CoreScenePlugins. // You can elect not to have these plugins by either creating a DefaultPlugins object as part // of the Game Config, or by creating a Plugins object as part of a Scene Config. diff --git a/src/plugins/GlobalPlugins.js b/src/plugins/GlobalPlugins.js index c7639a65d..63786d191 100644 --- a/src/plugins/GlobalPlugins.js +++ b/src/plugins/GlobalPlugins.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // These are the global managers, available on the Game instance, // that are installed into Scene.Systems as local properties. diff --git a/src/plugins/PluginManager.js b/src/plugins/PluginManager.js index 101b05ab6..b144d1884 100644 --- a/src/plugins/PluginManager.js +++ b/src/plugins/PluginManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var plugins = {}; diff --git a/src/renderer/BlendModes.js b/src/renderer/BlendModes.js index 965aadcf7..4211d3a12 100644 --- a/src/renderer/BlendModes.js +++ b/src/renderer/BlendModes.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.BlendModes */ diff --git a/src/renderer/ScaleModes.js b/src/renderer/ScaleModes.js index e23181578..e6eb4d2c9 100644 --- a/src/renderer/ScaleModes.js +++ b/src/renderer/ScaleModes.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.ScaleModes */ diff --git a/src/renderer/canvas/CanvasRenderer.js b/src/renderer/canvas/CanvasRenderer.js index efdc06309..95aa6f09b 100644 --- a/src/renderer/canvas/CanvasRenderer.js +++ b/src/renderer/canvas/CanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BlitImage = require('./utils/BlitImage'); var CanvasSnapshot = require('../snapshot/CanvasSnapshot'); var Class = require('../../utils/Class'); diff --git a/src/renderer/canvas/index.js b/src/renderer/canvas/index.js index 8b851a7f0..9996a2555 100644 --- a/src/renderer/canvas/index.js +++ b/src/renderer/canvas/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Renderer.Canvas */ diff --git a/src/renderer/canvas/utils/BlitImage.js b/src/renderer/canvas/utils/BlitImage.js index 7bb804877..96ea13842 100644 --- a/src/renderer/canvas/utils/BlitImage.js +++ b/src/renderer/canvas/utils/BlitImage.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * No scaling, anchor, rotation or effects, literally draws the frame directly to the canvas. * diff --git a/src/renderer/canvas/utils/DrawImage.js b/src/renderer/canvas/utils/DrawImage.js index d72149ca3..0f4f86980 100644 --- a/src/renderer/canvas/utils/DrawImage.js +++ b/src/renderer/canvas/utils/DrawImage.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/renderer/canvas/utils/GetBlendModes.js b/src/renderer/canvas/utils/GetBlendModes.js index 055d3c994..d7d17762b 100644 --- a/src/renderer/canvas/utils/GetBlendModes.js +++ b/src/renderer/canvas/utils/GetBlendModes.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var modes = require('../../BlendModes'); var CanvasFeatures = require('../../../device/CanvasFeatures'); diff --git a/src/renderer/index.js b/src/renderer/index.js index 51e851031..5fa7f0c31 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Renderer */ diff --git a/src/renderer/snapshot/CanvasSnapshot.js b/src/renderer/snapshot/CanvasSnapshot.js index 791c56490..ba2776bb0 100644 --- a/src/renderer/snapshot/CanvasSnapshot.js +++ b/src/renderer/snapshot/CanvasSnapshot.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/renderer/snapshot/WebGLSnapshot.js b/src/renderer/snapshot/WebGLSnapshot.js index 2f0630e42..748e31445 100644 --- a/src/renderer/snapshot/WebGLSnapshot.js +++ b/src/renderer/snapshot/WebGLSnapshot.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/renderer/snapshot/index.js b/src/renderer/snapshot/index.js index 1ee342d2d..0085647e1 100644 --- a/src/renderer/snapshot/index.js +++ b/src/renderer/snapshot/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Renderer.Snapshot */ diff --git a/src/renderer/webgl/Utils.js b/src/renderer/webgl/Utils.js index e555b0a75..b50deaf36 100644 --- a/src/renderer/webgl/Utils.js +++ b/src/renderer/webgl/Utils.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + module.exports = { getTintFromFloats: function (r, g, b, a) diff --git a/src/renderer/webgl/WebGLPipeline.js b/src/renderer/webgl/WebGLPipeline.js index 5c241a094..b4464f960 100644 --- a/src/renderer/webgl/WebGLPipeline.js +++ b/src/renderer/webgl/WebGLPipeline.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Utils = require('./Utils'); diff --git a/src/renderer/webgl/WebGLRenderer.js b/src/renderer/webgl/WebGLRenderer.js index 4176f17d2..e7c592360 100644 --- a/src/renderer/webgl/WebGLRenderer.js +++ b/src/renderer/webgl/WebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var CONST = require('../../const'); var IsSizePowerOfTwo = require('../../math/pow2/IsSizePowerOfTwo'); diff --git a/src/renderer/webgl/pipelines/BitmapMaskPipeline.js b/src/renderer/webgl/pipelines/BitmapMaskPipeline.js index 1f2288de4..ab045d517 100644 --- a/src/renderer/webgl/pipelines/BitmapMaskPipeline.js +++ b/src/renderer/webgl/pipelines/BitmapMaskPipeline.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var ShaderSourceFS = require('../shaders/BitmapMask.frag'); var ShaderSourceVS = require('../shaders/BitmapMask.vert'); diff --git a/src/renderer/webgl/pipelines/FlatTintPipeline.js b/src/renderer/webgl/pipelines/FlatTintPipeline.js index a3bb43784..668f28465 100644 --- a/src/renderer/webgl/pipelines/FlatTintPipeline.js +++ b/src/renderer/webgl/pipelines/FlatTintPipeline.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var Commands = require('../../../gameobjects/graphics/Commands'); var Earcut = require('../../../geom/polygon/Earcut'); diff --git a/src/renderer/webgl/pipelines/ForwardDiffuseLightPipeline.js b/src/renderer/webgl/pipelines/ForwardDiffuseLightPipeline.js index b0e7948b4..ef3a5cfa2 100644 --- a/src/renderer/webgl/pipelines/ForwardDiffuseLightPipeline.js +++ b/src/renderer/webgl/pipelines/ForwardDiffuseLightPipeline.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var ShaderSourceFS = require('../shaders/ForwardDiffuse.frag'); var TextureTintPipeline = require('./TextureTintPipeline'); diff --git a/src/renderer/webgl/pipelines/TextureTintPipeline.js b/src/renderer/webgl/pipelines/TextureTintPipeline.js index c518d7714..53e5b2d89 100644 --- a/src/renderer/webgl/pipelines/TextureTintPipeline.js +++ b/src/renderer/webgl/pipelines/TextureTintPipeline.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../../utils/Class'); var ModelViewProjection = require('./components/ModelViewProjection'); var ShaderSourceFS = require('../shaders/TextureTint.frag'); diff --git a/src/renderer/webgl/pipelines/components/ModelViewProjection.js b/src/renderer/webgl/pipelines/components/ModelViewProjection.js index d9f3dda1b..9bb069bce 100644 --- a/src/renderer/webgl/pipelines/components/ModelViewProjection.js +++ b/src/renderer/webgl/pipelines/components/ModelViewProjection.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var ModelViewProjection = { modelMatrixDirty: false, diff --git a/src/scene/GetPhysicsPlugins.js b/src/scene/GetPhysicsPlugins.js index 937a0f64e..7b758849a 100644 --- a/src/scene/GetPhysicsPlugins.js +++ b/src/scene/GetPhysicsPlugins.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetFastValue = require('../utils/object/GetFastValue'); var UppercaseFirst = require('../utils/string/UppercaseFirst'); diff --git a/src/scene/GetScenePlugins.js b/src/scene/GetScenePlugins.js index 7f51af7ee..e2a608180 100644 --- a/src/scene/GetScenePlugins.js +++ b/src/scene/GetScenePlugins.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetFastValue = require('../utils/object/GetFastValue'); /** diff --git a/src/scene/InjectionMap.js b/src/scene/InjectionMap.js index b0431a1ed..6857db141 100644 --- a/src/scene/InjectionMap.js +++ b/src/scene/InjectionMap.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // These properties get injected into the Scene and map to local systems // The map key is the property that is added to the Scene, the value is the Scene.Systems reference // These defaults can be modified via the Scene config object diff --git a/src/scene/Scene.js b/src/scene/Scene.js index 241cb3cbf..9256c477b 100644 --- a/src/scene/Scene.js +++ b/src/scene/Scene.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var Systems = require('./Systems'); diff --git a/src/scene/SceneManager.js b/src/scene/SceneManager.js index 18f349224..b7ad5b276 100644 --- a/src/scene/SceneManager.js +++ b/src/scene/SceneManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var CONST = require('./const'); var GetValue = require('../utils/object/GetValue'); diff --git a/src/scene/ScenePlugin.js b/src/scene/ScenePlugin.js index ed1d61487..9057d2b2b 100644 --- a/src/scene/ScenePlugin.js +++ b/src/scene/ScenePlugin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var CONST = require('./const'); var PluginManager = require('../plugins/PluginManager'); diff --git a/src/scene/Settings.js b/src/scene/Settings.js index 323f75063..aaa7b8c08 100644 --- a/src/scene/Settings.js +++ b/src/scene/Settings.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CONST = require('./const'); var GetValue = require('../utils/object/GetValue'); var InjectionMap = require('./InjectionMap'); diff --git a/src/scene/Systems.js b/src/scene/Systems.js index 3b1f4818f..3e2e6540f 100644 --- a/src/scene/Systems.js +++ b/src/scene/Systems.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var CONST = require('./const'); var CoreScenePlugins = require('../plugins/CoreScenePlugins'); diff --git a/src/scene/const.js b/src/scene/const.js index abbd411ea..6599f2e6a 100644 --- a/src/scene/const.js +++ b/src/scene/const.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + module.exports = { diff --git a/src/scene/index.js b/src/scene/index.js index c239e8e3f..e398d0741 100644 --- a/src/scene/index.js +++ b/src/scene/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Scenes */ diff --git a/src/sound/BaseSound.js b/src/sound/BaseSound.js index 4584afa5d..d6cf4e89d 100644 --- a/src/sound/BaseSound.js +++ b/src/sound/BaseSound.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var EventEmitter = require('eventemitter3'); var Extend = require('../utils/object/Extend'); diff --git a/src/sound/BaseSoundManager.js b/src/sound/BaseSoundManager.js index 274d711dc..b52cabe80 100644 --- a/src/sound/BaseSoundManager.js +++ b/src/sound/BaseSoundManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var EventEmitter = require('eventemitter3'); var NOOP = require('../utils/NOOP'); diff --git a/src/sound/SoundManagerCreator.js b/src/sound/SoundManagerCreator.js index a17607179..84ea68183 100644 --- a/src/sound/SoundManagerCreator.js +++ b/src/sound/SoundManagerCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var HTML5AudioSoundManager = require('./html5/HTML5AudioSoundManager'); var NoAudioSoundManager = require('./noaudio/NoAudioSoundManager'); var WebAudioSoundManager = require('./webaudio/WebAudioSoundManager'); diff --git a/src/sound/html5/HTML5AudioSound.js b/src/sound/html5/HTML5AudioSound.js index 2e4dac275..0d76495a0 100644 --- a/src/sound/html5/HTML5AudioSound.js +++ b/src/sound/html5/HTML5AudioSound.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var BaseSound = require('../BaseSound'); diff --git a/src/sound/html5/HTML5AudioSoundManager.js b/src/sound/html5/HTML5AudioSoundManager.js index cb2a28642..f18e4913b 100644 --- a/src/sound/html5/HTML5AudioSoundManager.js +++ b/src/sound/html5/HTML5AudioSoundManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var BaseSoundManager = require('../BaseSoundManager'); var HTML5AudioSound = require('./HTML5AudioSound'); diff --git a/src/sound/index.js b/src/sound/index.js index c31d70596..8a79cab62 100644 --- a/src/sound/index.js +++ b/src/sound/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Sound */ diff --git a/src/sound/noaudio/NoAudioSound.js b/src/sound/noaudio/NoAudioSound.js index 488cfcc2c..857cc220c 100644 --- a/src/sound/noaudio/NoAudioSound.js +++ b/src/sound/noaudio/NoAudioSound.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BaseSound = require('../BaseSound'); var Class = require('../../utils/Class'); var EventEmitter = require('eventemitter3'); diff --git a/src/sound/noaudio/NoAudioSoundManager.js b/src/sound/noaudio/NoAudioSoundManager.js index 73f4c4b66..d1857c5c3 100644 --- a/src/sound/noaudio/NoAudioSoundManager.js +++ b/src/sound/noaudio/NoAudioSoundManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var BaseSoundManager = require('../BaseSoundManager'); var Class = require('../../utils/Class'); var EventEmitter = require('eventemitter3'); diff --git a/src/sound/webaudio/WebAudioSound.js b/src/sound/webaudio/WebAudioSound.js index 048592191..a1b991eae 100644 --- a/src/sound/webaudio/WebAudioSound.js +++ b/src/sound/webaudio/WebAudioSound.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var BaseSound = require('../BaseSound'); diff --git a/src/sound/webaudio/WebAudioSoundManager.js b/src/sound/webaudio/WebAudioSoundManager.js index 1ba76e9cc..71fc95691 100644 --- a/src/sound/webaudio/WebAudioSoundManager.js +++ b/src/sound/webaudio/WebAudioSoundManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var BaseSoundManager = require('../BaseSoundManager'); var WebAudioSound = require('./WebAudioSound'); diff --git a/src/structs/List.js b/src/structs/List.js index be1dcde8c..14e59eb64 100644 --- a/src/structs/List.js +++ b/src/structs/List.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); /** diff --git a/src/structs/Map.js b/src/structs/Map.js index a8a0a9f4b..8b31e2852 100644 --- a/src/structs/Map.js +++ b/src/structs/Map.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); /** diff --git a/src/structs/ProcessQueue.js b/src/structs/ProcessQueue.js index 1e8e2a01d..36144e265 100644 --- a/src/structs/ProcessQueue.js +++ b/src/structs/ProcessQueue.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); /** diff --git a/src/structs/RTree.js b/src/structs/RTree.js index e34a9c9cb..7b7929774 100644 --- a/src/structs/RTree.js +++ b/src/structs/RTree.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var quickselect = require('../utils/array/QuickSelect'); /** diff --git a/src/structs/Set.js b/src/structs/Set.js index ec4c276a6..5bab777cd 100644 --- a/src/structs/Set.js +++ b/src/structs/Set.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); /** diff --git a/src/structs/index.js b/src/structs/index.js index 460b2ac80..4c948e140 100644 --- a/src/structs/index.js +++ b/src/structs/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Structs */ diff --git a/src/textures/FilterMode.js b/src/textures/FilterMode.js index 25e7ce192..ff468d61c 100644 --- a/src/textures/FilterMode.js +++ b/src/textures/FilterMode.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Textures.FilterMode */ diff --git a/src/textures/Frame.js b/src/textures/Frame.js index e143b2b41..af1c17f2f 100644 --- a/src/textures/Frame.js +++ b/src/textures/Frame.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var Extend = require('../utils/object/Extend'); diff --git a/src/textures/Texture.js b/src/textures/Texture.js index c1a789ccd..93aa8792d 100644 --- a/src/textures/Texture.js +++ b/src/textures/Texture.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var Frame = require('./Frame'); var TextureSource = require('./TextureSource'); diff --git a/src/textures/TextureManager.js b/src/textures/TextureManager.js index 190f3464d..1a2e3ca50 100644 --- a/src/textures/TextureManager.js +++ b/src/textures/TextureManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CanvasPool = require('../display/canvas/CanvasPool'); var Class = require('../utils/Class'); var Color = require('../display/color/Color'); diff --git a/src/textures/TextureSource.js b/src/textures/TextureSource.js index bf39bcef6..eefffacf1 100644 --- a/src/textures/TextureSource.js +++ b/src/textures/TextureSource.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var CONST = require('../const'); var IsSizePowerOfTwo = require('../math/pow2/IsSizePowerOfTwo'); diff --git a/src/textures/index.js b/src/textures/index.js index 32fc731a8..b60a7ada5 100644 --- a/src/textures/index.js +++ b/src/textures/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Textures */ diff --git a/src/textures/parsers/Canvas.js b/src/textures/parsers/Canvas.js index e81874d69..4d623b1ed 100644 --- a/src/textures/parsers/Canvas.js +++ b/src/textures/parsers/Canvas.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Adds a Canvas Element to a Texture. * diff --git a/src/textures/parsers/Image.js b/src/textures/parsers/Image.js index 745d5806a..ccfed6e82 100644 --- a/src/textures/parsers/Image.js +++ b/src/textures/parsers/Image.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Adds an Image Element to a Texture. * diff --git a/src/textures/parsers/JSONArray.js b/src/textures/parsers/JSONArray.js index ed13cb757..e0f22ee60 100644 --- a/src/textures/parsers/JSONArray.js +++ b/src/textures/parsers/JSONArray.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Clone = require('../../utils/object/Clone'); /** diff --git a/src/textures/parsers/JSONHash.js b/src/textures/parsers/JSONHash.js index 75e509825..cc584e246 100644 --- a/src/textures/parsers/JSONHash.js +++ b/src/textures/parsers/JSONHash.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Clone = require('../../utils/object/Clone'); /** diff --git a/src/textures/parsers/Pyxel.js b/src/textures/parsers/Pyxel.js index c17a28562..5fc80f35d 100644 --- a/src/textures/parsers/Pyxel.js +++ b/src/textures/parsers/Pyxel.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Parses a Pyxel JSON object and adds the Frames to a Texture. * diff --git a/src/textures/parsers/SpriteSheet.js b/src/textures/parsers/SpriteSheet.js index f010d4e6f..69a45289f 100644 --- a/src/textures/parsers/SpriteSheet.js +++ b/src/textures/parsers/SpriteSheet.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetFastValue = require('../../utils/object/GetFastValue'); /** diff --git a/src/textures/parsers/SpriteSheetFromAtlas.js b/src/textures/parsers/SpriteSheetFromAtlas.js index b5ecf8d2f..4bc46b844 100644 --- a/src/textures/parsers/SpriteSheetFromAtlas.js +++ b/src/textures/parsers/SpriteSheetFromAtlas.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetFastValue = require('../../utils/object/GetFastValue'); /** diff --git a/src/textures/parsers/StarlingXML.js b/src/textures/parsers/StarlingXML.js index c786df111..850808a05 100644 --- a/src/textures/parsers/StarlingXML.js +++ b/src/textures/parsers/StarlingXML.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Parses a Starling XML object and adds all the Frames into a Texture. * diff --git a/src/textures/parsers/UnityYAML.js b/src/textures/parsers/UnityYAML.js index 2c5110631..337cca65a 100644 --- a/src/textures/parsers/UnityYAML.js +++ b/src/textures/parsers/UnityYAML.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var imageHeight = 0; var addFrame = function (texture, sourceIndex, name, frame) diff --git a/src/textures/parsers/index.js b/src/textures/parsers/index.js index 812dc813f..8aaeb0d8c 100644 --- a/src/textures/parsers/index.js +++ b/src/textures/parsers/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Textures.Parsers */ diff --git a/src/tilemaps/Formats.js b/src/tilemaps/Formats.js index 9be09f6dd..8ccd7136a 100644 --- a/src/tilemaps/Formats.js +++ b/src/tilemaps/Formats.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Tilemaps.Formats */ diff --git a/src/tilemaps/ImageCollection.js b/src/tilemaps/ImageCollection.js index 0a3f93db1..02583a22f 100644 --- a/src/tilemaps/ImageCollection.js +++ b/src/tilemaps/ImageCollection.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); /** diff --git a/src/tilemaps/ParseToTilemap.js b/src/tilemaps/ParseToTilemap.js index 3aa215723..07e47d3f0 100644 --- a/src/tilemaps/ParseToTilemap.js +++ b/src/tilemaps/ParseToTilemap.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Formats = require('./Formats'); var MapData = require('./mapdata/MapData'); var Parse = require('./parsers/Parse'); diff --git a/src/tilemaps/Tile.js b/src/tilemaps/Tile.js index 650d0d07d..48b30d8f8 100644 --- a/src/tilemaps/Tile.js +++ b/src/tilemaps/Tile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var Components = require('../gameobjects/components'); var Rectangle = require('../geom/rectangle'); diff --git a/src/tilemaps/Tilemap.js b/src/tilemaps/Tilemap.js index 96c6704ba..c38d080b2 100644 --- a/src/tilemaps/Tilemap.js +++ b/src/tilemaps/Tilemap.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var DegToRad = require('../math/DegToRad'); var DynamicTilemapLayer = require('./dynamiclayer/DynamicTilemapLayer.js'); diff --git a/src/tilemaps/TilemapCreator.js b/src/tilemaps/TilemapCreator.js index 42373b705..67df82ef1 100644 --- a/src/tilemaps/TilemapCreator.js +++ b/src/tilemaps/TilemapCreator.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectCreator = require('../gameobjects/GameObjectCreator'); var ParseToTilemap = require('./ParseToTilemap'); diff --git a/src/tilemaps/TilemapFactory.js b/src/tilemaps/TilemapFactory.js index b23828647..27361a445 100644 --- a/src/tilemaps/TilemapFactory.js +++ b/src/tilemaps/TilemapFactory.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObjectFactory = require('../gameobjects/GameObjectFactory'); var ParseToTilemap = require('./ParseToTilemap'); diff --git a/src/tilemaps/Tileset.js b/src/tilemaps/Tileset.js index 4e355f7ff..eb719ef80 100644 --- a/src/tilemaps/Tileset.js +++ b/src/tilemaps/Tileset.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); /** diff --git a/src/tilemaps/components/CalculateFacesAt.js b/src/tilemaps/components/CalculateFacesAt.js index a0c18575d..acfb1d322 100644 --- a/src/tilemaps/components/CalculateFacesAt.js +++ b/src/tilemaps/components/CalculateFacesAt.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTileAt = require('./GetTileAt'); /** diff --git a/src/tilemaps/components/CalculateFacesWithin.js b/src/tilemaps/components/CalculateFacesWithin.js index a437ec1cb..66ae15605 100644 --- a/src/tilemaps/components/CalculateFacesWithin.js +++ b/src/tilemaps/components/CalculateFacesWithin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTileAt = require('./GetTileAt'); var GetTilesWithin = require('./GetTilesWithin'); diff --git a/src/tilemaps/components/Copy.js b/src/tilemaps/components/Copy.js index 8ae170c69..e6de99773 100644 --- a/src/tilemaps/components/Copy.js +++ b/src/tilemaps/components/Copy.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); var CalculateFacesWithin = require('./CalculateFacesWithin'); diff --git a/src/tilemaps/components/CreateFromTiles.js b/src/tilemaps/components/CreateFromTiles.js index 4894bcd7b..8abe7784a 100644 --- a/src/tilemaps/components/CreateFromTiles.js +++ b/src/tilemaps/components/CreateFromTiles.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var TileToWorldX = require('./TileToWorldX'); var TileToWorldY = require('./TileToWorldY'); var GetTilesWithin = require('./GetTilesWithin'); diff --git a/src/tilemaps/components/CullTiles.js b/src/tilemaps/components/CullTiles.js index e0fb26531..2aadfa4d4 100644 --- a/src/tilemaps/components/CullTiles.js +++ b/src/tilemaps/components/CullTiles.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Returns the tiles in the given layer that are within the camera's viewport. This is used * internally. diff --git a/src/tilemaps/components/Fill.js b/src/tilemaps/components/Fill.js index b8bcf88ec..29cb5a9b6 100644 --- a/src/tilemaps/components/Fill.js +++ b/src/tilemaps/components/Fill.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); var CalculateFacesWithin = require('./CalculateFacesWithin'); var SetTileCollision = require('./SetTileCollision'); diff --git a/src/tilemaps/components/FilterTiles.js b/src/tilemaps/components/FilterTiles.js index 33cbe78f7..a92a17dd4 100644 --- a/src/tilemaps/components/FilterTiles.js +++ b/src/tilemaps/components/FilterTiles.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); /** diff --git a/src/tilemaps/components/FindByIndex.js b/src/tilemaps/components/FindByIndex.js index f94b8c1f4..55a49347f 100644 --- a/src/tilemaps/components/FindByIndex.js +++ b/src/tilemaps/components/FindByIndex.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Searches the entire map layer for the first tile matching the given index, then returns that Tile * object. If no match is found, it returns null. The search starts from the top-left tile and diff --git a/src/tilemaps/components/FindTile.js b/src/tilemaps/components/FindTile.js index 560352d91..a0feea893 100644 --- a/src/tilemaps/components/FindTile.js +++ b/src/tilemaps/components/FindTile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); /** diff --git a/src/tilemaps/components/ForEachTile.js b/src/tilemaps/components/ForEachTile.js index 0a7a2d660..4556e18e9 100644 --- a/src/tilemaps/components/ForEachTile.js +++ b/src/tilemaps/components/ForEachTile.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); /** diff --git a/src/tilemaps/components/GetTileAt.js b/src/tilemaps/components/GetTileAt.js index 1cb18ed90..82d1ac959 100644 --- a/src/tilemaps/components/GetTileAt.js +++ b/src/tilemaps/components/GetTileAt.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var IsInLayerBounds = require('./IsInLayerBounds'); /** diff --git a/src/tilemaps/components/GetTileAtWorldXY.js b/src/tilemaps/components/GetTileAtWorldXY.js index 70c1773f3..4f0ccf334 100644 --- a/src/tilemaps/components/GetTileAtWorldXY.js +++ b/src/tilemaps/components/GetTileAtWorldXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTileAt = require('./GetTileAt'); var WorldToTileX = require('./WorldToTileX'); var WorldToTileY = require('./WorldToTileY'); diff --git a/src/tilemaps/components/GetTilesWithin.js b/src/tilemaps/components/GetTilesWithin.js index bd687c463..69e93c50b 100644 --- a/src/tilemaps/components/GetTilesWithin.js +++ b/src/tilemaps/components/GetTilesWithin.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetFastValue = require('../../utils/object/GetFastValue'); /** diff --git a/src/tilemaps/components/GetTilesWithinShape.js b/src/tilemaps/components/GetTilesWithinShape.js index 6081839a8..4599cc016 100644 --- a/src/tilemaps/components/GetTilesWithinShape.js +++ b/src/tilemaps/components/GetTilesWithinShape.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Geom = require('../../geom/'); var GetTilesWithin = require('./GetTilesWithin'); var Intersects = require('../../geom/intersects/'); diff --git a/src/tilemaps/components/GetTilesWithinWorldXY.js b/src/tilemaps/components/GetTilesWithinWorldXY.js index 3d6d5aa06..3d9fd0b88 100644 --- a/src/tilemaps/components/GetTilesWithinWorldXY.js +++ b/src/tilemaps/components/GetTilesWithinWorldXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); var WorldToTileX = require('./WorldToTileX'); var WorldToTileY = require('./WorldToTileY'); diff --git a/src/tilemaps/components/HasTileAt.js b/src/tilemaps/components/HasTileAt.js index 65f408643..d973e44fc 100644 --- a/src/tilemaps/components/HasTileAt.js +++ b/src/tilemaps/components/HasTileAt.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var IsInLayerBounds = require('./IsInLayerBounds'); /** diff --git a/src/tilemaps/components/HasTileAtWorldXY.js b/src/tilemaps/components/HasTileAtWorldXY.js index 1dd1d7def..c8b64efcb 100644 --- a/src/tilemaps/components/HasTileAtWorldXY.js +++ b/src/tilemaps/components/HasTileAtWorldXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var HasTileAt = require('./HasTileAt'); var WorldToTileX = require('./WorldToTileX'); var WorldToTileY = require('./WorldToTileY'); diff --git a/src/tilemaps/components/IsInLayerBounds.js b/src/tilemaps/components/IsInLayerBounds.js index 7b1b09229..9a7276384 100644 --- a/src/tilemaps/components/IsInLayerBounds.js +++ b/src/tilemaps/components/IsInLayerBounds.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Checks if the given tile coordinates are within the bounds of the layer. * diff --git a/src/tilemaps/components/PutTileAt.js b/src/tilemaps/components/PutTileAt.js index 251222852..8230ee3f4 100644 --- a/src/tilemaps/components/PutTileAt.js +++ b/src/tilemaps/components/PutTileAt.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Tile = require('../Tile'); var IsInLayerBounds = require('./IsInLayerBounds'); var CalculateFacesAt = require('./CalculateFacesAt'); diff --git a/src/tilemaps/components/PutTileAtWorldXY.js b/src/tilemaps/components/PutTileAtWorldXY.js index 142fa2879..3bf54443f 100644 --- a/src/tilemaps/components/PutTileAtWorldXY.js +++ b/src/tilemaps/components/PutTileAtWorldXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var PutTileAt = require('./PutTileAt'); var WorldToTileX = require('./WorldToTileX'); var WorldToTileY = require('./WorldToTileY'); diff --git a/src/tilemaps/components/PutTilesAt.js b/src/tilemaps/components/PutTilesAt.js index 00aa38dbb..5676059b0 100644 --- a/src/tilemaps/components/PutTilesAt.js +++ b/src/tilemaps/components/PutTilesAt.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var CalculateFacesWithin = require('./CalculateFacesWithin'); var PutTileAt = require('./PutTileAt'); diff --git a/src/tilemaps/components/Randomize.js b/src/tilemaps/components/Randomize.js index 1285661e0..a5134bc7c 100644 --- a/src/tilemaps/components/Randomize.js +++ b/src/tilemaps/components/Randomize.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); var GetRandomElement = require('../../utils/array/GetRandomElement'); diff --git a/src/tilemaps/components/RemoveTileAt.js b/src/tilemaps/components/RemoveTileAt.js index 68643b760..59313e5b6 100644 --- a/src/tilemaps/components/RemoveTileAt.js +++ b/src/tilemaps/components/RemoveTileAt.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Tile = require('../Tile'); var IsInLayerBounds = require('./IsInLayerBounds'); var CalculateFacesAt = require('./CalculateFacesAt'); diff --git a/src/tilemaps/components/RemoveTileAtWorldXY.js b/src/tilemaps/components/RemoveTileAtWorldXY.js index 948957fc0..f27a868a2 100644 --- a/src/tilemaps/components/RemoveTileAtWorldXY.js +++ b/src/tilemaps/components/RemoveTileAtWorldXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RemoveTileAt = require('./RemoveTileAt'); var WorldToTileX = require('./WorldToTileX'); var WorldToTileY = require('./WorldToTileY'); diff --git a/src/tilemaps/components/RenderDebug.js b/src/tilemaps/components/RenderDebug.js index 2b53976d2..b25b67727 100644 --- a/src/tilemaps/components/RenderDebug.js +++ b/src/tilemaps/components/RenderDebug.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); var Color = require('../../display/color'); diff --git a/src/tilemaps/components/ReplaceByIndex.js b/src/tilemaps/components/ReplaceByIndex.js index dc2c03139..ec0523812 100644 --- a/src/tilemaps/components/ReplaceByIndex.js +++ b/src/tilemaps/components/ReplaceByIndex.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); /** diff --git a/src/tilemaps/components/SetCollision.js b/src/tilemaps/components/SetCollision.js index e5d0e4513..cc91f6a60 100644 --- a/src/tilemaps/components/SetCollision.js +++ b/src/tilemaps/components/SetCollision.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var SetTileCollision = require('./SetTileCollision'); var CalculateFacesWithin = require('./CalculateFacesWithin'); var SetLayerCollisionIndex = require('./SetLayerCollisionIndex'); diff --git a/src/tilemaps/components/SetCollisionBetween.js b/src/tilemaps/components/SetCollisionBetween.js index 6bca1ba23..290b3ff24 100644 --- a/src/tilemaps/components/SetCollisionBetween.js +++ b/src/tilemaps/components/SetCollisionBetween.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var SetTileCollision = require('./SetTileCollision'); var CalculateFacesWithin = require('./CalculateFacesWithin'); var SetLayerCollisionIndex = require('./SetLayerCollisionIndex'); diff --git a/src/tilemaps/components/SetCollisionByExclusion.js b/src/tilemaps/components/SetCollisionByExclusion.js index b17196c03..0c493032a 100644 --- a/src/tilemaps/components/SetCollisionByExclusion.js +++ b/src/tilemaps/components/SetCollisionByExclusion.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var SetTileCollision = require('./SetTileCollision'); var CalculateFacesWithin = require('./CalculateFacesWithin'); var SetLayerCollisionIndex = require('./SetLayerCollisionIndex'); diff --git a/src/tilemaps/components/SetCollisionByProperty.js b/src/tilemaps/components/SetCollisionByProperty.js index e0f40dd37..8096f0245 100644 --- a/src/tilemaps/components/SetCollisionByProperty.js +++ b/src/tilemaps/components/SetCollisionByProperty.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var SetTileCollision = require('./SetTileCollision'); var CalculateFacesWithin = require('./CalculateFacesWithin'); var HasValue = require('../../utils/object/HasValue'); diff --git a/src/tilemaps/components/SetCollisionFromCollisionGroup.js b/src/tilemaps/components/SetCollisionFromCollisionGroup.js index 293edc235..5dd1b77e9 100644 --- a/src/tilemaps/components/SetCollisionFromCollisionGroup.js +++ b/src/tilemaps/components/SetCollisionFromCollisionGroup.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var SetTileCollision = require('./SetTileCollision'); var CalculateFacesWithin = require('./CalculateFacesWithin'); diff --git a/src/tilemaps/components/SetLayerCollisionIndex.js b/src/tilemaps/components/SetLayerCollisionIndex.js index 44b92959b..eae256ff9 100644 --- a/src/tilemaps/components/SetLayerCollisionIndex.js +++ b/src/tilemaps/components/SetLayerCollisionIndex.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Internally used method to keep track of the tile indexes that collide within a layer. This * updates LayerData.collideIndexes to either contain or not contain the given `tileIndex`. diff --git a/src/tilemaps/components/SetTileCollision.js b/src/tilemaps/components/SetTileCollision.js index 6841eb771..a768fb631 100644 --- a/src/tilemaps/components/SetTileCollision.js +++ b/src/tilemaps/components/SetTileCollision.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Internally used method to set the colliding state of a tile. This does not recalculate * interesting faces. diff --git a/src/tilemaps/components/SetTileIndexCallback.js b/src/tilemaps/components/SetTileIndexCallback.js index 03c644afc..b5b263173 100644 --- a/src/tilemaps/components/SetTileIndexCallback.js +++ b/src/tilemaps/components/SetTileIndexCallback.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Sets a global collision callback for the given tile index within the layer. This will affect all * tiles on this layer that have the same index. If a callback is already set for the tile index it diff --git a/src/tilemaps/components/SetTileLocationCallback.js b/src/tilemaps/components/SetTileLocationCallback.js index 7bd0f6546..967929285 100644 --- a/src/tilemaps/components/SetTileLocationCallback.js +++ b/src/tilemaps/components/SetTileLocationCallback.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); /** diff --git a/src/tilemaps/components/Shuffle.js b/src/tilemaps/components/Shuffle.js index a14c64e2d..457d4fdc1 100644 --- a/src/tilemaps/components/Shuffle.js +++ b/src/tilemaps/components/Shuffle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); var ShuffleArray = require('../../utils/array/Shuffle'); diff --git a/src/tilemaps/components/SwapByIndex.js b/src/tilemaps/components/SwapByIndex.js index 554fabd19..8b0ec91b5 100644 --- a/src/tilemaps/components/SwapByIndex.js +++ b/src/tilemaps/components/SwapByIndex.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); /** diff --git a/src/tilemaps/components/TileToWorldX.js b/src/tilemaps/components/TileToWorldX.js index 530c84f2c..54eb42165 100644 --- a/src/tilemaps/components/TileToWorldX.js +++ b/src/tilemaps/components/TileToWorldX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Converts from tile X coordinates (tile units) to world X coordinates (pixels), factoring in the * layer's position, scale and scroll. diff --git a/src/tilemaps/components/TileToWorldXY.js b/src/tilemaps/components/TileToWorldXY.js index be7c93e14..40ac07dc8 100644 --- a/src/tilemaps/components/TileToWorldXY.js +++ b/src/tilemaps/components/TileToWorldXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var TileToWorldX = require('./TileToWorldX'); var TileToWorldY = require('./TileToWorldY'); var Vector2 = require('../../math/Vector2'); diff --git a/src/tilemaps/components/TileToWorldY.js b/src/tilemaps/components/TileToWorldY.js index a91204f26..88b2d8051 100644 --- a/src/tilemaps/components/TileToWorldY.js +++ b/src/tilemaps/components/TileToWorldY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Converts from tile Y coordinates (tile units) to world Y coordinates (pixels), factoring in the * layer's position, scale and scroll. diff --git a/src/tilemaps/components/WeightedRandomize.js b/src/tilemaps/components/WeightedRandomize.js index 68a3ee95b..d843f844f 100644 --- a/src/tilemaps/components/WeightedRandomize.js +++ b/src/tilemaps/components/WeightedRandomize.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetTilesWithin = require('./GetTilesWithin'); /** diff --git a/src/tilemaps/components/WorldToTileX.js b/src/tilemaps/components/WorldToTileX.js index 2e620187e..753a346c0 100644 --- a/src/tilemaps/components/WorldToTileX.js +++ b/src/tilemaps/components/WorldToTileX.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Converts from world X coordinates (pixels) to tile X coordinates (tile units), factoring in the * layer's position, scale and scroll. diff --git a/src/tilemaps/components/WorldToTileXY.js b/src/tilemaps/components/WorldToTileXY.js index 08ea880da..23d30f8e1 100644 --- a/src/tilemaps/components/WorldToTileXY.js +++ b/src/tilemaps/components/WorldToTileXY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var WorldToTileX = require('./WorldToTileX'); var WorldToTileY = require('./WorldToTileY'); var Vector2 = require('../../math/Vector2'); diff --git a/src/tilemaps/components/WorldToTileY.js b/src/tilemaps/components/WorldToTileY.js index 2cd7717c8..6145fc3ca 100644 --- a/src/tilemaps/components/WorldToTileY.js +++ b/src/tilemaps/components/WorldToTileY.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Converts from world Y coordinates (pixels) to tile Y coordinates (tile units), factoring in the * layer's position, scale and scroll. diff --git a/src/tilemaps/components/index.js b/src/tilemaps/components/index.js index c781c50b8..32280bfc3 100644 --- a/src/tilemaps/components/index.js +++ b/src/tilemaps/components/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Tilemaps.Components */ diff --git a/src/tilemaps/dynamiclayer/DynamicTilemapLayer.js b/src/tilemaps/dynamiclayer/DynamicTilemapLayer.js index 219a6de61..eab07b0d8 100644 --- a/src/tilemaps/dynamiclayer/DynamicTilemapLayer.js +++ b/src/tilemaps/dynamiclayer/DynamicTilemapLayer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('../../gameobjects/components'); var DynamicTilemapLayerRender = require('./DynamicTilemapLayerRender'); diff --git a/src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js b/src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js index deb17f7b1..d355781b5 100644 --- a/src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js +++ b/src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../gameobjects/GameObject'); /** diff --git a/src/tilemaps/dynamiclayer/DynamicTilemapLayerRender.js b/src/tilemaps/dynamiclayer/DynamicTilemapLayerRender.js index 3ff653395..aba461e95 100644 --- a/src/tilemaps/dynamiclayer/DynamicTilemapLayerRender.js +++ b/src/tilemaps/dynamiclayer/DynamicTilemapLayerRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/tilemaps/dynamiclayer/DynamicTilemapLayerWebGLRenderer.js b/src/tilemaps/dynamiclayer/DynamicTilemapLayerWebGLRenderer.js index c43ca8675..be8575206 100644 --- a/src/tilemaps/dynamiclayer/DynamicTilemapLayerWebGLRenderer.js +++ b/src/tilemaps/dynamiclayer/DynamicTilemapLayerWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../gameobjects/GameObject'); /** diff --git a/src/tilemaps/index.js b/src/tilemaps/index.js index 64a0d475f..0368ae475 100644 --- a/src/tilemaps/index.js +++ b/src/tilemaps/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Tilemaps */ diff --git a/src/tilemaps/mapdata/LayerData.js b/src/tilemaps/mapdata/LayerData.js index a80026e2e..5d6150d4a 100644 --- a/src/tilemaps/mapdata/LayerData.js +++ b/src/tilemaps/mapdata/LayerData.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/tilemaps/mapdata/MapData.js b/src/tilemaps/mapdata/MapData.js index fc4cc22ed..fb2a20846 100644 --- a/src/tilemaps/mapdata/MapData.js +++ b/src/tilemaps/mapdata/MapData.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/tilemaps/mapdata/ObjectLayer.js b/src/tilemaps/mapdata/ObjectLayer.js index d6ad5ba4b..77623fb3f 100644 --- a/src/tilemaps/mapdata/ObjectLayer.js +++ b/src/tilemaps/mapdata/ObjectLayer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GetFastValue = require('../../utils/object/GetFastValue'); diff --git a/src/tilemaps/parsers/Parse.js b/src/tilemaps/parsers/Parse.js index 36170a055..237303ea5 100644 --- a/src/tilemaps/parsers/Parse.js +++ b/src/tilemaps/parsers/Parse.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Formats = require('../Formats'); var Parse2DArray = require('./Parse2DArray'); var ParseCSV = require('./ParseCSV'); diff --git a/src/tilemaps/parsers/Parse2DArray.js b/src/tilemaps/parsers/Parse2DArray.js index 0c65a2183..54550f9d3 100644 --- a/src/tilemaps/parsers/Parse2DArray.js +++ b/src/tilemaps/parsers/Parse2DArray.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Formats = require('../Formats'); var LayerData = require('../mapdata/LayerData'); var MapData = require('../mapdata/MapData'); diff --git a/src/tilemaps/parsers/ParseCSV.js b/src/tilemaps/parsers/ParseCSV.js index 5669c762f..ea0b427db 100644 --- a/src/tilemaps/parsers/ParseCSV.js +++ b/src/tilemaps/parsers/ParseCSV.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Formats = require('../Formats'); var Parse2DArray = require('./Parse2DArray'); diff --git a/src/tilemaps/parsers/impact/ParseTileLayers.js b/src/tilemaps/parsers/impact/ParseTileLayers.js index e8aaea89e..a9fa32f6e 100644 --- a/src/tilemaps/parsers/impact/ParseTileLayers.js +++ b/src/tilemaps/parsers/impact/ParseTileLayers.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var LayerData = require('../../mapdata/LayerData'); var Tile = require('../../Tile'); diff --git a/src/tilemaps/parsers/impact/ParseTilesets.js b/src/tilemaps/parsers/impact/ParseTilesets.js index a28fb9f34..63870103b 100644 --- a/src/tilemaps/parsers/impact/ParseTilesets.js +++ b/src/tilemaps/parsers/impact/ParseTilesets.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Tileset = require('../../Tileset'); /** diff --git a/src/tilemaps/parsers/impact/ParseWeltmeister.js b/src/tilemaps/parsers/impact/ParseWeltmeister.js index 36dcbff4a..90adc2f38 100644 --- a/src/tilemaps/parsers/impact/ParseWeltmeister.js +++ b/src/tilemaps/parsers/impact/ParseWeltmeister.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Formats = require('../../Formats'); var MapData = require('../../mapdata/MapData'); var ParseTileLayers = require('./ParseTileLayers'); diff --git a/src/tilemaps/parsers/index.js b/src/tilemaps/parsers/index.js index 0f26712c1..9f301a75b 100644 --- a/src/tilemaps/parsers/index.js +++ b/src/tilemaps/parsers/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Tilemaps.Parsers */ diff --git a/src/tilemaps/parsers/tiled/AssignTileProperties.js b/src/tilemaps/parsers/tiled/AssignTileProperties.js index d668657b1..49d7b4f8b 100644 --- a/src/tilemaps/parsers/tiled/AssignTileProperties.js +++ b/src/tilemaps/parsers/tiled/AssignTileProperties.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Extend = require('../../../utils/object/Extend'); /** diff --git a/src/tilemaps/parsers/tiled/Base64Decode.js b/src/tilemaps/parsers/tiled/Base64Decode.js index 742f7a9b8..06ae1b108 100644 --- a/src/tilemaps/parsers/tiled/Base64Decode.js +++ b/src/tilemaps/parsers/tiled/Base64Decode.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/tilemaps/parsers/tiled/BuildTilesetIndex.js b/src/tilemaps/parsers/tiled/BuildTilesetIndex.js index 4a14f1631..e30378445 100644 --- a/src/tilemaps/parsers/tiled/BuildTilesetIndex.js +++ b/src/tilemaps/parsers/tiled/BuildTilesetIndex.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Master list of tiles -> x, y, index in tileset. * diff --git a/src/tilemaps/parsers/tiled/ParseGID.js b/src/tilemaps/parsers/tiled/ParseGID.js index ad9db8738..dccb70843 100644 --- a/src/tilemaps/parsers/tiled/ParseGID.js +++ b/src/tilemaps/parsers/tiled/ParseGID.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var FLIPPED_HORIZONTAL = 0x80000000; var FLIPPED_VERTICAL = 0x40000000; var FLIPPED_ANTI_DIAGONAL = 0x20000000; // Top-right is swapped with bottom-left corners diff --git a/src/tilemaps/parsers/tiled/ParseImageLayers.js b/src/tilemaps/parsers/tiled/ParseImageLayers.js index 7d2d6959d..3cd781f43 100644 --- a/src/tilemaps/parsers/tiled/ParseImageLayers.js +++ b/src/tilemaps/parsers/tiled/ParseImageLayers.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetFastValue = require('../../../utils/object/GetFastValue'); /** diff --git a/src/tilemaps/parsers/tiled/ParseJSONTiled.js b/src/tilemaps/parsers/tiled/ParseJSONTiled.js index d88bf7d8d..9d5031de3 100644 --- a/src/tilemaps/parsers/tiled/ParseJSONTiled.js +++ b/src/tilemaps/parsers/tiled/ParseJSONTiled.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Formats = require('../../Formats'); var MapData = require('../../mapdata/MapData'); var ParseTileLayers = require('./ParseTileLayers'); diff --git a/src/tilemaps/parsers/tiled/ParseObject.js b/src/tilemaps/parsers/tiled/ParseObject.js index b31940273..f56fb9b4c 100644 --- a/src/tilemaps/parsers/tiled/ParseObject.js +++ b/src/tilemaps/parsers/tiled/ParseObject.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Pick = require('./Pick'); var ParseGID = require('./ParseGID'); diff --git a/src/tilemaps/parsers/tiled/ParseObjectLayers.js b/src/tilemaps/parsers/tiled/ParseObjectLayers.js index 890442426..dcf638688 100644 --- a/src/tilemaps/parsers/tiled/ParseObjectLayers.js +++ b/src/tilemaps/parsers/tiled/ParseObjectLayers.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetFastValue = require('../../../utils/object/GetFastValue'); var ParseObject = require('./ParseObject'); var ObjectLayer = require('../../mapdata/ObjectLayer'); diff --git a/src/tilemaps/parsers/tiled/ParseTileLayers.js b/src/tilemaps/parsers/tiled/ParseTileLayers.js index abed546b1..9a5c44adf 100644 --- a/src/tilemaps/parsers/tiled/ParseTileLayers.js +++ b/src/tilemaps/parsers/tiled/ParseTileLayers.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Base64Decode = require('./Base64Decode'); var GetFastValue = require('../../../utils/object/GetFastValue'); var LayerData = require('../../mapdata/LayerData'); diff --git a/src/tilemaps/parsers/tiled/ParseTilesets.js b/src/tilemaps/parsers/tiled/ParseTilesets.js index 782d16473..0d0c25fd8 100644 --- a/src/tilemaps/parsers/tiled/ParseTilesets.js +++ b/src/tilemaps/parsers/tiled/ParseTilesets.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Tileset = require('../../Tileset'); var ImageCollection = require('../../ImageCollection'); var ParseObject = require('./ParseObject'); diff --git a/src/tilemaps/parsers/tiled/Pick.js b/src/tilemaps/parsers/tiled/Pick.js index 0cf44887b..0c8c032c7 100644 --- a/src/tilemaps/parsers/tiled/Pick.js +++ b/src/tilemaps/parsers/tiled/Pick.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var HasValue = require('../../../utils/object/HasValue'); /** diff --git a/src/tilemaps/staticlayer/StaticTilemapLayer.js b/src/tilemaps/staticlayer/StaticTilemapLayer.js index 05c3650db..8a4fc37ed 100644 --- a/src/tilemaps/staticlayer/StaticTilemapLayer.js +++ b/src/tilemaps/staticlayer/StaticTilemapLayer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var Components = require('../../gameobjects/components'); var GameObject = require('../../gameobjects/GameObject'); diff --git a/src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js b/src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js index 0b467356f..b145b5305 100644 --- a/src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js +++ b/src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../gameobjects/GameObject'); /** diff --git a/src/tilemaps/staticlayer/StaticTilemapLayerRender.js b/src/tilemaps/staticlayer/StaticTilemapLayerRender.js index 9a28c9a45..5362f17c1 100644 --- a/src/tilemaps/staticlayer/StaticTilemapLayerRender.js +++ b/src/tilemaps/staticlayer/StaticTilemapLayerRender.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); diff --git a/src/tilemaps/staticlayer/StaticTilemapLayerWebGLRenderer.js b/src/tilemaps/staticlayer/StaticTilemapLayerWebGLRenderer.js index d16c70727..1f6f44615 100644 --- a/src/tilemaps/staticlayer/StaticTilemapLayerWebGLRenderer.js +++ b/src/tilemaps/staticlayer/StaticTilemapLayerWebGLRenderer.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GameObject = require('../../gameobjects/GameObject'); /** diff --git a/src/time/Clock.js b/src/time/Clock.js index f982bba20..0d867d18d 100644 --- a/src/time/Clock.js +++ b/src/time/Clock.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var PluginManager = require('../plugins/PluginManager'); var TimerEvent = require('./TimerEvent'); diff --git a/src/time/TimerEvent.js b/src/time/TimerEvent.js index c7a5603aa..619b271f4 100644 --- a/src/time/TimerEvent.js +++ b/src/time/TimerEvent.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var GetFastValue = require('../utils/object/GetFastValue'); diff --git a/src/time/index.js b/src/time/index.js index 1d212271d..47ef8b508 100644 --- a/src/time/index.js +++ b/src/time/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Time */ diff --git a/src/tweens/Timeline.js b/src/tweens/Timeline.js index f5f24a7a0..3305e0503 100644 --- a/src/tweens/Timeline.js +++ b/src/tweens/Timeline.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var EventEmitter = require('eventemitter3'); var TweenBuilder = require('./builders/TweenBuilder'); diff --git a/src/tweens/TweenManager.js b/src/tweens/TweenManager.js index 2936389aa..ea8d76ee1 100644 --- a/src/tweens/TweenManager.js +++ b/src/tweens/TweenManager.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../utils/Class'); var NumberTweenBuilder = require('./builders/NumberTweenBuilder'); var PluginManager = require('../plugins/PluginManager'); diff --git a/src/tweens/builders/GetBoolean.js b/src/tweens/builders/GetBoolean.js index c30f13f09..992e5fdaf 100644 --- a/src/tweens/builders/GetBoolean.js +++ b/src/tweens/builders/GetBoolean.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/tweens/builders/GetEaseFunction.js b/src/tweens/builders/GetEaseFunction.js index 939779d1c..67afea1ee 100644 --- a/src/tweens/builders/GetEaseFunction.js +++ b/src/tweens/builders/GetEaseFunction.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var EaseMap = require('../../math/easing/EaseMap'); /** diff --git a/src/tweens/builders/GetNewValue.js b/src/tweens/builders/GetNewValue.js index 3af209395..51517cf50 100644 --- a/src/tweens/builders/GetNewValue.js +++ b/src/tweens/builders/GetNewValue.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/tweens/builders/GetProps.js b/src/tweens/builders/GetProps.js index 3b95ced2a..d72144ca5 100644 --- a/src/tweens/builders/GetProps.js +++ b/src/tweens/builders/GetProps.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RESERVED = require('../tween/ReservedProps'); /** diff --git a/src/tweens/builders/GetTargets.js b/src/tweens/builders/GetTargets.js index 8f9d0ca5e..3a8d814da 100644 --- a/src/tweens/builders/GetTargets.js +++ b/src/tweens/builders/GetTargets.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetValue = require('../../utils/object/GetValue'); /** diff --git a/src/tweens/builders/GetTweens.js b/src/tweens/builders/GetTweens.js index 0fe9ed9c6..f42a33655 100644 --- a/src/tweens/builders/GetTweens.js +++ b/src/tweens/builders/GetTweens.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetValue = require('../../utils/object/GetValue'); /** diff --git a/src/tweens/builders/GetValueOp.js b/src/tweens/builders/GetValueOp.js index cc7e291d7..36a1c8765 100644 --- a/src/tweens/builders/GetValueOp.js +++ b/src/tweens/builders/GetValueOp.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + function hasGetStart (def) { return (!!def.getStart && typeof def.getStart === 'function'); diff --git a/src/tweens/builders/NumberTweenBuilder.js b/src/tweens/builders/NumberTweenBuilder.js index 99addb9f6..47a658849 100644 --- a/src/tweens/builders/NumberTweenBuilder.js +++ b/src/tweens/builders/NumberTweenBuilder.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Defaults = require('../tween/Defaults'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); var GetBoolean = require('./GetBoolean'); diff --git a/src/tweens/builders/TimelineBuilder.js b/src/tweens/builders/TimelineBuilder.js index 47d6918f0..2a6ff9079 100644 --- a/src/tweens/builders/TimelineBuilder.js +++ b/src/tweens/builders/TimelineBuilder.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Clone = require('../../utils/object/Clone'); var Defaults = require('../tween/Defaults'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); diff --git a/src/tweens/builders/TweenBuilder.js b/src/tweens/builders/TweenBuilder.js index 8ad17e21c..36f13d139 100644 --- a/src/tweens/builders/TweenBuilder.js +++ b/src/tweens/builders/TweenBuilder.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Defaults = require('../tween/Defaults'); var GetAdvancedValue = require('../../utils/object/GetAdvancedValue'); var GetBoolean = require('./GetBoolean'); diff --git a/src/tweens/builders/index.js b/src/tweens/builders/index.js index 30ca68f88..6ae9a90af 100644 --- a/src/tweens/builders/index.js +++ b/src/tweens/builders/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Tweens.Builders */ diff --git a/src/tweens/index.js b/src/tweens/index.js index 39b55d0d0..151940562 100644 --- a/src/tweens/index.js +++ b/src/tweens/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Tweens */ diff --git a/src/tweens/tween/Defaults.js b/src/tweens/tween/Defaults.js index 1568f089f..fcebf7227 100644 --- a/src/tweens/tween/Defaults.js +++ b/src/tweens/tween/Defaults.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @typedef {object} Phaser.Tweens.Tween~ConfigDefaults * @property {object|object[]} targets - [description] diff --git a/src/tweens/tween/ReservedProps.js b/src/tweens/tween/ReservedProps.js index 52f06736a..6418a99ce 100644 --- a/src/tweens/tween/ReservedProps.js +++ b/src/tweens/tween/ReservedProps.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // RESERVED properties that a Tween config object uses // completeDelay: The time the tween will wait before the onComplete event is dispatched once it has completed diff --git a/src/tweens/tween/Tween.js b/src/tweens/tween/Tween.js index 19bd871b3..3aed1dfb0 100644 --- a/src/tweens/tween/Tween.js +++ b/src/tweens/tween/Tween.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Class = require('../../utils/Class'); var GameObjectCreator = require('../../gameobjects/GameObjectCreator'); var GameObjectFactory = require('../../gameobjects/GameObjectFactory'); diff --git a/src/tweens/tween/TweenData.js b/src/tweens/tween/TweenData.js index bc929b4dd..2275c84ed 100644 --- a/src/tweens/tween/TweenData.js +++ b/src/tweens/tween/TweenData.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/tweens/tween/const.js b/src/tweens/tween/const.js index 2027ec6dc..c8ebac694 100644 --- a/src/tweens/tween/const.js +++ b/src/tweens/tween/const.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var TWEEN_CONST = { /** diff --git a/src/utils/Class.js b/src/utils/Class.js index b510b3201..9b731941b 100644 --- a/src/utils/Class.js +++ b/src/utils/Class.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Taken from klasse by mattdesl https://github.com/mattdesl/klasse function hasGetterOrSetter (def) diff --git a/src/utils/NOOP.js b/src/utils/NOOP.js index 2faca27ba..9975cb2bc 100644 --- a/src/utils/NOOP.js +++ b/src/utils/NOOP.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * A NOOP (No Operation) callback function. * diff --git a/src/utils/array/FindClosestInSorted.js b/src/utils/array/FindClosestInSorted.js index 149610c7b..7c856d22c 100644 --- a/src/utils/array/FindClosestInSorted.js +++ b/src/utils/array/FindClosestInSorted.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/utils/array/GetRandomElement.js b/src/utils/array/GetRandomElement.js index 1b4bfabf5..eb5bd467d 100644 --- a/src/utils/array/GetRandomElement.js +++ b/src/utils/array/GetRandomElement.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/utils/array/NumberArray.js b/src/utils/array/NumberArray.js index e1da08ae1..8cf8fa0c9 100644 --- a/src/utils/array/NumberArray.js +++ b/src/utils/array/NumberArray.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Create an array representing the range of numbers (usually integers), between, and inclusive of, * the given `start` and `end` arguments. For example: diff --git a/src/utils/array/NumberArrayStep.js b/src/utils/array/NumberArrayStep.js index 7cad158c4..51d3f2317 100644 --- a/src/utils/array/NumberArrayStep.js +++ b/src/utils/array/NumberArrayStep.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RoundAwayFromZero = require('../../math/RoundAwayFromZero'); /** diff --git a/src/utils/array/QuickSelect.js b/src/utils/array/QuickSelect.js index a96542a44..4178052df 100644 --- a/src/utils/array/QuickSelect.js +++ b/src/utils/array/QuickSelect.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // This is from the quickselect npm package: https://www.npmjs.com/package/quickselect // Coded by https://www.npmjs.com/~mourner (Vladimir Agafonkin) diff --git a/src/utils/array/Range.js b/src/utils/array/Range.js index ff97124b7..2ff7cc6df 100644 --- a/src/utils/array/Range.js +++ b/src/utils/array/Range.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetValue = require('../object/GetValue'); var Shuffle = require('./Shuffle'); diff --git a/src/utils/array/RemoveRandomElement.js b/src/utils/array/RemoveRandomElement.js index f535156df..0925d0546 100644 --- a/src/utils/array/RemoveRandomElement.js +++ b/src/utils/array/RemoveRandomElement.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var SpliceOne = require('./SpliceOne'); /** diff --git a/src/utils/array/RotateLeft.js b/src/utils/array/RotateLeft.js index d07de821d..70ca42392 100644 --- a/src/utils/array/RotateLeft.js +++ b/src/utils/array/RotateLeft.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Moves the element at the start of the array to the end, shifting all items in the process. * The "rotation" happens to the left. diff --git a/src/utils/array/RotateRight.js b/src/utils/array/RotateRight.js index 7a92ab537..032fc4c72 100644 --- a/src/utils/array/RotateRight.js +++ b/src/utils/array/RotateRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Moves the element at the end of the array to the start, shifting all items in the process. * The "rotation" happens to the right. diff --git a/src/utils/array/Shuffle.js b/src/utils/array/Shuffle.js index 6de0aa818..f8b9454e9 100644 --- a/src/utils/array/Shuffle.js +++ b/src/utils/array/Shuffle.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Shuffles the contents of the given array using the Fisher-Yates implementation. * diff --git a/src/utils/array/SpliceOne.js b/src/utils/array/SpliceOne.js index a48f86922..84ff44853 100644 --- a/src/utils/array/SpliceOne.js +++ b/src/utils/array/SpliceOne.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on code by Mike Reinstein /** diff --git a/src/utils/array/StableSort.js b/src/utils/array/StableSort.js index d2d50c582..8831aba5d 100644 --- a/src/utils/array/StableSort.js +++ b/src/utils/array/StableSort.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + //! stable.js 0.1.6, https://github.com/Two-Screen/stable //! © 2017 Angry Bytes and contributors. MIT licensed. diff --git a/src/utils/array/index.js b/src/utils/array/index.js index 924ee83ac..ad9bba586 100644 --- a/src/utils/array/index.js +++ b/src/utils/array/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Utils.Array */ diff --git a/src/utils/array/matrix/CheckMatrix.js b/src/utils/array/matrix/CheckMatrix.js index b736d66f4..130ec352a 100644 --- a/src/utils/array/matrix/CheckMatrix.js +++ b/src/utils/array/matrix/CheckMatrix.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * A Matrix is simply an array of arrays, where each sub-array (the rows) have the same length: * diff --git a/src/utils/array/matrix/MatrixToString.js b/src/utils/array/matrix/MatrixToString.js index c0de11f02..82dd05b32 100644 --- a/src/utils/array/matrix/MatrixToString.js +++ b/src/utils/array/matrix/MatrixToString.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Pad = require('../../string/Pad'); var CheckMatrix = require('./CheckMatrix'); diff --git a/src/utils/array/matrix/ReverseColumns.js b/src/utils/array/matrix/ReverseColumns.js index 980389f8c..a1c5c247c 100644 --- a/src/utils/array/matrix/ReverseColumns.js +++ b/src/utils/array/matrix/ReverseColumns.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/utils/array/matrix/ReverseRows.js b/src/utils/array/matrix/ReverseRows.js index 244079216..d1d5fe491 100644 --- a/src/utils/array/matrix/ReverseRows.js +++ b/src/utils/array/matrix/ReverseRows.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/utils/array/matrix/Rotate180.js b/src/utils/array/matrix/Rotate180.js index b63d9aefa..708f5d334 100644 --- a/src/utils/array/matrix/Rotate180.js +++ b/src/utils/array/matrix/Rotate180.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RotateMatrix = require('./RotateMatrix'); /** diff --git a/src/utils/array/matrix/RotateLeft.js b/src/utils/array/matrix/RotateLeft.js index e608cb289..92dac0edc 100644 --- a/src/utils/array/matrix/RotateLeft.js +++ b/src/utils/array/matrix/RotateLeft.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RotateMatrix = require('./RotateMatrix'); /** diff --git a/src/utils/array/matrix/RotateMatrix.js b/src/utils/array/matrix/RotateMatrix.js index 7ceb0157f..db26004eb 100644 --- a/src/utils/array/matrix/RotateMatrix.js +++ b/src/utils/array/matrix/RotateMatrix.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Based on the routine from {@link http://jsfiddle.net/MrPolywhirl/NH42z/}. var CheckMatrix = require('./CheckMatrix'); diff --git a/src/utils/array/matrix/RotateRight.js b/src/utils/array/matrix/RotateRight.js index 9e28dfd47..f7889cc8a 100644 --- a/src/utils/array/matrix/RotateRight.js +++ b/src/utils/array/matrix/RotateRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var RotateMatrix = require('./RotateMatrix'); /** diff --git a/src/utils/array/matrix/TransposeMatrix.js b/src/utils/array/matrix/TransposeMatrix.js index a912369ff..94446d255 100644 --- a/src/utils/array/matrix/TransposeMatrix.js +++ b/src/utils/array/matrix/TransposeMatrix.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Transposes the elements of the given matrix (array of arrays). // The transpose of a matrix is a new matrix whose rows are the columns of the original. diff --git a/src/utils/array/matrix/index.js b/src/utils/array/matrix/index.js index 239da5221..0190f6f55 100644 --- a/src/utils/array/matrix/index.js +++ b/src/utils/array/matrix/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Utils.Array.Matrix */ diff --git a/src/utils/index.js b/src/utils/index.js index ca4f896f4..72f2a4ef7 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Utils */ diff --git a/src/utils/object/Clone.js b/src/utils/object/Clone.js index c23823c25..bafaad82d 100644 --- a/src/utils/object/Clone.js +++ b/src/utils/object/Clone.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Shallow Object Clone. Will not clone nested objects. * diff --git a/src/utils/object/Extend.js b/src/utils/object/Extend.js index 8864f5e04..e5d729c0d 100644 --- a/src/utils/object/Extend.js +++ b/src/utils/object/Extend.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var IsPlainObject = require('./IsPlainObject'); // @param {boolean} deep - Perform a deep copy? diff --git a/src/utils/object/GetAdvancedValue.js b/src/utils/object/GetAdvancedValue.js index 4c1aeed6a..0c88b6a59 100644 --- a/src/utils/object/GetAdvancedValue.js +++ b/src/utils/object/GetAdvancedValue.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var MATH = require('../../math/const'); var GetValue = require('./GetValue'); diff --git a/src/utils/object/GetFastValue.js b/src/utils/object/GetFastValue.js index eb0012326..41467c553 100644 --- a/src/utils/object/GetFastValue.js +++ b/src/utils/object/GetFastValue.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Source object // The key as a string, can only be 1 level deep (no periods), must exist at the top level of the source object // The default value to use if the key doesn't exist diff --git a/src/utils/object/GetMinMaxValue.js b/src/utils/object/GetMinMaxValue.js index 78556c9fc..2ba6d4b04 100644 --- a/src/utils/object/GetMinMaxValue.js +++ b/src/utils/object/GetMinMaxValue.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var GetValue = require('./GetValue'); var Clamp = require('../../math/Clamp'); diff --git a/src/utils/object/GetValue.js b/src/utils/object/GetValue.js index abc5261c1..e5ec72438 100644 --- a/src/utils/object/GetValue.js +++ b/src/utils/object/GetValue.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + // Source object // The key as a string, or an array of keys, i.e. 'banner', or 'banner.hideBanner' // The default value to use if the key doesn't exist diff --git a/src/utils/object/HasAll.js b/src/utils/object/HasAll.js index fa8b65aa5..9df46a677 100644 --- a/src/utils/object/HasAll.js +++ b/src/utils/object/HasAll.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/utils/object/HasAny.js b/src/utils/object/HasAny.js index 3872c9be2..0cd4ece99 100644 --- a/src/utils/object/HasAny.js +++ b/src/utils/object/HasAny.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/utils/object/HasValue.js b/src/utils/object/HasValue.js index 51d882cd7..cc58f9f98 100644 --- a/src/utils/object/HasValue.js +++ b/src/utils/object/HasValue.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/utils/object/IsPlainObject.js b/src/utils/object/IsPlainObject.js index 269631538..b67480e0c 100644 --- a/src/utils/object/IsPlainObject.js +++ b/src/utils/object/IsPlainObject.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * This is a slightly modified version of jQuery.isPlainObject. * A plain object is an object whose internal class property is [object Object]. diff --git a/src/utils/object/Merge.js b/src/utils/object/Merge.js index 1fa89e3a6..afa7fb772 100644 --- a/src/utils/object/Merge.js +++ b/src/utils/object/Merge.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Clone = require('./Clone'); /** diff --git a/src/utils/object/MergeRight.js b/src/utils/object/MergeRight.js index aedbd3331..7df1eca82 100644 --- a/src/utils/object/MergeRight.js +++ b/src/utils/object/MergeRight.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + var Clone = require('./Clone'); /** diff --git a/src/utils/object/index.js b/src/utils/object/index.js index 5eb04e35d..ad90d3b3e 100644 --- a/src/utils/object/index.js +++ b/src/utils/object/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Utils.Object */ diff --git a/src/utils/string/Format.js b/src/utils/string/Format.js index b1d6d6c91..8572f6c1a 100644 --- a/src/utils/string/Format.js +++ b/src/utils/string/Format.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Takes a string and replaces instances of markers with values in the given array. * The markers take the form of `%1`, `%2`, etc. I.e.: diff --git a/src/utils/string/Pad.js b/src/utils/string/Pad.js index 48f429809..59b707fef 100644 --- a/src/utils/string/Pad.js +++ b/src/utils/string/Pad.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Takes the given string and pads it out, to the length required, using the character * specified. For example if you need a string to be 6 characters long, you can call: diff --git a/src/utils/string/Reverse.js b/src/utils/string/Reverse.js index c248acb7e..7e7d5d47a 100644 --- a/src/utils/string/Reverse.js +++ b/src/utils/string/Reverse.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * Takes the given string and reverses it, returning the reversed string. * For example if given the string `Atari 520ST` it would return `TS025 iratA`. diff --git a/src/utils/string/UppercaseFirst.js b/src/utils/string/UppercaseFirst.js index 74453c6ab..54811d23a 100644 --- a/src/utils/string/UppercaseFirst.js +++ b/src/utils/string/UppercaseFirst.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * [description] * diff --git a/src/utils/string/index.js b/src/utils/string/index.js index 59b179747..ed2e39218 100644 --- a/src/utils/string/index.js +++ b/src/utils/string/index.js @@ -1,3 +1,9 @@ +/** + * @author Richard Davey + * @copyright 2018 Photon Storm Ltd. + * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} + */ + /** * @namespace Phaser.Utils.String */