mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Updated version to 3.70
This commit is contained in:
parent
79db5a5b28
commit
0b32610e56
30 changed files with 57 additions and 57 deletions
|
@ -20,7 +20,7 @@ var CONST = {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*/
|
*/
|
||||||
VERSION: '3.61.0-beta.5',
|
VERSION: '3.70.0',
|
||||||
|
|
||||||
BlendModes: require('./renderer/BlendModes'),
|
BlendModes: require('./renderer/BlendModes'),
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
*
|
*
|
||||||
* @event Phaser.Core.Events#SYSTEM_READY
|
* @event Phaser.Core.Events#SYSTEM_READY
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {Phaser.Scenes.Systems} sys - A reference to the Scene Systems class of the Scene that emitted this event.
|
* @param {Phaser.Scenes.Systems} sys - A reference to the Scene Systems class of the Scene that emitted this event.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -60,7 +60,7 @@ var Path = new Class({
|
||||||
* @name Phaser.Curves.Path#defaultDivisions
|
* @name Phaser.Curves.Path#defaultDivisions
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @default 12
|
* @default 12
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.defaultDivisions = 12;
|
this.defaultDivisions = 12;
|
||||||
|
|
||||||
|
|
|
@ -182,7 +182,7 @@ var Circle = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.FX.Circle#backgroundAlpha
|
* @name Phaser.FX.Circle#backgroundAlpha
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
backgroundAlpha: {
|
backgroundAlpha: {
|
||||||
|
|
||||||
|
|
|
@ -635,7 +635,7 @@ var Layer = new Class({
|
||||||
* You can also optionally call `destroy` on each Game Object that is removed from the Layer.
|
* You can also optionally call `destroy` on each Game Object that is removed from the Layer.
|
||||||
*
|
*
|
||||||
* @method Phaser.GameObjects.Layer#remove
|
* @method Phaser.GameObjects.Layer#remove
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @generic {Phaser.GameObjects.GameObject} T
|
* @generic {Phaser.GameObjects.GameObject} T
|
||||||
* @genericUse {(T|T[])} - [child]
|
* @genericUse {(T|T[])} - [child]
|
||||||
|
|
|
@ -1740,7 +1740,7 @@ var ParticleEmitter = new Class({
|
||||||
* Clear all Death Zones from this Particle Emitter.
|
* Clear all Death Zones from this Particle Emitter.
|
||||||
*
|
*
|
||||||
* @method Phaser.GameObjects.Particles.ParticleEmitter#clearDeathZones
|
* @method Phaser.GameObjects.Particles.ParticleEmitter#clearDeathZones
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @return {this} This Particle Emitter.
|
* @return {this} This Particle Emitter.
|
||||||
*/
|
*/
|
||||||
|
@ -1850,7 +1850,7 @@ var ParticleEmitter = new Class({
|
||||||
* Clear all Emission Zones from this Particle Emitter.
|
* Clear all Emission Zones from this Particle Emitter.
|
||||||
*
|
*
|
||||||
* @method Phaser.GameObjects.Particles.ParticleEmitter#clearEmitZones
|
* @method Phaser.GameObjects.Particles.ParticleEmitter#clearEmitZones
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @return {this} This Particle Emitter.
|
* @return {this} This Particle Emitter.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -136,14 +136,14 @@ var Plane = new Class({
|
||||||
this.setViewHeight();
|
this.setViewHeight();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Do not change this value. It has no effect other than to break things.
|
* Do not change this value. It has no effect other than to break things.
|
||||||
*
|
*
|
||||||
* @name Phaser.GameObjects.Plane#originX
|
* @name Phaser.GameObjects.Plane#originX
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @readonly
|
* @readonly
|
||||||
* @override
|
* @override
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
originX: {
|
originX: {
|
||||||
|
|
||||||
|
@ -154,14 +154,14 @@ var Plane = new Class({
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Do not change this value. It has no effect other than to break things.
|
* Do not change this value. It has no effect other than to break things.
|
||||||
*
|
*
|
||||||
* @name Phaser.GameObjects.Plane#originY
|
* @name Phaser.GameObjects.Plane#originY
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @readonly
|
* @readonly
|
||||||
* @override
|
* @override
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
originY: {
|
originY: {
|
||||||
|
|
||||||
|
|
|
@ -1070,7 +1070,7 @@ var Text = new Class({
|
||||||
* need to display large quantities of characters with fine control over the letter spacing.
|
* need to display large quantities of characters with fine control over the letter spacing.
|
||||||
*
|
*
|
||||||
* @method Phaser.GameObjects.Text#setLetterSpacing
|
* @method Phaser.GameObjects.Text#setLetterSpacing
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} value - The amount to add to the letter width. Set to zero to disable.
|
* @param {number} value - The amount to add to the letter width. Set to zero to disable.
|
||||||
*
|
*
|
||||||
|
@ -1168,7 +1168,7 @@ var Text = new Class({
|
||||||
* Render text from right-to-left or left-to-right.
|
* Render text from right-to-left or left-to-right.
|
||||||
*
|
*
|
||||||
* @method Phaser.GameObjects.Text#setRTL
|
* @method Phaser.GameObjects.Text#setRTL
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {boolean} [rtl=true] - Set to `true` to render from right-to-left.
|
* @param {boolean} [rtl=true] - Set to `true` to render from right-to-left.
|
||||||
*
|
*
|
||||||
|
|
|
@ -176,7 +176,7 @@ var Line = new Class({
|
||||||
* Sets this Line to match the x/y coordinates of the two given Vector2Like objects.
|
* Sets this Line to match the x/y coordinates of the two given Vector2Like objects.
|
||||||
*
|
*
|
||||||
* @method Phaser.Geom.Line#setFromObjects
|
* @method Phaser.Geom.Line#setFromObjects
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {Phaser.Types.Math.Vector2Like} start - Any object with public `x` and `y` properties, whose values will be assigned to the x1/y1 components of this Line.
|
* @param {Phaser.Types.Math.Vector2Like} start - Any object with public `x` and `y` properties, whose values will be assigned to the x1/y1 components of this Line.
|
||||||
* @param {Phaser.Types.Math.Vector2Like} end - Any object with public `x` and `y` properties, whose values will be assigned to the x2/y2 components of this Line.
|
* @param {Phaser.Types.Math.Vector2Like} end - Any object with public `x` and `y` properties, whose values will be assigned to the x2/y2 components of this Line.
|
||||||
|
|
|
@ -94,7 +94,7 @@ var ArcadePhysics = new Class({
|
||||||
* @name Phaser.Physics.Arcade.World#_category
|
* @name Phaser.Physics.Arcade.World#_category
|
||||||
* @private
|
* @private
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this._category = 0x0001;
|
this._category = 0x0001;
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ var ArcadePhysics = new Class({
|
||||||
* `Body.setCollidesWith()` methods to change this.
|
* `Body.setCollidesWith()` methods to change this.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.ArcadePhysics#nextCategory
|
* @method Phaser.Physics.Arcade.ArcadePhysics#nextCategory
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @return {number} The next collision category.
|
* @return {number} The next collision category.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -678,7 +678,7 @@ var Body = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.Body#slideFactor
|
* @name Phaser.Physics.Arcade.Body#slideFactor
|
||||||
* @type {Phaser.Math.Vector2}
|
* @type {Phaser.Math.Vector2}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
* @see Phaser.GameObjects.Components.Pushable#setSlideFactor
|
* @see Phaser.GameObjects.Components.Pushable#setSlideFactor
|
||||||
*/
|
*/
|
||||||
this.slideFactor = new Vector2(1, 1);
|
this.slideFactor = new Vector2(1, 1);
|
||||||
|
@ -843,7 +843,7 @@ var Body = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.Body#collisionCategory
|
* @name Phaser.Physics.Arcade.Body#collisionCategory
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionCategory = 0x0001;
|
this.collisionCategory = 0x0001;
|
||||||
|
|
||||||
|
@ -854,7 +854,7 @@ var Body = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.Body#collisionMask
|
* @name Phaser.Physics.Arcade.Body#collisionMask
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionMask = 1;
|
this.collisionMask = 1;
|
||||||
|
|
||||||
|
@ -942,7 +942,7 @@ var Body = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.Body#directControl
|
* @name Phaser.Physics.Arcade.Body#directControl
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.directControl = false;
|
this.directControl = false;
|
||||||
|
|
||||||
|
@ -952,7 +952,7 @@ var Body = new Class({
|
||||||
* @name Phaser.Physics.Arcade.Body#autoFrame
|
* @name Phaser.Physics.Arcade.Body#autoFrame
|
||||||
* @type {Phaser.Math.Vector2}
|
* @type {Phaser.Math.Vector2}
|
||||||
* @private
|
* @private
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.autoFrame = this.position.clone();
|
this.autoFrame = this.position.clone();
|
||||||
},
|
},
|
||||||
|
@ -1927,7 +1927,7 @@ var Body = new Class({
|
||||||
* bodies, something that isn't possible if you're just changing its position directly.
|
* bodies, something that isn't possible if you're just changing its position directly.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Body#setDirectControl
|
* @method Phaser.Physics.Arcade.Body#setDirectControl
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {boolean} [value=true] - `true` if the Body calculate velocity based on changes in position, otherwise `false`.
|
* @param {boolean} [value=true] - `true` if the Body calculate velocity based on changes in position, otherwise `false`.
|
||||||
*
|
*
|
||||||
|
@ -2133,7 +2133,7 @@ var Body = new Class({
|
||||||
* can combine this with the `setDrag()` method to create deceleration.
|
* can combine this with the `setDrag()` method to create deceleration.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Body#setSlideFactor
|
* @method Phaser.Physics.Arcade.Body#setSlideFactor
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} x - The horizontal slide factor. A value between 0 and 1.
|
* @param {number} x - The horizontal slide factor. A value between 0 and 1.
|
||||||
* @param {number} [y=x] - The vertical slide factor. A value between 0 and 1.
|
* @param {number} [y=x] - The vertical slide factor. A value between 0 and 1.
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* categories will collide with each other or not.
|
* categories will collide with each other or not.
|
||||||
*
|
*
|
||||||
* @function Phaser.Physics.Arcade.GetCollidesWith
|
* @function Phaser.Physics.Arcade.GetCollidesWith
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {(number|number[])} categories - A unique category bitfield, or an array of them.
|
* @param {(number|number[])} categories - A unique category bitfield, or an array of them.
|
||||||
*
|
*
|
||||||
|
|
|
@ -138,7 +138,7 @@ var PhysicsGroup = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.Group#collisionCategory
|
* @name Phaser.Physics.Arcade.Group#collisionCategory
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionCategory = 0x0001;
|
this.collisionCategory = 0x0001;
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ var PhysicsGroup = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.Group#collisionMask
|
* @name Phaser.Physics.Arcade.Group#collisionMask
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionMask = 1;
|
this.collisionMask = 1;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
* Mostly only used internally.
|
* Mostly only used internally.
|
||||||
*
|
*
|
||||||
* @function Phaser.Physics.Arcade.SetCollisionObject
|
* @function Phaser.Physics.Arcade.SetCollisionObject
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {boolean} noneFlip - Is `none` true or false?
|
* @param {boolean} noneFlip - Is `none` true or false?
|
||||||
* @param {Phaser.Types.Physics.Arcade.ArcadeBodyCollision} [data] - The collision data object to populate, or create if not given.
|
* @param {Phaser.Types.Physics.Arcade.ArcadeBodyCollision} [data] - The collision data object to populate, or create if not given.
|
||||||
|
|
|
@ -465,7 +465,7 @@ var StaticBody = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.StaticBody#collisionCategory
|
* @name Phaser.Physics.Arcade.StaticBody#collisionCategory
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionCategory = 0x0001;
|
this.collisionCategory = 0x0001;
|
||||||
|
|
||||||
|
@ -476,7 +476,7 @@ var StaticBody = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.StaticBody#collisionMask
|
* @name Phaser.Physics.Arcade.StaticBody#collisionMask
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionMask = 1;
|
this.collisionMask = 1;
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,7 @@ var StaticPhysicsGroup = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.StaticGroup#collisionCategory
|
* @name Phaser.Physics.Arcade.StaticGroup#collisionCategory
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionCategory = 0x0001;
|
this.collisionCategory = 0x0001;
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ var StaticPhysicsGroup = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Physics.Arcade.StaticGroup#collisionMask
|
* @name Phaser.Physics.Arcade.StaticGroup#collisionMask
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionMask = 1;
|
this.collisionMask = 1;
|
||||||
|
|
||||||
|
|
|
@ -1065,7 +1065,7 @@ var World = new Class({
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.World#singleStep
|
* @method Phaser.Physics.Arcade.World#singleStep
|
||||||
* @fires Phaser.Physics.Arcade.Events#WORLD_STEP
|
* @fires Phaser.Physics.Arcade.Events#WORLD_STEP
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
singleStep: function ()
|
singleStep: function ()
|
||||||
{
|
{
|
||||||
|
@ -1996,7 +1996,7 @@ var World = new Class({
|
||||||
* based on their collision mask and collision categories.
|
* based on their collision mask and collision categories.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.World#canCollide
|
* @method Phaser.Physics.Arcade.World#canCollide
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {Phaser.Types.Physics.Arcade.ArcadeCollider} body1 - The first body to check.
|
* @param {Phaser.Types.Physics.Arcade.ArcadeCollider} body1 - The first body to check.
|
||||||
* @param {Phaser.Types.Physics.Arcade.ArcadeCollider} body2 - The second body to check.
|
* @param {Phaser.Types.Physics.Arcade.ArcadeCollider} body2 - The second body to check.
|
||||||
|
|
|
@ -10,7 +10,7 @@ var GetCollidesWith = require('../GetCollidesWith');
|
||||||
* Provides methods used for setting the collision category and mask of an Arcade Physics Body.
|
* Provides methods used for setting the collision category and mask of an Arcade Physics Body.
|
||||||
*
|
*
|
||||||
* @namespace Phaser.Physics.Arcade.Components.Collision
|
* @namespace Phaser.Physics.Arcade.Components.Collision
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
var Collision = {
|
var Collision = {
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ var Collision = {
|
||||||
* the `resetCollisionCategory` method.
|
* the `resetCollisionCategory` method.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Components.Collision#setCollisionCategory
|
* @method Phaser.Physics.Arcade.Components.Collision#setCollisionCategory
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} category - The collision category.
|
* @param {number} category - The collision category.
|
||||||
*
|
*
|
||||||
|
@ -44,7 +44,7 @@ var Collision = {
|
||||||
* this Arcade Physics object or not.
|
* this Arcade Physics object or not.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Components.Collision#willCollideWith
|
* @method Phaser.Physics.Arcade.Components.Collision#willCollideWith
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} category - Collision category value to test.
|
* @param {number} category - Collision category value to test.
|
||||||
*
|
*
|
||||||
|
@ -62,7 +62,7 @@ var Collision = {
|
||||||
* Arcade Physics Body will collide with.
|
* Arcade Physics Body will collide with.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Components.Collision#addCollidesWith
|
* @method Phaser.Physics.Arcade.Components.Collision#addCollidesWith
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} category - The collision category to add.
|
* @param {number} category - The collision category to add.
|
||||||
*
|
*
|
||||||
|
@ -82,7 +82,7 @@ var Collision = {
|
||||||
* Arcade Physics Body will collide with.
|
* Arcade Physics Body will collide with.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Components.Collision#removeCollidesWith
|
* @method Phaser.Physics.Arcade.Components.Collision#removeCollidesWith
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} category - The collision category to add.
|
* @param {number} category - The collision category to add.
|
||||||
*
|
*
|
||||||
|
@ -112,7 +112,7 @@ var Collision = {
|
||||||
* the `resetCollisionCategory` method.
|
* the `resetCollisionCategory` method.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Components.Collision#setCollidesWith
|
* @method Phaser.Physics.Arcade.Components.Collision#setCollidesWith
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {(number|number[])} categories - The collision category to collide with, or an array of them.
|
* @param {(number|number[])} categories - The collision category to collide with, or an array of them.
|
||||||
*
|
*
|
||||||
|
@ -132,7 +132,7 @@ var Collision = {
|
||||||
* which is to collide with everything.
|
* which is to collide with everything.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Components.Collision#resetCollisionCategory
|
* @method Phaser.Physics.Arcade.Components.Collision#resetCollisionCategory
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @return {this} This Game Object.
|
* @return {this} This Game Object.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -21,7 +21,7 @@ var Enable = {
|
||||||
* bodies, something that isn't possible if you're just changing its position directly.
|
* bodies, something that isn't possible if you're just changing its position directly.
|
||||||
*
|
*
|
||||||
* @method Phaser.Physics.Arcade.Components.Enable#setDirectControl
|
* @method Phaser.Physics.Arcade.Components.Enable#setDirectControl
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {boolean} [value=true] - `true` if the Body calculate velocity based on changes in position, otherwise `false`.
|
* @param {boolean} [value=true] - `true` if the Body calculate velocity based on changes in position, otherwise `false`.
|
||||||
*
|
*
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
* An Arcade Physics Collider Type.
|
* An Arcade Physics Collider Type.
|
||||||
*
|
*
|
||||||
* @typedef {(Phaser.Physics.Arcade.Sprite|Phaser.Physics.Arcade.Image|Phaser.Physics.Arcade.StaticGroup|Phaser.Physics.Arcade.Group|Phaser.Tilemaps.TilemapLayer)} Phaser.Types.Physics.Arcade.ArcadeCollider
|
* @typedef {(Phaser.Physics.Arcade.Sprite|Phaser.Physics.Arcade.Image|Phaser.Physics.Arcade.StaticGroup|Phaser.Physics.Arcade.Group|Phaser.Tilemaps.TilemapLayer)} Phaser.Types.Physics.Arcade.ArcadeCollider
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -256,7 +256,7 @@ var RenderTarget = new Class({
|
||||||
* width and height values.
|
* width and height values.
|
||||||
*
|
*
|
||||||
* @method Phaser.Renderer.WebGL.RenderTarget#willResize
|
* @method Phaser.Renderer.WebGL.RenderTarget#willResize
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} width - The new width of this Render Target.
|
* @param {number} width - The new width of this Render Target.
|
||||||
* @param {number} height - The new height of this Render Target.
|
* @param {number} height - The new height of this Render Target.
|
||||||
|
|
|
@ -239,7 +239,7 @@ var PostFXPipeline = new Class({
|
||||||
* actual Game Object needs to use them.
|
* actual Game Object needs to use them.
|
||||||
*
|
*
|
||||||
* @method Phaser.Renderer.WebGL.Pipelines.PostFXPipeline#bootFX
|
* @method Phaser.Renderer.WebGL.Pipelines.PostFXPipeline#bootFX
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
bootFX: function ()
|
bootFX: function ()
|
||||||
{
|
{
|
||||||
|
@ -277,7 +277,7 @@ var PostFXPipeline = new Class({
|
||||||
* It is also called as part of the `PipelineManager.postBatch` method when processing Post FX Pipelines.
|
* It is also called as part of the `PipelineManager.postBatch` method when processing Post FX Pipelines.
|
||||||
*
|
*
|
||||||
* @method Phaser.Renderer.WebGL.Pipelines.PostFXPipeline#postBatch
|
* @method Phaser.Renderer.WebGL.Pipelines.PostFXPipeline#postBatch
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {(Phaser.GameObjects.GameObject|Phaser.Cameras.Scene2D.Camera)} [gameObject] - The Game Object or Camera that invoked this pipeline, if any.
|
* @param {(Phaser.GameObjects.GameObject|Phaser.Cameras.Scene2D.Camera)} [gameObject] - The Game Object or Camera that invoked this pipeline, if any.
|
||||||
*
|
*
|
||||||
|
|
|
@ -75,7 +75,7 @@ var Map = new Class({
|
||||||
* If the element already exists, the value will be skipped.
|
* If the element already exists, the value will be skipped.
|
||||||
*
|
*
|
||||||
* @method Phaser.Structs.Map#setAll
|
* @method Phaser.Structs.Map#setAll
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @generic K
|
* @generic K
|
||||||
* @generic V
|
* @generic V
|
||||||
|
|
|
@ -318,7 +318,7 @@ var DynamicTexture = new Class({
|
||||||
* or if you change its size.
|
* or if you change its size.
|
||||||
*
|
*
|
||||||
* @method Phaser.Textures.DynamicTexture#setFromRenderTarget
|
* @method Phaser.Textures.DynamicTexture#setFromRenderTarget
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @return {this} This Dynamic Texture instance.
|
* @return {this} This Dynamic Texture instance.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -467,7 +467,7 @@ var Frame = new Class({
|
||||||
* This is set automatically by the JSONArray and JSONHash parsers.
|
* This is set automatically by the JSONArray and JSONHash parsers.
|
||||||
*
|
*
|
||||||
* @method Phaser.Textures.Frame#setScale9
|
* @method Phaser.Textures.Frame#setScale9
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} x - The left coordinate of the center scale9 rectangle.
|
* @param {number} x - The left coordinate of the center scale9 rectangle.
|
||||||
* @param {number} y - The top coordinate of the center scale9 rectangle.
|
* @param {number} y - The top coordinate of the center scale9 rectangle.
|
||||||
|
@ -875,7 +875,7 @@ var Frame = new Class({
|
||||||
* @name Phaser.Textures.Frame#scale9
|
* @name Phaser.Textures.Frame#scale9
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @readonly
|
* @readonly
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
scale9: {
|
scale9: {
|
||||||
|
|
||||||
|
@ -892,7 +892,7 @@ var Frame = new Class({
|
||||||
* @name Phaser.Textures.Frame#is3Slice
|
* @name Phaser.Textures.Frame#is3Slice
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @readonly
|
* @readonly
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
is3Slice: {
|
is3Slice: {
|
||||||
|
|
||||||
|
|
|
@ -311,7 +311,7 @@ var Tile = new Class({
|
||||||
* @name Phaser.Tilemaps.Tile#tintFill
|
* @name Phaser.Tilemaps.Tile#tintFill
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @default
|
* @default
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.tintFill = false;
|
this.tintFill = false;
|
||||||
|
|
||||||
|
|
|
@ -270,7 +270,7 @@ var TilemapLayer = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Tilemaps.TilemapLayer#collisionCategory
|
* @name Phaser.Tilemaps.TilemapLayer#collisionCategory
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionCategory = 0x0001;
|
this.collisionCategory = 0x0001;
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@ var TilemapLayer = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Tilemaps.TilemapLayer#collisionMask
|
* @name Phaser.Tilemaps.TilemapLayer#collisionMask
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.collisionMask = 1;
|
this.collisionMask = 1;
|
||||||
|
|
||||||
|
@ -702,7 +702,7 @@ var TilemapLayer = new Class({
|
||||||
*
|
*
|
||||||
* @method Phaser.Tilemaps.TilemapLayer#setTintFill
|
* @method Phaser.Tilemaps.TilemapLayer#setTintFill
|
||||||
* @webglOnly
|
* @webglOnly
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {number} [tint=0xffffff] - The tint color being applied to each tile within the region. Given as a hex value, i.e. `0xff0000` for red. Set to white (`0xffffff`) to reset the tint.
|
* @param {number} [tint=0xffffff] - The tint color being applied to each tile within the region. Given as a hex value, i.e. `0xff0000` for red. Set to white (`0xffffff`) to reset the tint.
|
||||||
* @param {number} [tileX] - The left most tile index (in tile coordinates) to use as the origin of the area to search.
|
* @param {number} [tileX] - The left most tile index (in tile coordinates) to use as the origin of the area to search.
|
||||||
|
|
|
@ -45,7 +45,7 @@ var LayerData = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Tilemaps.LayerData#id
|
* @name Phaser.Tilemaps.LayerData#id
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.id = GetFastValue(config, 'id', 0);
|
this.id = GetFastValue(config, 'id', 0);
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ var ObjectLayer = new Class({
|
||||||
*
|
*
|
||||||
* @name Phaser.Tilemaps.ObjectLayer#id
|
* @name Phaser.Tilemaps.ObjectLayer#id
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*/
|
*/
|
||||||
this.id = GetFastValue(config, 'id', 0);
|
this.id = GetFastValue(config, 'id', 0);
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
*
|
*
|
||||||
* @event Phaser.Time.Events#COMPLETE
|
* @event Phaser.Time.Events#COMPLETE
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @since 3.61.0
|
* @since 3.70.0
|
||||||
*
|
*
|
||||||
* @param {Phaser.Time.Timeline} timeline - A reference to the Timeline that emitted the event.
|
* @param {Phaser.Time.Timeline} timeline - A reference to the Timeline that emitted the event.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue